org.apache.whirr.actions
Class DestroyClusterAction
java.lang.Object
org.apache.whirr.ClusterAction
org.apache.whirr.actions.DestroyClusterAction
public class DestroyClusterAction
- extends ClusterAction
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)
getAction
protected String getAction()
- Specified by:
getAction
in class ClusterAction
execute
public Cluster execute(ClusterSpec clusterSpec,
Cluster cluster)
throws IOException,
InterruptedException
- Specified by:
execute
in class ClusterAction
- Throws:
IOException
InterruptedException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.