|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowExecutionSnapshotGroup
A group of flow execution snapshots. A SPI interface that encapsulates the storage management for a group of flow execution snapshots.
Method Summary | |
---|---|
void |
addSnapshot(java.io.Serializable snapshotId,
FlowExecutionSnapshot snapshot)
Add a flow execution snapshot with given id to this group. |
FlowExecutionSnapshot |
getSnapshot(java.io.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. |
java.io.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(java.io.Serializable snapshotId)
Remove the snapshot with the given id. |
void |
updateSnapshot(java.io.Serializable snapshotId,
FlowExecutionSnapshot snapshot)
Update the snapshot with the given id. |
Method Detail |
---|
FlowExecutionSnapshot getSnapshot(java.io.Serializable snapshotId) throws SnapshotNotFoundException
id
, or null
if no such snapshot exists with that
id.
snapshotId
- the snapshot id
SnapshotNotFoundException
- if the id does not match a continuation in this groupvoid addSnapshot(java.io.Serializable snapshotId, FlowExecutionSnapshot snapshot)
snapshotId
- the snapshot idsnapshot
- the snapshotvoid updateSnapshot(java.io.Serializable snapshotId, FlowExecutionSnapshot snapshot)
snapshotId
- the snapshot idsnapshot
- the new snapshotvoid removeSnapshot(java.io.Serializable snapshotId)
snapshotId
- the continuation idvoid removeAllSnapshots()
int getSnapshotCount()
java.io.Serializable nextSnapshotId()
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |