package offset
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- final case class Offset(bytes: Bytes) extends Ordered[Offset] with Product with Serializable
Offsets into streams with hierarchical addressing.
Offsets into streams with hierarchical addressing.
We use these Offset's to address changes to the participant state. Offsets are opaque values that must be strictly increasing according to lexicographical ordering.
Ledger implementations are advised to future proof their design of offsets by reserving the first (few) bytes for a version indicator, followed by the specific offset scheme for that version. This way it is possible in the future to switch to a different versioning scheme, while making sure that previously created offsets are always less than newer offsets.
Value Members
- object Offset extends Serializable