public abstract class ClusterAction extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute) |
| Modifier and Type | Method and Description |
|---|---|
abstract Cluster |
execute(ClusterSpec clusterSpec,
Cluster cluster) |
protected abstract String |
getAction() |
com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> |
getCompute() |
protected ClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute)
public com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute()
protected abstract String getAction()
public abstract Cluster execute(ClusterSpec clusterSpec, Cluster cluster) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2010–2016 Cloudera. All rights reserved.