code: public void unregisterKvState(
  			JobID jobId,
  			JobVertexID jobVertexId,
  			KeyGroupRange keyGroupRange,
  			String registrationName,
  			KvStateID kvStateId) {
  
  		KvStateEntry<?, ?, ?> entry = registeredKvStates.remove(kvStateId);
  		if (entry != null) {
  			entry.clear();
  
  			final KvStateRegistryListener listener = getKvStateRegistryListener(jobId);
  			if (listener != null) {
  				listener.notifyKvStateUnregistered(
  						jobId,
  						jobVertexId,
  						keyGroupRange,
  						registrationName);
  			}
  		}
  	}
docs: Unregisters the KvState instance identified by the given KvStateID.
  
  @param jobId     JobId the KvState instance belongs to
  @param kvStateId KvStateID to identify the KvState instance
  @param keyGroupRange    Key group range the KvState instance belongs to