TaggedStatePayloadSidecarModel<DataType extends Object> class
Software tagged-state model exposing payload and validity sidecar regions.
The cycle behavior delegates to TaggedStateTableModel, while snapshots use TaggedStatePayloadSidecarImage so payload and allocation state remain independently represented.
- Mixed-in types
Constructors
- TaggedStatePayloadSidecarModel({required int capacity, TaggedStateCollisionPolicy collisionPolicy = TaggedStateCollisionPolicy.writeWins})
- Creates an empty payload/sidecar tagged-state model.
Properties
- capabilities → StateTransactionCapabilities
-
Static software transaction behavior.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
image
→ TaggedStatePayloadSidecarImage<
DataType> -
Current payload and allocation-sidecar image.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateTransactions
→ StateTransactionEndpoint<
TaggedStatePayloadSidecarImage< DataType> > -
This model's software transaction endpoint.
no setterinherited
Methods
-
applyCycle(
{TaggedStateModelWrite< DataType> ? write, int? releaseTag}) → TaggedStateModelCycleResult - Applies one logical write/release cycle.
-
load(
covariant TaggedStatePayloadSidecarImage< DataType> image) → void -
Replaces state from a validated payload/sidecar image.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transact(
StateTransactionRequest< TaggedStatePayloadSidecarImage< request, {bool quiescent = false}) → StateTransactionCompletion<DataType> >TaggedStatePayloadSidecarImage< DataType> > -
Accepts a request and returns its completion.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited