org.apache.whirr.service.zookeeper
Class ZooKeeperClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandler
      extended by org.apache.whirr.service.ClusterActionHandlerSupport
          extended by org.apache.whirr.service.zookeeper.ZooKeeperClusterActionHandler

public class ZooKeeperClusterActionHandler
extends ClusterActionHandlerSupport


Field Summary
static String ZOOKEEPER_ROLE
           
 
Fields inherited from class org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION
 
Constructor Summary
ZooKeeperClusterActionHandler()
           
 
Method Summary
protected  void afterConfigure(ClusterActionEvent event)
           
protected  void beforeBootstrap(ClusterActionEvent event)
           
protected  void beforeConfigure(ClusterActionEvent event)
           
 String getRole()
           
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport
addRunUrl, afterAction, afterBootstrap, afterDestroy, afterOtherAction, beforeAction, beforeDestroy, beforeOtherAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZOOKEEPER_ROLE

public static final String ZOOKEEPER_ROLE
See Also:
Constant Field Values
Constructor Detail

ZooKeeperClusterActionHandler

public ZooKeeperClusterActionHandler()
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

afterConfigure

protected void afterConfigure(ClusterActionEvent event)
Overrides:
afterConfigure in class ClusterActionHandlerSupport


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.