Class Backend.Snapshot

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Backend

    public static class Backend.Snapshot
    extends java.lang.Object
    implements java.io.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 Summary

      Constructors 
      Constructor Description
      Snapshot​(java.util.UUID id, java.lang.String payload)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.UUID getId()  
      java.lang.String getPayload()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Snapshot

        public Snapshot​(java.util.UUID id,
                        java.lang.String payload)
    • Method Detail

      • getId

        public java.util.UUID getId()
      • getPayload

        public java.lang.String getPayload()