Class SpaceSnapshot

java.lang.Object
be.theking90000.mumble.controller.spaces.SpaceSnapshot

public final class SpaceSnapshot extends Object
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 Details

    • spaceKey

      public SpaceKey spaceKey()
      Returns the semantic space key.
      Returns:
      semantic key
    • incarnation

      public SpaceIncarnation 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

      public List<SpaceParticipant> 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