org.apache.whirr.service.hbase
Class BasicServerClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.hbase.HBaseClusterActionHandler
org.apache.whirr.service.hbase.BasicServerClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
- 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, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString |
BasicServerClusterActionHandler
public BasicServerClusterActionHandler(String role,
int port,
String configKeyPort)
getRole
public String getRole()
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-2012 The Apache Software Foundation. All Rights Reserved.