RecoveryScanner class
Scans for interrupted workflow executions and resumes or fails them.
On engine startup, the recovery scanner:
- Queries executions in RUNNING or SUSPENDED status
- Checks TTL expiry - marks expired ones as FAILED
- Restores pending timers and signals
- Resumes valid executions from their last completed step
Constructors
- RecoveryScanner({required CheckpointStore store, required DurableEngineImpl engine})
- Creates a RecoveryScanner.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scan(
{required Map< String, Future Function(WorkflowContext ctx)> workflowRegistry, void onRecoveryError(String executionId, Object error)?}) → Future<RecoveryScanResult> - Scans for and recovers interrupted executions.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited