org.apache.whirr.actions
Class ByonClusterAction

java.lang.Object
  extended by org.apache.whirr.ClusterAction
      extended by org.apache.whirr.actions.ScriptBasedClusterAction
          extended by org.apache.whirr.actions.ByonClusterAction

public class ByonClusterAction
extends ScriptBasedClusterAction


Constructor Summary
ByonClusterAction(String action, com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
 
Method Summary
protected  void doAction(Map<InstanceTemplate,ClusterActionEvent> eventMap)
           
protected  String getAction()
           
 
Methods inherited from class org.apache.whirr.actions.ScriptBasedClusterAction
eventSpecificActions, execute, instanceIsNotInTarget, postRunScriptsActions, roleIsInTarget, runScripts, runStatementOnInstanceInCluster, shouldIgnoreInstanceTemplate
 
Methods inherited from class org.apache.whirr.ClusterAction
getCompute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByonClusterAction

public ByonClusterAction(String action,
                         com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
                         com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.