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) |
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, setParentclearProperties, getKeys, getProperty, removeProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getId, getKeys, getProperty, removeProperty, setPropertypublic void processExecutionPhase(ExecutionContext event)
processExecutionPhase in interface ExecutionPhaseListenerpublic void setCurrentInterElementPauseDuration(long duration)
setCurrentInterElementPauseDuration in interface ExecutionPauseHandlerpublic long getCurrentInterElementPauseDuration()
ExecutionPauseHandlergetCurrentInterElementPauseDuration in interface ExecutionPauseHandlerpublic void setDefaultInterElementPauseDuration(long duration)
setDefaultInterElementPauseDuration in interface ExecutionPauseHandlerpublic long getDefaultInterElementPauseDuration()
ExecutionPauseHandlergetDefaultInterElementPauseDuration in interface ExecutionPauseHandlerpublic void resetPauseDuration()
Copyright © 2013. All Rights Reserved.