org.apache.whirr.actions
Class StartServicesAction

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

public class StartServicesAction
extends ScriptBasedClusterAction

A ClusterAction for starting the cluster services


Constructor Summary
StartServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
StartServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
 
Method Summary
protected  String getAction()
           
 
Methods inherited from class org.apache.whirr.actions.ScriptBasedClusterAction
doAction, 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

StartServicesAction

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

StartServicesAction

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

getAction

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


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