Class RpcKvStateRegistryListener
- java.lang.Object
-
- org.apache.flink.runtime.taskexecutor.rpc.RpcKvStateRegistryListener
-
- All Implemented Interfaces:
KvStateRegistryListener
public class RpcKvStateRegistryListener extends Object implements KvStateRegistryListener
KvStateRegistryListenerimplementation for the new RPC service.
-
-
Constructor Summary
Constructors Constructor Description RpcKvStateRegistryListener(KvStateRegistryGateway kvStateRegistryGateway, InetSocketAddress kvStateServerAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyKvStateRegistered(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 Detail
-
RpcKvStateRegistryListener
public RpcKvStateRegistryListener(KvStateRegistryGateway kvStateRegistryGateway, InetSocketAddress kvStateServerAddress)
-
-
Method Detail
-
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
-
-