final class SnapshotMetadata extends Product3[String, Long, Long] with Serializable
Snapshot metadata.
- Annotations
- @SerialVersionUID()
- Source
- SnapshotProtocol.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- SnapshotMetadata
- Serializable
- Serializable
- Product3
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SnapshotMetadata(persistenceId: String, sequenceNr: Long, timestamp: Long)
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to any2stringadd[SnapshotMetadata] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (SnapshotMetadata, B)
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to ArrowAssoc[SnapshotMetadata] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_1: String
- Definition Classes
- SnapshotMetadata → Product3
-
def
_2: Long
- Definition Classes
- SnapshotMetadata → Product3
-
def
_3: Long
- Definition Classes
- SnapshotMetadata → Product3
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- SnapshotMetadata → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def copy(persistenceId: String = this.persistenceId, sequenceNr: Long = this.sequenceNr, timestamp: Long = this.timestamp): SnapshotMetadata
-
def
ensuring(cond: (SnapshotMetadata) ⇒ Boolean, msg: ⇒ Any): SnapshotMetadata
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to Ensuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (SnapshotMetadata) ⇒ Boolean): SnapshotMetadata
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to Ensuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): SnapshotMetadata
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to Ensuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): SnapshotMetadata
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to Ensuring[SnapshotMetadata] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- SnapshotMetadata → Equals → AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- SnapshotMetadata → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Option[Any]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val persistenceId: String
-
def
productArity: Int
- Definition Classes
- Product3 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Product3 → Product
- Annotations
- @throws( ... )
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- SnapshotMetadata → Product
- val sequenceNr: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestamp: Long
-
def
toString(): String
- Definition Classes
- SnapshotMetadata → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withMetadata(metadata: Any): SnapshotMetadata
-
def
→[B](y: B): (SnapshotMetadata, B)
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to ArrowAssoc[SnapshotMetadata] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SnapshotMetadata to StringFormat[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 ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.