ExecutionManager class abstract
Manages execution lifecycle for scheduled tasks.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
String executionId, {String? reason}) → Future< SchedulerExecution> - Cancel a queued or running execution.
-
dequeue(
) → Future< SchedulerExecution?> - Dequeue the next execution ready to run.
-
enqueue(
ExecutionRequest request) → Future< String> - Enqueue an execution request; returns the execution ID.
-
getExecution(
String executionId) → Future< SchedulerExecution?> - Get a single execution by ID.
-
listExecutions(
ExecutionFilter? filter) → Future< List< SchedulerExecution> > - List executions matching optional filter criteria.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
String executionId) → Future< SchedulerExecution> - Mark an execution as started.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited