Class SnapshotMetadata
java.lang.Object
org.apache.pekko.persistence.typed.SnapshotMetadata
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. in milliseconds from the epoch of 1970-01-01T00:00:00Z.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SnapshotMetadata
-
-
Method Details
-
apply
- Parameters:
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. in milliseconds from the epoch of 1970-01-01T00:00:00Z.
-
persistenceId
-
sequenceNr
public long sequenceNr() -
timestamp
public long timestamp() -
toString
-