|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowExecutionKeyFactory
A factory for creating flow execution keys. Used to generate a persistent identity for a flow execution that needs to be persisted.
Method Summary | |
---|---|
FlowExecutionKey |
getKey(FlowExecution execution)
Get the key to assign to the flow execution. |
void |
removeAllFlowExecutionSnapshots(FlowExecution execution)
Remove all snapshots associated with the flow execution from storage, invalidating all history. |
void |
removeFlowExecutionSnapshot(FlowExecution execution)
Remove the snapshot that was used to restore this flow execution, discarding it for future use. |
void |
updateFlowExecutionSnapshot(FlowExecution execution)
Capture the current state of the flow execution by updating its snapshot in storage. |
Method Detail |
---|
FlowExecutionKey getKey(FlowExecution execution)
execution
- the flow execution
void updateFlowExecutionSnapshot(FlowExecution execution)
execution
- the flow executionvoid removeFlowExecutionSnapshot(FlowExecution execution)
execution
- the flow executionvoid removeAllFlowExecutionSnapshots(FlowExecution execution)
execution
- the flow execution
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |