public interface StateManager extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
StateStore |
getStore(String tenant,
String namespace,
String name)
Get the state store with the given name.
|
void |
registerStore(StateStore store)
Register the state store.
|
void registerStore(StateStore store)
store - the state store to register.StateStore getStore(String tenant, String namespace, String name)
tenant - the state store tenant.namespace - the state store namespace.name - the state store name.void close()
close in interface AutoCloseableCopyright © 2017–2021 Apache Software Foundation. All rights reserved.