Interface KvStateRegistryListener

All Known Implementing Classes:
RpcKvStateRegistryListener

public interface KvStateRegistryListener
A listener for a KvStateRegistry.

The registry calls these methods when KvState instances are registered and unregistered.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyKvStateRegistered(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.
    void
    notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName)
    Notifies the listener about an unregistered KvState instance.
  • Method Details

    • notifyKvStateRegistered

      void notifyKvStateRegistered(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.
      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

      void notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName)
      Notifies the listener about an unregistered KvState instance.
      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