org.almendra.janet.ade.executor.executors
Class EvictExecuteCommandsExecutor

java.lang.Object
  extended by org.almendra.janet.ade.executor.executors.EvictCommandsExecutor
      extended by org.almendra.janet.ade.executor.executors.EvictExecuteCommandsExecutor
All Implemented Interfaces:
IExecutable
Direct Known Subclasses:
EvictExecuteCommandsFullyExecutor

public class EvictExecuteCommandsExecutor
extends EvictCommandsExecutor
implements IExecutable


Field Summary
 
Fields inherited from class org.almendra.janet.ade.executor.executors.EvictCommandsExecutor
anchor, capabilityPath, evictedCommandsCount, evictionAgent, evictionAgentPath, isInterrupted, systemApplication, token
 
Constructor Summary
EvictExecuteCommandsExecutor()
          Creates a new EvictExecuteCommandsExecutor object.
EvictExecuteCommandsExecutor(java.lang.String token)
          Creates a new EvictExecuteCommandsExecutor object.
EvictExecuteCommandsExecutor(SystemApplication systemApplication, AgentPath evictionAgent, java.lang.String capabilityPath, java.lang.String token)
           
 
Method Summary
protected  boolean evict1CommandFromCapability()
           
 void execute(java.lang.Object object)
           
protected  ISuspensionHandler getSuspensionHandler(CommandEnvelope env)
           
protected  void setSuspended(CommandEnvelope env)
           
 
Methods inherited from class org.almendra.janet.ade.executor.executors.EvictCommandsExecutor
checkIsInterrupted, getEvictedCommandsCount, getEvictionAgent, getLogger, getNextCommand, getNode, incrementEvictionCommandsCount, isInterrupted, setInterrupted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvictExecuteCommandsExecutor

public EvictExecuteCommandsExecutor()
Creates a new EvictExecuteCommandsExecutor object.


EvictExecuteCommandsExecutor

public EvictExecuteCommandsExecutor(java.lang.String token)
Creates a new EvictExecuteCommandsExecutor object.


EvictExecuteCommandsExecutor

public EvictExecuteCommandsExecutor(SystemApplication systemApplication,
                                    AgentPath evictionAgent,
                                    java.lang.String capabilityPath,
                                    java.lang.String token)
Parameters:
systemApplication -
evictionAgentPath -
capabilityPath -
Method Detail

execute

public void execute(java.lang.Object object)
Specified by:
execute in interface IExecutable

evict1CommandFromCapability

protected boolean evict1CommandFromCapability()

getSuspensionHandler

protected ISuspensionHandler getSuspensionHandler(CommandEnvelope env)

setSuspended

protected void setSuspended(CommandEnvelope env)
Specified by:
setSuspended in class EvictCommandsExecutor
Parameters:
env -