org.apache.whirr.service.hbase
Class BasicServerClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandler
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.hbase.HBaseClusterActionHandler
org.apache.whirr.service.hbase.BasicServerClusterActionHandler
- Direct Known Subclasses:
- HBaseAvroServerClusterActionHandler, HBaseRestServerClusterActionHandler, HBaseThriftServerClusterActionHandler
public class BasicServerClusterActionHandler
- extends HBaseClusterActionHandler
Provides a base class for servers like REST or Avro.
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterConfigure, afterDestroy, afterOtherAction, beforeAction, beforeDestroy, beforeOtherAction, getConfiguration, getConfiguration, prepareRemoteFileUrl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicServerClusterActionHandler
public BasicServerClusterActionHandler(String role,
int port,
String configKeyPort)
getRole
public String getRole()
- Specified by:
getRole
in class ClusterActionHandler
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
beforeConfigure
protected void beforeConfigure(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeConfigure
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.