org.apache.whirr.service.zookeeper
Class ZooKeeperClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.zookeeper.ZooKeeperClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
public class ZooKeeperClusterActionHandler
- extends ClusterActionHandlerSupport
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeDestroy, beforeOtherAction, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toString |
ZOOKEEPER_ROLE
public static final String ZOOKEEPER_ROLE
- See Also:
- Constant Field Values
ZooKeeperClusterActionHandler
public ZooKeeperClusterActionHandler()
getRole
public String getRole()
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
beforeStart
protected void beforeStart(ClusterActionEvent event)
throws IOException
- Overrides:
beforeStart
in class ClusterActionHandlerSupport
- Throws:
IOException
beforeStop
protected void beforeStop(ClusterActionEvent event)
throws IOException
- Overrides:
beforeStop
in class ClusterActionHandlerSupport
- Throws:
IOException
beforeCleanup
protected void beforeCleanup(ClusterActionEvent event)
throws IOException
- Overrides:
beforeCleanup
in class ClusterActionHandlerSupport
- 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)
getStopFunction
protected String getStopFunction(org.apache.commons.configuration.Configuration config)
getCleanupFunction
protected String getCleanupFunction(org.apache.commons.configuration.Configuration config)
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.