Packages

final class SnapshotMetadata extends Product3[String, Long, Long] with Serializable

Snapshot metadata.

Annotations
@SerialVersionUID()
Source
SnapshotProtocol.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnapshotMetadata
  2. Serializable
  3. Product3
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SnapshotMetadata(persistenceId: String, sequenceNr: Long, timestamp: Long)
  2. new SnapshotMetadata(persistenceId: String, sequenceNr: Long, timestamp: Long, metadata: Option[Any])

    persistenceId

    id of persistent actor from which the snapshot was taken.

    sequenceNr

    sequence number at which the snapshot was taken.

    timestamp

    time at which the snapshot was saved, defaults to 0 when unknown.

    metadata

    a journal can optionally support persisting metadata separate to the domain state, used for Replicated Event Sourcing support

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toany2stringadd[SnapshotMetadata] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SnapshotMetadata, B)
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toArrowAssoc[SnapshotMetadata] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def _1: String
    Definition Classes
    SnapshotMetadata → Product3
  7. def _2: Long
    Definition Classes
    SnapshotMetadata → Product3
  8. def _3: Long
    Definition Classes
    SnapshotMetadata → Product3
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def canEqual(that: Any): Boolean
    Definition Classes
    SnapshotMetadata → Equals
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. def copy(persistenceId: String = this.persistenceId, sequenceNr: Long = this.sequenceNr, timestamp: Long = this.timestamp): SnapshotMetadata
  13. def ensuring(cond: (SnapshotMetadata) => Boolean, msg: => Any): SnapshotMetadata
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toEnsuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (SnapshotMetadata) => Boolean): SnapshotMetadata
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toEnsuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): SnapshotMetadata
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toEnsuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): SnapshotMetadata
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toEnsuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(other: Any): Boolean
    Definition Classes
    SnapshotMetadata → Equals → AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def hashCode(): Int
    Definition Classes
    SnapshotMetadata → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val metadata: Option[Any]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. val persistenceId: String
  27. def productArity: Int
    Definition Classes
    Product3 → Product
  28. def productElement(n: Int): Any
    Definition Classes
    Product3 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  29. def productElementName(n: Int): String
    Definition Classes
    Product
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def productIterator: Iterator[Any]
    Definition Classes
    Product
  32. def productPrefix: String
    Definition Classes
    SnapshotMetadata → Product
  33. val sequenceNr: Long
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val timestamp: Long
  36. def toString(): String
    Definition Classes
    SnapshotMetadata → AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. def withMetadata(metadata: Any): SnapshotMetadata

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toStringFormat[SnapshotMetadata] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (SnapshotMetadata, B)
    Implicit
    This member is added by an implicit conversion from SnapshotMetadata toArrowAssoc[SnapshotMetadata] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product3[String, Long, Long]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromSnapshotMetadata to any2stringadd[SnapshotMetadata]

Inherited by implicit conversion StringFormat fromSnapshotMetadata to StringFormat[SnapshotMetadata]

Inherited by implicit conversion Ensuring fromSnapshotMetadata to Ensuring[SnapshotMetadata]

Inherited by implicit conversion ArrowAssoc fromSnapshotMetadata to ArrowAssoc[SnapshotMetadata]

Ungrouped