类 InstanceStateManager
java.lang.Object
org.apache.pulsar.functions.instance.state.InstanceStateManager
- 所有已实现的接口:
AutoCloseable,StateManager
The state manager for managing state stores for a running function instance.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
InstanceStateManager
public InstanceStateManager()
-
-
方法详细资料
-
registerStore
public void registerStore(org.apache.pulsar.functions.api.StateStore store) 从接口复制的说明:StateManagerRegister the state store.- 指定者:
registerStore在接口中StateManager- 参数:
store- the state store to register.
-
getStore
public org.apache.pulsar.functions.api.StateStore getStore(String tenant, String namespace, String name) 从接口复制的说明:StateManagerGet the state store with the given name.- 指定者:
getStore在接口中StateManager- 参数:
tenant- the state store tenant.namespace- the state store namespace.name- the state store name.- 返回:
- the state store with the given name.
-
close
public void close()- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中StateManager
-