Interface StateManager
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
InstanceStateManager
A state manager that manages multiple state stores.
-
Method Summary
-
Method Details
-
registerStore
void registerStore(org.apache.pulsar.functions.api.StateStore store) 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
-