Class SpaceSnapshot
java.lang.Object
be.theking90000.mumble.controller.spaces.SpaceSnapshot
Complete, immutable projection of one materialized space.
Snapshots replace rather than patch the previous cached value. Compare both incarnation() and spaceRevision() when ordering observations for a semantic key.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the opaque identity of this materialized lifetime.Returns the participants materialized in this full snapshot.longReturns the Mumble publication generation associated with this snapshot.spaceKey()Returns the semantic space key.longReturns the full snapshot revision within this incarnation.
-
Method Details
-
spaceKey
Returns the semantic space key.- Returns:
- semantic key
-
incarnation
Returns the opaque identity of this materialized lifetime.- Returns:
- incarnation identity
-
spaceRevision
public long spaceRevision()Returns the full snapshot revision within this incarnation.- Returns:
- unsigned space revision represented as a Java
long
-
participants
Returns the participants materialized in this full snapshot.- Returns:
- immutable participant list
-
publishedGeneration
public long publishedGeneration()Returns the Mumble publication generation associated with this snapshot.- Returns:
- unsigned publication generation represented as a Java
long
-