org.apache.whirr.service.ganglia
Class GangliaMonitorClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.ganglia.GangliaMonitorClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
public class GangliaMonitorClusterActionHandler
- extends ClusterActionHandlerSupport
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString |
GANGLIA_MONITOR_ROLE
public static final String GANGLIA_MONITOR_ROLE
- See Also:
- Constant Field Values
GANGLIA_MONITOR_PORT
public static final int GANGLIA_MONITOR_PORT
- See Also:
- Constant Field Values
GangliaMonitorClusterActionHandler
public GangliaMonitorClusterActionHandler()
getRole
public String getRole()
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)
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-2012 The Apache Software Foundation. All Rights Reserved.