code: public void releasePartitions(Collection<ResultPartitionID> partitionIds) {
  		for (ResultPartitionID partitionId : partitionIds) {
  			resultPartitionManager.releasePartition(partitionId, null);
  		}
  	}
docs: Batch release intermediate result partitions.
  
  @param partitionIds partition ids to release