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, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, 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
getInstallFunction
protected String getInstallFunction(org.apache.commons.configuration.Configuration config)
getConfigureFunction
protected String getConfigureFunction(org.apache.commons.configuration.Configuration config)
getStartFunction
protected String getStartFunction(org.apache.commons.configuration.Configuration config)
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.