public class DefaultExecutionPauseHandler extends NodeImpl implements ExecutionPhaseListener, ExecutionPauseHandler
Constructor and Description |
---|
DefaultExecutionPauseHandler() |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentInterElementPauseDuration()
Get the duration of the pause after the current element execution.
|
long |
getDefaultInterElementPauseDuration()
Get the default pause duration between two element executions.
|
void |
processExecutionPhase(ExecutionContext event)
Called by the Executor to signal an element execution context
|
void |
resetPauseDuration()
Resets the pause duration.
|
void |
setCurrentInterElementPauseDuration(long duration)
Overwrite the duration for which the module is paused before execution the next element.
|
void |
setDefaultInterElementPauseDuration(long duration)
Set the default duration for which the execution is paused in between two elements.
|
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setBeanName, setId, setLocalId, setParent
clearProperties, getKeys, getProperty, removeProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty
public void processExecutionPhase(ExecutionContext event)
ExecutionPhaseListener
processExecutionPhase
in interface ExecutionPhaseListener
public void setCurrentInterElementPauseDuration(long duration)
setCurrentInterElementPauseDuration
in interface ExecutionPauseHandler
public long getCurrentInterElementPauseDuration()
ExecutionPauseHandler
getCurrentInterElementPauseDuration
in interface ExecutionPauseHandler
public void setDefaultInterElementPauseDuration(long duration)
setDefaultInterElementPauseDuration
in interface ExecutionPauseHandler
public long getDefaultInterElementPauseDuration()
ExecutionPauseHandler
getDefaultInterElementPauseDuration
in interface ExecutionPauseHandler
public void resetPauseDuration()
Copyright © 2013. All Rights Reserved.