public class InstanceStateManager extends Object implements StateManager
| Constructor and Description |
|---|
InstanceStateManager() |
| 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.
|
public void registerStore(StateStore store)
StateManagerregisterStore in interface StateManagerstore - the state store to register.public StateStore getStore(String tenant, String namespace, String name)
StateManagergetStore in interface StateManagertenant - the state store tenant.namespace - the state store namespace.name - the state store name.public void close()
close in interface AutoCloseableclose in interface StateManagerCopyright © 2017–2021 Apache Software Foundation. All rights reserved.