Class Backend.Snapshot

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    Backend

    public static class Backend.Snapshot
    extends Object
    implements Serializable
    The Snapshot class is used to submit and retrieve a snapshot payload using the {@link Backend::replaceSnapshot()} and {@link Backend::loadLatestSnapshot()} methods. A UUID is provided to uniquely identify potentially identical payloads.
    See Also:
    Serialized Form
    • Constructor Detail

      • Snapshot

        public Snapshot​(UUID id,
                        String payload)
    • Method Detail

      • getId

        public UUID getId()
      • getPayload

        public String getPayload()