org.apache.whirr.actions
Class CleanupClusterAction

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

public class CleanupClusterAction
extends ScriptBasedClusterAction

A ClusterAction for cleaning-up the cluster services


Constructor Summary
CleanupClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
CleanupClusterAction(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

CleanupClusterAction

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

CleanupClusterAction

public CleanupClusterAction(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-2013 The Apache Software Foundation. All Rights Reserved.