public interface TaskLifecycleObserver
Modifier and Type | Method and Description |
---|---|
void |
abnormalOperationTermination(String taskIdentifier,
String reason)
Indicates that the task in question has terminated abnormally.
|
void |
isChangedPeriodicExecution(String taskIdentifier)
Indicates that the task in question has changed it execution profile.
|
void |
isComplete(String taskIdentifier)
Indicates that the task in question has finished processing.
|
void |
isExecuting(String taskIdentifier)
Indicates that the task in question has been scheduled for execution and
is currently executing.
|
void |
isInitializing(String taskIdentifier)
Indicates that the task is question is currently performing
initialization related operations.
|
void |
isReady(String taskIdentifier)
When a task is ready for execution, this method is invoked on its
registered observer.
|
void |
isWaitingForData(String taskIdentifier)
Indicates that the task in question is waiting for the arrival of data to
begin processing.
|
void isReady(String taskIdentifier)
taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.void isInitializing(String taskIdentifier)
taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.void isExecuting(String taskIdentifier)
taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.void isWaitingForData(String taskIdentifier)
taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.void isComplete(String taskIdentifier)
taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.void abnormalOperationTermination(String taskIdentifier, String reason)
Operation
.taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.reason
- A description of the cause of the error.void isChangedPeriodicExecution(String taskIdentifier)
taskIdentifier
- The identifier of the Task whose life cycle transition is
being reported on.Copyright © 2015. All rights reserved.