KvStateID kvStateId = registry.registerKvState( new JobID(), new JobVertexID(),
/** * Registers the KvState instance at the KvStateRegistry. * * @param keyGroupRange Key group range the KvState instance belongs to * @param registrationName The registration name (not necessarily the same * as the KvState name defined in the state * descriptor used to create the KvState instance) * @param kvState The */ public void registerKvState(KeyGroupRange keyGroupRange, String registrationName, InternalKvState<?, ?, ?> kvState) { KvStateID kvStateId = registry.registerKvState(jobId, jobVertexId, keyGroupRange, registrationName, kvState); registeredKvStates.add(new KvStateInfo(keyGroupRange, registrationName, kvStateId)); }
/** * Registers the KvState instance at the KvStateRegistry. * * @param keyGroupRange Key group range the KvState instance belongs to * @param registrationName The registration name (not necessarily the same * as the KvState name defined in the state * descriptor used to create the KvState instance) * @param kvState The */ public void registerKvState(KeyGroupRange keyGroupRange, String registrationName, InternalKvState<?, ?, ?> kvState) { KvStateID kvStateId = registry.registerKvState(jobId, jobVertexId, keyGroupRange, registrationName, kvState); registeredKvStates.add(new KvStateInfo(keyGroupRange, registrationName, kvStateId)); }
/** * Registers the KvState instance at the KvStateRegistry. * * @param keyGroupRange Key group range the KvState instance belongs to * @param registrationName The registration name (not necessarily the same * as the KvState name defined in the state * descriptor used to create the KvState instance) * @param kvState The */ public void registerKvState(KeyGroupRange keyGroupRange, String registrationName, InternalKvState<?, ?, ?> kvState) { KvStateID kvStateId = registry.registerKvState(jobId, jobVertexId, keyGroupRange, registrationName, kvState); registeredKvStates.add(new KvStateInfo(keyGroupRange, registrationName, kvStateId)); }
/** * Registers the KvState instance at the KvStateRegistry. * * @param keyGroupRange Key group range the KvState instance belongs to * @param registrationName The registration name (not necessarily the same * as the KvState name defined in the state * descriptor used to create the KvState instance) * @param kvState The */ public void registerKvState(KeyGroupRange keyGroupRange, String registrationName, InternalKvState<?> kvState) { KvStateID kvStateId = registry.registerKvState(jobId, jobVertexId, keyGroupRange, registrationName, kvState); registeredKvStates.add(new KvStateInfo(keyGroupRange, registrationName, kvStateId)); }