SegmentObservation

One segment's worth of observation.

Exactly one of complete and abandon is called, once, and nothing is called after it.

Functions

Link copied to clipboard
abstract fun abandon()

The segment was abandoned and no version will ever name it.

Link copied to clipboard
abstract fun complete(summary: SegmentSummary)

The segment is written and forced. The manifest is about to name it.

Link copied to clipboard
abstract fun observe(userKey: Key, sequence: Long, document: Variant?)

The newest version of one user key in this segment.