org.apache.whirr.service.zookeeper
Class ZooKeeperClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandler
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.zookeeper.ZooKeeperClusterActionHandler
public class ZooKeeperClusterActionHandler
- extends ClusterActionHandlerSupport
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, 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 |
ZOOKEEPER_ROLE
public static final String ZOOKEEPER_ROLE
- See Also:
- Constant Field Values
ZooKeeperClusterActionHandler
public ZooKeeperClusterActionHandler()
getRole
public String getRole()
- Specified by:
getRole
in class ClusterActionHandler
getConfiguration
protected org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec spec)
throws IOException
- Throws:
IOException
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.