org.apache.whirr.actions
Class DestroyClusterAction
java.lang.Object
org.apache.whirr.ClusterAction
org.apache.whirr.actions.ScriptBasedClusterAction
org.apache.whirr.actions.DestroyClusterAction
public class DestroyClusterAction
- extends ScriptBasedClusterAction
A ClusterAction
for tearing down a running cluster and freeing up all
its resources.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DestroyClusterAction
public DestroyClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
getAction
protected String getAction()
- Specified by:
getAction
in class ClusterAction
postRunScriptsActions
protected void postRunScriptsActions(Map<InstanceTemplate,ClusterActionEvent> eventMap)
throws IOException
- Overrides:
postRunScriptsActions
in class ScriptBasedClusterAction
- Throws:
IOException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.