code: public void unregisterAll() {
  		for (KvStateInfo kvState : registeredKvStates) {
  			registry.unregisterKvState(jobId, jobVertexId, kvState.keyGroupRange, kvState.registrationName, kvState.kvStateId);
  		}
  	}
docs: Unregisters all registered KvState instances from the KvStateRegistry.