Skip to main content

Module output_log

Module output_log 

Source
Expand description

Bounded append-only output retention and independent reader cursors.

The actor/output pumps can use this small policy object without coupling retention to a particular transport. Consumers never remove records from the log; each OutputCursor owns its own position and receives an explicit CursorRead::Gap when retention has moved past it.

Structs§

OutputCursor
Independent position in an OutputLog.
OutputLog
A byte-bounded append-only output log.
OutputRecord
One sequenced output observation retained by an OutputLog.
SharedOutputCursor
Independent cursor over a SharedOutputLog.
SharedOutputLog
Thread-safe output-log handle suitable for sharing with actor consumers.

Enums§

CursorRead
Result of advancing an independent output cursor.