|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.persistence.SnapshotSelectionCriteria
public class SnapshotSelectionCriteria
Selection criteria for loading and deleting snapshots.
param: maxSequenceNr upper bound for a selected snapshot's sequence number. Default is no upper bound. param: maxTimestamp upper bound for a selected snapshot's timestamp. Default is no upper bound.
Recover,
Serialized Form| Constructor Summary | |
|---|---|
SnapshotSelectionCriteria(long maxSequenceNr,
long maxTimestamp)
|
|
| Method Summary | |
|---|---|
static SnapshotSelectionCriteria |
create(long maxSequenceNr,
long maxTimestamp)
Java API. |
static SnapshotSelectionCriteria |
latest()
Java API. |
static SnapshotSelectionCriteria |
Latest()
The latest saved snapshot. |
SnapshotSelectionCriteria |
limit(long toSequenceNr)
INTERNAL API. |
boolean |
matches(SnapshotMetadata metadata)
INTERNAL API. |
long |
maxSequenceNr()
|
long |
maxTimestamp()
|
static SnapshotSelectionCriteria |
none()
Java API. |
static SnapshotSelectionCriteria |
None()
No saved snapshot matches. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface scala.Product |
|---|
productArity, productElement, productIterator, productPrefix |
| Methods inherited from interface scala.Equals |
|---|
canEqual, equals |
| Constructor Detail |
|---|
public SnapshotSelectionCriteria(long maxSequenceNr,
long maxTimestamp)
| Method Detail |
|---|
public static SnapshotSelectionCriteria Latest()
public static SnapshotSelectionCriteria None()
public static SnapshotSelectionCriteria create(long maxSequenceNr,
long maxTimestamp)
maxSequenceNr - (undocumented)maxTimestamp - (undocumented)
public static SnapshotSelectionCriteria latest()
public static SnapshotSelectionCriteria none()
public long maxSequenceNr()
public long maxTimestamp()
public SnapshotSelectionCriteria limit(long toSequenceNr)
toSequenceNr - (undocumented)
public boolean matches(SnapshotMetadata metadata)
metadata - (undocumented)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||