org.apache.whirr.service.hbase
Class BasicServerClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandler
      extended by org.apache.whirr.service.ClusterActionHandlerSupport
          extended by org.apache.whirr.service.hbase.HBaseClusterActionHandler
              extended by 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.


Field Summary
 
Fields inherited from class org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION
 
Constructor Summary
BasicServerClusterActionHandler(String role, int port, String configKeyPort)
           
 
Method Summary
protected  void beforeBootstrap(ClusterActionEvent event)
           
protected  void beforeConfigure(ClusterActionEvent event)
           
 String getRole()
           
 
Methods inherited from class org.apache.whirr.service.hbase.HBaseClusterActionHandler
getConfiguration
 
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
 

Constructor Detail

BasicServerClusterActionHandler

public BasicServerClusterActionHandler(String role,
                                       int port,
                                       String configKeyPort)
Method Detail

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.