SnapshotSelectionCriteria

@SerialVersionUID(1L)
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

See also:
Companion:
object
Source:
SnapshotProtocol.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
Product