public interface FlowExecutionSnapshotGroup
| Modifier and Type | Method and Description |
|---|---|
void |
addSnapshot(Serializable snapshotId,
FlowExecutionSnapshot snapshot)
Add a flow execution snapshot with given id to this group.
|
FlowExecutionSnapshot |
getSnapshot(Serializable snapshotId)
Returns the snapshot with the provided
id, or null if no such snapshot exists with that
id. |
int |
getSnapshotCount()
Returns the count of snapshots in this group.
|
Serializable |
nextSnapshotId()
Gets the next snapshot id for new snapshot to add to this group.
|
void |
removeAllSnapshots()
Remove all snapshots in this group.
|
void |
removeSnapshot(Serializable snapshotId)
Remove the snapshot with the given id.
|
void |
updateSnapshot(Serializable snapshotId,
FlowExecutionSnapshot snapshot)
Update the snapshot with the given id.
|
FlowExecutionSnapshot getSnapshot(Serializable snapshotId) throws SnapshotNotFoundException
id, or null if no such snapshot exists with that
id.snapshotId - the snapshot idSnapshotNotFoundException - if the id does not match a continuation in this groupvoid addSnapshot(Serializable snapshotId, FlowExecutionSnapshot snapshot)
snapshotId - the snapshot idsnapshot - the snapshotvoid updateSnapshot(Serializable snapshotId, FlowExecutionSnapshot snapshot)
snapshotId - the snapshot idsnapshot - the new snapshotvoid removeSnapshot(Serializable snapshotId)
snapshotId - the continuation idvoid removeAllSnapshots()
int getSnapshotCount()
Serializable nextSnapshotId()