final case class SnapshotSelectionCriteria(maxSequenceNr: Long = Long.MaxValue, maxTimestamp: Long = Long.MaxValue, minSequenceNr: Long = 0L, minTimestamp: Long = 0L) extends Product with Serializable
Selection criteria for loading and deleting snapshots.
- 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
- Annotations
- @SerialVersionUID()
- Source
- SnapshotProtocol.scala
- See also
- Alphabetic
- By Inheritance
- SnapshotSelectionCriteria
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SnapshotSelectionCriteria(maxSequenceNr: Long = Long.MaxValue, maxTimestamp: Long = Long.MaxValue, minSequenceNr: Long = 0L, minTimestamp: Long = 0L)
- 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