public interface GlobalStateProvider
GlobalStateManager
because they contribute to/are interested in the contents of the global persistent state.| Modifier and Type | Method and Description |
|---|---|
void |
prepareForPersist(ScopedPersistentState globalState)
This method is invoked by the
GlobalStateManager just before
persisting the global state |
void |
prepareForRestore(ScopedPersistentState globalState)
This method is invoked by the
GlobalStateManager after starting up to notify
that global state has been restored. |
void prepareForPersist(ScopedPersistentState globalState)
GlobalStateManager just before
persisting the global statevoid prepareForRestore(ScopedPersistentState globalState)
GlobalStateManager after starting up to notify
that global state has been restored.