FileOutboxStore class

Append-only filesystem OutboxStore.

Cursor records fold by max, rather than overwriting one mutable value, so a stale handle cannot regress a newer acknowledgement. Each record is flushed before returning; a malformed crash-truncated final record is ignored.

Implemented types

Constructors

FileOutboxStore(String path)

Properties

file File
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteThrough(Epoch epoch) → void
override
loadCursor() int
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(Epoch epoch, Uint8List frame) → void
override
saveCursor(Epoch epoch) → void
override
scanAfter(Epoch cursor) List<StoredOutboxFrame>
override
toString() String
A string representation of this object.
inherited

Operators

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