Package org.infinispan.globalstate
Interface GlobalStateManager
- All Known Implementing Classes:
GlobalStateManagerImpl
public interface GlobalStateManager
GlobalStateManager.
- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteScopedState
(String scope) Delete the persistent state for the given scopereadScopedState
(String scope) Reads the persistent state for the specified scope.void
registerStateProvider
(GlobalStateProvider provider) Registers a state provider within this state managervoid
Persists the global state by contacting all registered scope providersvoid
Persists the specified scoped state
-
Method Details
-
registerStateProvider
Registers a state provider within this state manager- Parameters:
provider
-
-
readScopedState
Reads the persistent state for the specified scope. -
writeScopedState
Persists the specified scoped state -
deleteScopedState
Delete the persistent state for the given scope -
writeGlobalState
void writeGlobalState()Persists the global state by contacting all registered scope providers
-