org.apache.whirr.service.ganglia
Class GangliaMetadClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandlerSupport
      extended by org.apache.whirr.service.ganglia.GangliaMetadClusterActionHandler
All Implemented Interfaces:
ClusterActionHandler

public class GangliaMetadClusterActionHandler
extends ClusterActionHandlerSupport


Field Summary
static int GANGLIA_META_PORT
           
static String GANGLIA_METAD_ROLE
           
static int HTTP_PORT
           
 
Fields inherited from interface org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION
 
Constructor Summary
GangliaMetadClusterActionHandler()
           
 
Method Summary
protected  void afterConfigure(ClusterActionEvent event)
           
protected  void beforeBootstrap(ClusterActionEvent event)
           
protected  void beforeConfigure(ClusterActionEvent event)
           
protected  org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec spec)
           
protected  String getConfigureFunction(org.apache.commons.configuration.Configuration config)
           
protected  String getInstallFunction(org.apache.commons.configuration.Configuration config)
           
 String getRole()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GANGLIA_METAD_ROLE

public static final String GANGLIA_METAD_ROLE
See Also:
Constant Field Values

GANGLIA_META_PORT

public static final int GANGLIA_META_PORT
See Also:
Constant Field Values

HTTP_PORT

public static final int HTTP_PORT
See Also:
Constant Field Values
Constructor Detail

GangliaMetadClusterActionHandler

public GangliaMetadClusterActionHandler()
Method Detail

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.