Interface GlobalStateManager


  • public interface GlobalStateManager
    GlobalStateManager.
    Since:
    8.1
    Author:
    Tristan Tarrant
    • Method Detail

      • registerStateProvider

        void registerStateProvider​(GlobalStateProvider provider)
        Registers a state provider within this state manager
        Parameters:
        provider -
      • writeScopedState

        void writeScopedState​(ScopedPersistentState state)
        Persists the specified scoped state
      • deleteScopedState

        void deleteScopedState​(String scope)
        Delete the persistent state for the given scope
      • writeGlobalState

        void writeGlobalState()
        Persists the global state by contacting all registered scope providers