class NettyShuffleEnvironment implements ShuffleEnvironment<ResultPartition, SingleInputGate> {

	@Override
	public void releasePartitionsLocally(Collection<ResultPartitionID> partitionIds) {
		ioExecutor.execute(() -> {
			for (ResultPartitionID partitionId : partitionIds) {
				resultPartitionManager.releasePartition(partitionId, null);
			}
		});
	}

	  NettyShuffleEnvironment(
			ResourceID taskExecutorResourceId,
			NettyShuffleEnvironmentConfiguration config,
			NetworkBufferPool networkBufferPool,
			ConnectionManager connectionManager,
			ResultPartitionManager resultPartitionManager,
			FileChannelManager fileChannelManager,
			ResultPartitionFactory resultPartitionFactory,
			SingleInputGateFactory singleInputGateFactory,
			Executor ioExecutor);

}