org.apache.whirr.actions
Class StopServicesAction

java.lang.Object
  extended by org.apache.whirr.ClusterAction
      extended by org.apache.whirr.actions.ScriptBasedClusterAction
          extended by org.apache.whirr.actions.StopServicesAction

public class StopServicesAction
extends ScriptBasedClusterAction

A ClusterAction for stopping the cluster services


Constructor Summary
StopServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
StopServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
 
Method Summary
protected  String getAction()
           
 
Methods inherited from class org.apache.whirr.actions.ScriptBasedClusterAction
doAction, eventSpecificActions, execute, instanceIsNotInTarget, postRunScriptsActions, roleIsInTarget, runScripts, runStatementOnInstanceInCluster, shouldIgnoreInstanceTemplate
 
Methods inherited from class org.apache.whirr.ClusterAction
getCompute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopServicesAction

public StopServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
                          com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)

StopServicesAction

public StopServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
                          com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap,
                          Set<String> targetRoles,
                          Set<String> targetInstanceIds)
Method Detail

getAction

protected String getAction()
Specified by:
getAction in class ClusterAction


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.