public class DestroyClusterAction extends ScriptBasedClusterAction
ClusterAction for tearing down a running cluster and freeing up all
its resources.| Constructor and Description |
|---|
DestroyClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAction() |
protected void |
postRunScriptsActions(Map<InstanceTemplate,ClusterActionEvent> eventMap) |
doAction, eventSpecificActions, execute, instanceIsNotInTarget, roleIsInTarget, runScripts, runStatementOnInstanceInCluster, shouldIgnoreInstanceTemplategetComputepublic DestroyClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
protected String getAction()
getAction in class ClusterActionprotected void postRunScriptsActions(Map<InstanceTemplate,ClusterActionEvent> eventMap) throws IOException
postRunScriptsActions in class ScriptBasedClusterActionIOExceptionCopyright © 2010–2016 Cloudera. All rights reserved.