use of org.apache.flink.queryablestate.KvStateID in project flink by apache.
the class TaskKvStateRegistry method registerKvState.
/**
* 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, ClassLoader userClassLoader) {
KvStateID kvStateId = registry.registerKvState(jobId, jobVertexId, keyGroupRange, registrationName, kvState, userClassLoader);
registeredKvStates.add(new KvStateInfo(keyGroupRange, registrationName, kvStateId));
}
Aggregations