Change ID
Identifies the Change.
Parameters
: is the sequence number of the client that created this change.
: lamport` is the lamport clock of this change. This is used to determine the order of changes in logical time. It is optional and only present if the change has operations.
: is the creator of this change.
: is the vector clock of this change. This is used to determine the relationship is causal or not between changes. It is optional and only present if the change has operations.
: is optional and only present for changes stored on the server.
Constructors
Functions
Creates a ticket of the given delimiter.
setClocks
sets the given clocks to this ID. This is used when the snapshot is given from the server.
setLamport
sets the given lamport clock.
Sets the vector vector.
syncClocks
syncs logical clocks with the given ID.
Syncs lamport timestamp with the given ID.