Package org.infinispan.globalstate
Interface GlobalStateProvider
-
public interface GlobalStateProvider
GlobalStateProvider. Implementors who need to register with theGlobalStateManager
because they contribute to/are interested in the contents of the global persistent state.- Since:
- 8.1
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepareForPersist(ScopedPersistentState globalState)
This method is invoked by theGlobalStateManager
just before persisting the global statevoid
prepareForRestore(ScopedPersistentState globalState)
This method is invoked by theGlobalStateManager
after starting up to notify that global state has been restored.
-
-
-
Method Detail
-
prepareForPersist
void prepareForPersist(ScopedPersistentState globalState)
This method is invoked by theGlobalStateManager
just before persisting the global state
-
prepareForRestore
void prepareForRestore(ScopedPersistentState globalState)
This method is invoked by theGlobalStateManager
after starting up to notify that global state has been restored.
-
-