StateSnapshotCoordinator class
Coordinates quiescence, transfer, and commit for a snapshot registry.
Constructors
- StateSnapshotCoordinator(StateSnapshotRegistry registry)
-
Creates a coordinator for
registry.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- registry → StateSnapshotRegistry
-
Registry containing the logical participants.
final
- 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
-
restore(
StateSnapshot snapshot) → void -
Restores
snapshotacross all participants as one lifecycle transaction. -
snapshot(
) → StateSnapshot - Captures a snapshot across all participants as one lifecycle transaction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited