public interface ExecutionObserver
| Modifier and Type | Method and Description |
|---|---|
void |
executionStateChanged(ExecutionState newExecutionState,
String optionalMessage)
Called when the execution state of the associated task has changed.
|
boolean |
isCanceled()
Returns whether the task has been canceled.
|
void |
userThreadFinished(Thread userThread)
Called when a thread spawn by a user task has finished.
|
void |
userThreadStarted(Thread userThread)
Called when the user task has started a new thread.
|
void executionStateChanged(ExecutionState newExecutionState, String optionalMessage)
newExecutionState - the execution state the task has just switched tooptionalMessage - an optional message providing further information on the state changevoid userThreadStarted(Thread userThread)
userThread - the user thread which has been startedvoid userThreadFinished(Thread userThread)
userThread - the user thread which has finishedboolean isCanceled()
true if the task has been canceled, false otherwiseCopyright © 2014 The Apache Software Foundation. All rights reserved.