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 TypeMethodDescriptionvoid
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 Details
-
prepareForPersist
This method is invoked by theGlobalStateManager
just before persisting the global state -
prepareForRestore
This method is invoked by theGlobalStateManager
after starting up to notify that global state has been restored.
-