CompositeStateSnapshotParticipant class
Groups sidecar and payload participants under one logical boundary.
- Implemented types
Constructors
-
CompositeStateSnapshotParticipant({required String path, required String schemaKind, required int schemaVersion, required Iterable<
StateSnapshotParticipant> children, String configurationIdentity = '', List<String> dependencies = const []}) - Creates a composite participant from non-empty child regions.
-
CompositeStateSnapshotParticipant.payloadWithSidecars({required String path, required String schemaKind, required int schemaVersion, required StateSnapshotParticipant payload, required Iterable<
StateSnapshotParticipant> sidecars, String configurationIdentity = '', List<String> dependencies = const []}) -
Creates a composite with one payload region and one or more sidecars.
factory
Properties
- capabilities → StateTransactionCapabilities
-
Capability advertised by the participant endpoint.
no setteroverride
-
children
→ List<
StateSnapshotParticipant> -
Child regions captured as one logical participant.
final
- configurationIdentity → String
-
Stable identity for logical geometry and configuration.
final
-
dependencies
→ List<
String> -
Logical paths that must be processed before this participant.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
Stable logical path of the participant.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaKind → String
-
Stable image schema identifier.
final
- schemaVersion → int
-
Version of the participant image schema.
final
Methods
-
abort(
int transactionId) → void -
Aborts the transaction and releases any temporary state.
override
-
commit(
int transactionId) → void -
Makes the transaction visible and releases the participant.
override
-
drain(
int transactionId) → void -
Drains accepted activity before state is accessed.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
quiesce(
int transactionId) → void -
Stops new activity for
transactionId.override -
restore(
{required int transactionId, required Object image, required bool quiescent}) → void -
Restores this participant from a validated image.
override
-
snapshot(
{required int transactionId, required bool quiescent}) → Object -
Captures this participant's image.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited