Package org.infinispan.globalstate
Interface GlobalStateProvider
-
- All Known Implementing Classes:
LocalTopologyManagerImpl
public interface GlobalStateProviderGlobalStateProvider. Implementors who need to register with theGlobalStateManagerbecause 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 voidprepareForPersist(ScopedPersistentState globalState)This method is invoked by theGlobalStateManagerjust before persisting the global statevoidprepareForRestore(ScopedPersistentState globalState)This method is invoked by theGlobalStateManagerafter starting up to notify that global state has been restored.
-
-
-
Method Detail
-
prepareForPersist
void prepareForPersist(ScopedPersistentState globalState)
This method is invoked by theGlobalStateManagerjust before persisting the global state
-
prepareForRestore
void prepareForRestore(ScopedPersistentState globalState)
This method is invoked by theGlobalStateManagerafter starting up to notify that global state has been restored.
-
-