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 byStateHandleStore
to persist state before the state handle is written to the underlying system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetrievableStateHandle<T>
store(T state)
Stores the given state and returns a state handle to it.
-
-
-
Method Detail
-
store
RetrievableStateHandle<T> store(T state) throws Exception
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.
-
-