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 Type
    Method
    Description
    store(T state)
    Stores the given state and returns a state handle to it.
  • Method Details

    • 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.