org.apache.whirr.cluster.actions
Class BootstrapClusterAction

java.lang.Object
  extended by org.apache.whirr.service.ClusterAction
      extended by org.apache.whirr.cluster.actions.ScriptBasedClusterAction
          extended by org.apache.whirr.cluster.actions.BootstrapClusterAction

public class BootstrapClusterAction
extends ScriptBasedClusterAction

A ClusterAction that starts instances in a cluster in parallel and runs bootstrap scripts on them.


Constructor Summary
BootstrapClusterAction(org.jclouds.compute.ComputeServiceContextFactory computeServiceContextFactory, Map<String,ClusterActionHandler> handlerMap)
           
 
Method Summary
protected  void doAction(Map<ClusterSpec.InstanceTemplate,ClusterActionEvent> eventMap)
           
protected  String getAction()
           
 
Methods inherited from class org.apache.whirr.cluster.actions.ScriptBasedClusterAction
execute
 
Methods inherited from class org.apache.whirr.service.ClusterAction
getComputeServiceContextFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapClusterAction

public BootstrapClusterAction(org.jclouds.compute.ComputeServiceContextFactory computeServiceContextFactory,
                              Map<String,ClusterActionHandler> handlerMap)
Method Detail

getAction

protected String getAction()
Specified by:
getAction in class ClusterAction

doAction

protected void doAction(Map<ClusterSpec.InstanceTemplate,ClusterActionEvent> eventMap)
                 throws IOException,
                        InterruptedException
Specified by:
doAction in class ScriptBasedClusterAction
Throws:
IOException
InterruptedException


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.