Private
actorIDPrivate
delimiterPrivate
lamportafter
returns whether the given ticket was created later.
compare
returns an integer comparing two Ticket.
The result will be 0 if id==other, -1 if id < other
, and +1 if id > other
.
If the receiver or argument is nil, it would panic at runtime.
equals
returns whether the given ticket was created.
setActor
creates a new instance of Ticket with the given actorID.
toStruct
returns the structure of this Ticket.
Static
fromfromStruct
creates an instance of Ticket from the struct.
Static
ofof
creates an instance of Ticket.
TimeTicket
is a timestamp of the logical clock. Ticket is immutable. It is created byChangeID
.