FunctionTaskExecutor
Runs a FunctionTask by calling its function each time it is resumed.
- Inheritance
-
- Object
- AbstractExecutor<
FunctionTask> - AggregateExecutor<
FunctionTask> - TaskExecutor<
FunctionTask> - FunctionTaskExecutor
Constructors
FunctionTaskExecutor
Properties
probes
The probes in this task executor. Empty for tasks without measures.
Methods
onInitialize
Called by initialize. Returns true if successfully initialized.
If false, the executor stays in ExecutorState.Created. This is a synchronous method and must be light-weight.
onResume
Called by resume. Returns true if successfully resumed.
If false, the executor moves to ExecutorState.PausedButShouldBeResumed.