StateRevision

Identifies one observation in the ordered history of a state source.

Revisions are non-negative and compare in ascending numeric order. They are meaningful only within one source instance and are never inferred from a snapshot value. A source advances the revision for every newer observation. Once Long.MAX_VALUE is published, that source cannot publish a later snapshot and must fail without mutating or notifying.

Throws

Constructors

Link copied to clipboard
constructor(value: Long)

Properties

Link copied to clipboard
val value: Long

the non-negative revision number.

Functions

Link copied to clipboard
open operator override fun compareTo(other: StateRevision): Int

Compares this revision with other in ascending numeric order.