org.almendra.janet.ade.executor.interpreters
Class ExecuteWorkloadBalancingInterpreter

java.lang.Object
  extended by org.almendra.janet.ade.executor.interpreters.ExecutorInterpreter
      extended by org.almendra.janet.ade.executor.interpreters.ExecuteWorkloadBalancingInterpreter
All Implemented Interfaces:
IInterpreter

public class ExecuteWorkloadBalancingInterpreter
extends ExecutorInterpreter
implements IInterpreter


Field Summary
protected  IWorkLoadBalancingInterpreter interpreter
           
 
Fields inherited from class org.almendra.janet.ade.executor.interpreters.ExecutorInterpreter
anchor
 
Constructor Summary
ExecuteWorkloadBalancingInterpreter()
          Creates a new ExecuteWorkloadBalancingInterpreter object.
 
Method Summary
 StringVector commandNames()
           
 void execute(CommandAccessor cmdAccessor)
           
protected  IWorkLoadBalancingInterpreter getInterpreter(CommandAccessor cmdAccessor, IWorkLoadBalancingCommand cmd)
           
 Result resume()
           
 Result suspend()
           
 
Methods inherited from class org.almendra.janet.ade.executor.interpreters.ExecutorInterpreter
getExecutorAnchor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interpreter

protected IWorkLoadBalancingInterpreter interpreter
Constructor Detail

ExecuteWorkloadBalancingInterpreter

public ExecuteWorkloadBalancingInterpreter()
Creates a new ExecuteWorkloadBalancingInterpreter object.

Method Detail

execute

public void execute(CommandAccessor cmdAccessor)
Specified by:
execute in interface IInterpreter

commandNames

public StringVector commandNames()
Specified by:
commandNames in interface IInterpreter

getInterpreter

protected IWorkLoadBalancingInterpreter getInterpreter(CommandAccessor cmdAccessor,
                                                       IWorkLoadBalancingCommand cmd)
Parameters:
cmdAccessor -
workloadSharingCmd -
Returns:

suspend

public Result suspend()

resume

public Result resume()