public interface FlowExecutionKeyFactory
Modifier and Type | Method and Description |
---|---|
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.
|
FlowExecutionKey getKey(FlowExecution execution)
execution
- the flow executionvoid updateFlowExecutionSnapshot(FlowExecution execution)
execution
- the flow executionvoid removeFlowExecutionSnapshot(FlowExecution execution)
execution
- the flow executionvoid removeAllFlowExecutionSnapshots(FlowExecution execution)
execution
- the flow execution