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. def _1: String
    Definition Classes
    SnapshotMetadata → Product3
  2. def _2: Long
    Definition Classes
    SnapshotMetadata → Product3
  3. def _3: Long
    Definition Classes
    SnapshotMetadata → Product3
  4. def canEqual(that: Any): Boolean
    Definition Classes
    SnapshotMetadata → Equals
  5. def copy(persistenceId: String = this.persistenceId, sequenceNr: Long = this.sequenceNr, timestamp: Long = this.timestamp): SnapshotMetadata
  6. def equals(other: Any): Boolean
    Definition Classes
    SnapshotMetadata → Equals → AnyRef → Any
  7. def hashCode(): Int
    Definition Classes
    SnapshotMetadata → AnyRef → Any
  8. val metadata: Option[Any]
  9. val persistenceId: String
  10. def productArity: Int
    Definition Classes
    Product3 → Product
  11. def productElement(n: Int): Any
    Definition Classes
    Product3 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  12. def productElementName(n: Int): String
    Definition Classes
    Product
  13. def productElementNames: Iterator[String]
    Definition Classes
    Product
  14. def productIterator: Iterator[Any]
    Definition Classes
    Product
  15. def productPrefix: String
    Definition Classes
    SnapshotMetadata → Product
  16. val sequenceNr: Long
  17. val timestamp: Long
  18. def toString(): String
    Definition Classes
    SnapshotMetadata → AnyRef → Any
  19. def withMetadata(metadata: Any): SnapshotMetadata