Package org.infinispan.globalstate
Interface GlobalStateProvider
- All Known Implementing Classes:
ClusterTopologyManagerImpl,LocalTopologyManagerImpl
public interface GlobalStateProvider
GlobalStateProvider. Implementors who need to register with the
GlobalStateManager
because they contribute to/are interested in the contents of the global persistent state.- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionvoidprepareForPersist(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 Details
-
prepareForPersist
This method is invoked by theGlobalStateManagerjust before persisting the global state -
prepareForRestore
This method is invoked by theGlobalStateManagerafter starting up to notify that global state has been restored.
-