Class GlobalStateHandler
java.lang.Object
org.infinispan.globalstate.impl.GlobalStateHandler
- All Implemented Interfaces:
GlobalStateManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteScopedState(String scope) Delete the persistent state for the given scopereadScopedState(String scope) Reads the persistent state for the specified scope.voidregisterStateProvider(GlobalStateProvider provider) Registers a state provider within this state managervoidPersists the global state by contacting all registered scope providersvoidPersists the specified scoped state
-
Constructor Details
-
GlobalStateHandler
-
-
Method Details
-
registerStateProvider
Description copied from interface:GlobalStateManagerRegisters a state provider within this state manager- Specified by:
registerStateProviderin interfaceGlobalStateManager- Parameters:
provider-
-
readScopedState
Description copied from interface:GlobalStateManagerReads the persistent state for the specified scope.- Specified by:
readScopedStatein interfaceGlobalStateManager
-
writeScopedState
Description copied from interface:GlobalStateManagerPersists the specified scoped state- Specified by:
writeScopedStatein interfaceGlobalStateManager
-
deleteScopedState
Description copied from interface:GlobalStateManagerDelete the persistent state for the given scope- Specified by:
deleteScopedStatein interfaceGlobalStateManager
-
writeGlobalState
public void writeGlobalState()Description copied from interface:GlobalStateManagerPersists the global state by contacting all registered scope providers- Specified by:
writeGlobalStatein interfaceGlobalStateManager
-