Class SnapshotMetadata

  • All Implemented Interfaces:, scala.Equals, scala.Product, scala.Serializable

    public final class SnapshotMetadata
    extends java.lang.Object
    implements scala.Product, scala.Serializable
    Snapshot metadata.

    param: persistenceId id of persistent actor from which the snapshot was taken. param: sequenceNr sequence number at which the snapshot was taken. param: timestamp time at which the snapshot was saved, defaults to 0 when unknown.

    See Also:
    Serialized Form
    • Constructor Detail

      • SnapshotMetadata

        public SnapshotMetadata​(java.lang.String persistenceId,
                                long sequenceNr,
                                long timestamp)
    • Method Detail

      • $lessinit$greater$default$3

        public static long $lessinit$greater$default$3()
      • apply

        public static SnapshotMetadata apply​(java.lang.String persistenceId,
                                             long sequenceNr,
                                             long timestamp)
      • apply$default$3

        public static long apply$default$3()
      • unapply

        public static scala.Option<scala.Tuple3<java.lang.String,​java.lang.Object,​java.lang.Object>> unapply​(SnapshotMetadata x$0)
      • persistenceId

        public java.lang.String persistenceId()
      • sequenceNr

        public long sequenceNr()
      • timestamp

        public long timestamp()
      • copy

        public SnapshotMetadata copy​(java.lang.String persistenceId,
                                     long sequenceNr,
                                     long timestamp)
      • copy$default$1

        public java.lang.String copy$default$1()
      • copy$default$2

        public long copy$default$2()
      • copy$default$3

        public long copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object