public abstract class AbstractResetableProcess extends AbstractProcess
| Constructor and Description |
|---|
AbstractResetableProcess() |
AbstractResetableProcess(long waitTime) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
execute() |
protected void |
finishExecution(UUID id) |
int |
getExecutionCount() |
String |
getStatus() |
long |
getWaitTime() |
void |
hardReset()
The hard reset causes the scheduler loop to restart ignoring all current
executing requests.
|
void |
pause()
The pause causes the scheduler to sleep until a soft or hard reset is
initiated.
|
protected void |
postRun() |
protected void |
preRun() |
protected void |
reset() |
void |
run() |
protected void |
setStatus(String status) |
void |
setWaitTime(long waitTime) |
void |
softReset()
The soft reset causes the scheduler loop to restart after all current
executing requests have completed.
|
protected UUID |
startExecution() |
protected void |
waitOnExecutions() |
getBeanName, getProcessNetwork, setBeanName, setProcessNetwork, stop, toStringpublic AbstractResetableProcess()
public AbstractResetableProcess(long waitTime)
protected abstract boolean execute()
protected void finishExecution(UUID id)
@ManagedAttribute public int getExecutionCount()
@ManagedAttribute public String getStatus()
public long getWaitTime()
@ManagedOperation public void hardReset()
@ManagedOperation public void pause()
protected void postRun()
protected void preRun()
protected void reset()
public void run()
protected void setStatus(String status)
public void setWaitTime(long waitTime)
@ManagedOperation public void softReset()
protected UUID startExecution()
protected void waitOnExecutions()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.