Class AcceptedRevision
java.lang.Object
be.theking90000.mumble.controller.core.AcceptedRevision
Distinct runtime watermarks returned when a participant specification is accepted.
Protocol revisions are unsigned 64-bit values represented as Java longs. Use Long.compareUnsigned(long, long) if application code must order them.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the latest specification revision accepted by the runtime.longReturns the latest accepted revision applied to runtime state.longReturns the client-side specification revision covered by this acknowledgement.longReturns the runtime publication generation visible when this acknowledgement was produced.
-
Method Details
-
clientSpecRevision
public long clientSpecRevision()Returns the client-side specification revision covered by this acknowledgement.- Returns:
- the acknowledged client revision
-
acceptedSpecRevision
public long acceptedSpecRevision()Returns the latest specification revision accepted by the runtime.- Returns:
- the accepted runtime revision
-
appliedSpecRevision
public long appliedSpecRevision()Returns the latest accepted revision applied to runtime state.- Returns:
- the applied runtime revision, which may lag the accepted revision
-
publishedGeneration
public long publishedGeneration()Returns the runtime publication generation visible when this acknowledgement was produced.- Returns:
- the publication generation, which does not by itself prove that this spec is published
-