Interface StateManager
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
InstanceStateManager
A state manager that manages multiple state stores.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Get the state store with the given name.voidregisterStore(StateStore store) Register the state store.
-
Method Details
-
registerStore
Register the state store.- Parameters:
store- the state store to register.
-
getStore
Get the state store with the given name.- Parameters:
tenant- the state store tenant.namespace- the state store namespace.name- the state store name.- Returns:
- the state store with the given name.
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-