|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Snapshotter
Snapshot API on top of the internal snapshot protocol.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface akka.actor.Actor |
---|
Actor.emptyBehavior$ |
Method Summary | |
---|---|
void |
deleteSnapshot(long sequenceNr,
long timestamp)
Deletes a snapshot identified by sequenceNr and timestamp . |
void |
deleteSnapshots(SnapshotSelectionCriteria criteria)
Deletes all snapshots matching criteria . |
void |
loadSnapshot(java.lang.String persistenceId,
SnapshotSelectionCriteria criteria,
long toSequenceNr)
|
void |
saveSnapshot(java.lang.Object snapshot)
Saves a snapshot of this snapshotter's state. |
long |
snapshotSequenceNr()
Sequence number to use when taking a snapshot. |
ActorRef |
snapshotStore()
|
java.lang.String |
snapshotterId()
Snapshotter id. |
Methods inherited from interface akka.actor.Actor |
---|
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled |
Method Detail |
---|
ActorRef snapshotStore()
java.lang.String snapshotterId()
long snapshotSequenceNr()
void loadSnapshot(java.lang.String persistenceId, SnapshotSelectionCriteria criteria, long toSequenceNr)
void saveSnapshot(java.lang.Object snapshot)
snapshot
of this snapshotter's state. If saving succeeds, this snapshotter will receive a
SaveSnapshotSuccess
message, otherwise a SaveSnapshotFailure
message.
snapshot
- (undocumented)void deleteSnapshot(long sequenceNr, long timestamp)
sequenceNr
and timestamp
.
sequenceNr
- (undocumented)timestamp
- (undocumented)void deleteSnapshots(SnapshotSelectionCriteria criteria)
criteria
.
criteria
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |