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

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

public class EvictExecuteCommandsFullyExecutor
extends EvictExecuteCommandsExecutor

Author:
Oliver Plohmann

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

Field Detail

fullEvictionAssignments

java.util.List fullEvictionAssignments
Constructor Detail

EvictExecuteCommandsFullyExecutor

protected EvictExecuteCommandsFullyExecutor()
Creates a new EvictExecuteCommandsFullyExecutor object.


EvictExecuteCommandsFullyExecutor

public EvictExecuteCommandsFullyExecutor(java.lang.String token,
                                         java.util.List fullEvictionAssignments)
Creates a new EvictExecuteCommandsFullyExecutor object.

Method Detail

execute

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

getSuspensionHandler

protected ISuspensionHandler getSuspensionHandler(CommandEnvelope env)
Overrides:
getSuspensionHandler in class EvictExecuteCommandsExecutor

evictCommandsFully

protected void evictCommandsFully()

getEvictionAgent

public IAgentProxy getEvictionAgent()
Overrides:
getEvictionAgent in class EvictCommandsExecutor

setEvictionAgent

protected void setEvictionAgent()