org.apache.pekko.persistence.SnapshotSelectionCriteria
See theSnapshotSelectionCriteria companion object
final case class SnapshotSelectionCriteria(maxSequenceNr: Long, maxTimestamp: Long, minSequenceNr: Long, minTimestamp: Long)
Selection criteria for loading and deleting snapshots.
Value parameters
- maxSequenceNr
-
upper bound for a selected snapshot's sequence number. Default is no upper bound, i.e.
Long.MaxValue - maxTimestamp
-
upper bound for a selected snapshot's timestamp. Default is no upper bound, i.e.
Long.MaxValue - minSequenceNr
-
lower bound for a selected snapshot's sequence number. Default is no lower bound, i.e.
0L - minTimestamp
-
lower bound for a selected snapshot's timestamp. Default is no lower bound, i.e.
0L
Attributes
- See also
- Companion
- object
- Source
- SnapshotProtocol.scala
- Graph
-
- Supertypes
Members list
In this article