Interface RetrievableStateStorageHelper<T extends Serializable>
- Type Parameters:
T- The type of the data that can be stored by this storage helper.
- All Known Implementing Classes:
FileSystemStateStorageHelper
public interface RetrievableStateStorageHelper<T extends Serializable>
State storage helper which is used by
StateHandleStore to persist state before the state
handle is written to the underlying system.-
Method Summary
Modifier and TypeMethodDescriptionStores the given state and returns a state handle to it.
-
Method Details
-
store
Stores the given state and returns a state handle to it.- Parameters:
state- State to be stored- Returns:
- State handle to the stored state
- Throws:
Exception- if an error occurred while storing the state.
-