Class RpcKvStateRegistryListener

java.lang.Object
org.apache.flink.runtime.taskexecutor.rpc.RpcKvStateRegistryListener
All Implemented Interfaces:
KvStateRegistryListener

public class RpcKvStateRegistryListener extends Object implements KvStateRegistryListener
KvStateRegistryListener implementation for the new RPC service.
  • Constructor Details

  • 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: KvStateRegistryListener
      Notifies the listener about a registered KvState instance.
      Specified by:
      notifyKvStateRegistered in interface KvStateRegistryListener
      Parameters:
      jobId - Job ID the KvState instance belongs to
      jobVertexId - JobVertexID the KvState instance belongs to
      keyGroupRange - Key group range the KvState instance belongs to
      registrationName - Name under which the KvState is registered
      kvStateId - 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: KvStateRegistryListener
      Notifies the listener about an unregistered KvState instance.
      Specified by:
      notifyKvStateUnregistered in interface KvStateRegistryListener
      Parameters:
      jobId - Job ID the KvState instance belongs to
      jobVertexId - JobVertexID the KvState instance belongs to
      keyGroupRange - Key group range the KvState instance belongs to
      registrationName - Name under which the KvState is registered