ZfaWalRecordType enum

The discriminator for one line of a run's write-ahead log (ZFA-015).

A WAL is an append-only sequence of ZfaWalRecordType.intent records — the pre-execution journal of an intent about to run — and ZfaWalRecordType.committed records written once that intent's receipt is verified. An intent with no matching commit record is uncommitted and is what the supervisor replays (or surfaces as interrupted) on restart.

Inheritance
Available extensions

Values

intent → const ZfaWalRecordType

A pre-execution intent record.

const ZfaWalRecordType('intent')
committed → const ZfaWalRecordType

A commit record marking a prior intent as durably finished.

const ZfaWalRecordType('committed')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wire → String
The on-disk discriminator string.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromWire(Object? wire) → ZfaWalRecordType?
Parses a wire discriminator back into a type, or null when unknown.

Constants

values → const List<ZfaWalRecordType>
A constant List of the values in this enum, in order of their declaration.