EventJournal class
Append-only JSONL audit journal. One line per mutation; the hive boxes hold current state, this file holds the history and doubles as a human-readable recovery log.
Writes are best-effort: hive is the source of truth, so a journal failure (disk full, permissions) must never fail an operation whose data write already succeeded — that would make the caller retry and duplicate the ticket. Failures are reported through onWarn instead.
Constructors
- EventJournal(File file, {void onWarn(String warning)?})
Properties
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited