org.apache.whirr.actions
Class BootstrapClusterAction
java.lang.Object
org.apache.whirr.ClusterAction
org.apache.whirr.actions.ScriptBasedClusterAction
org.apache.whirr.actions.BootstrapClusterAction
public class BootstrapClusterAction
- extends ScriptBasedClusterAction
A ClusterAction
that starts instances in a cluster in parallel and
runs bootstrap scripts on them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BootstrapClusterAction
public BootstrapClusterAction(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
doAction
protected void doAction(Map<InstanceTemplate,ClusterActionEvent> eventMap)
throws IOException,
InterruptedException
- Overrides:
doAction
in class ScriptBasedClusterAction
- Throws:
IOException
InterruptedException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.