SnapshotSelectionCriteria

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product