Class RpcKvStateRegistryListener
java.lang.Object
org.apache.flink.runtime.taskexecutor.rpc.RpcKvStateRegistryListener
- All Implemented Interfaces:
KvStateRegistryListener
KvStateRegistryListener implementation for the new RPC service.-
Constructor Summary
ConstructorsConstructorDescriptionRpcKvStateRegistryListener(KvStateRegistryGateway kvStateRegistryGateway, InetSocketAddress kvStateServerAddress) -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyKvStateRegistered(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName, org.apache.flink.queryablestate.KvStateID kvStateId) Notifies the listener about a registered KvState instance.voidnotifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName) Notifies the listener about an unregistered KvState instance.
-
Constructor Details
-
RpcKvStateRegistryListener
public RpcKvStateRegistryListener(KvStateRegistryGateway kvStateRegistryGateway, InetSocketAddress kvStateServerAddress)
-
-
Method Details
-
notifyKvStateRegistered
public void notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName, org.apache.flink.queryablestate.KvStateID kvStateId) Description copied from interface:KvStateRegistryListenerNotifies the listener about a registered KvState instance.- Specified by:
notifyKvStateRegisteredin interfaceKvStateRegistryListener- Parameters:
jobId- Job ID the KvState instance belongs tojobVertexId- JobVertexID the KvState instance belongs tokeyGroupRange- Key group range the KvState instance belongs toregistrationName- Name under which the KvState is registeredkvStateId- ID of the KvState instance
-
notifyKvStateUnregistered
public void notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName) Description copied from interface:KvStateRegistryListenerNotifies the listener about an unregistered KvState instance.- Specified by:
notifyKvStateUnregisteredin interfaceKvStateRegistryListener- Parameters:
jobId- Job ID the KvState instance belongs tojobVertexId- JobVertexID the KvState instance belongs tokeyGroupRange- Key group range the KvState instance belongs toregistrationName- Name under which the KvState is registered
-