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

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

public class EvictWaitCommandsFullyExecutor
extends EvictWaitCommandsExecutor
implements IExecutable

Author:
Oliver Plohmann

Field Summary
protected  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
EvictWaitCommandsFullyExecutor()
          Creates a new EvictWaitCommandsFullyExecutor object.
EvictWaitCommandsFullyExecutor(java.lang.String token, java.util.List fullEvictionAssignments)
          Creates a new EvictWaitCommandsFullyExecutor object.
 
Method Summary
protected  void evictCommands()
           
 void execute(java.lang.Object object)
           
 IAgentProxy getEvictionAgent()
           
protected  void prepareEnvelopeBeforeSending(CommandEnvelope env)
           
protected  void setEvictionAgent()
           
 
Methods inherited from class org.almendra.janet.ade.executor.executors.EvictWaitCommandsExecutor
evict1CommandFromCapability, sendToEvictionAgent, 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

protected java.util.List fullEvictionAssignments
Constructor Detail

EvictWaitCommandsFullyExecutor

public EvictWaitCommandsFullyExecutor()
Creates a new EvictWaitCommandsFullyExecutor object.


EvictWaitCommandsFullyExecutor

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

Method Detail

execute

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

evictCommands

protected void evictCommands()

prepareEnvelopeBeforeSending

protected void prepareEnvelopeBeforeSending(CommandEnvelope env)
Overrides:
prepareEnvelopeBeforeSending in class EvictWaitCommandsExecutor
Parameters:
env -

getEvictionAgent

public IAgentProxy getEvictionAgent()
Overrides:
getEvictionAgent in class EvictCommandsExecutor

setEvictionAgent

protected void setEvictionAgent()
Overrides:
setEvictionAgent in class EvictWaitCommandsExecutor