docs: private KvStateRegistryListener getKvStateRegistryListener(JobID jobId) {
  		// first check whether we are running the legacy code which registers
  		// a single listener under HighAvailabilityServices.DEFAULT_JOB_ID
  		KvStateRegistryListener listener = listeners.get(HighAvailabilityServices.DEFAULT_JOB_ID);
  
  		if (listener == null) {
  			listener = listeners.get(jobId);
  		}
  		return listener;
  	}