class DefaultResultPartition implements SchedulingResultPartition {

	@Override
	public ResultPartitionState getState() {
		return resultPartitionStateSupplier.get();
	}

	  DefaultResultPartition(
			IntermediateResultPartitionID partitionId,
			IntermediateDataSetID intermediateDataSetId,
			ResultPartitionType partitionType,
			Supplier<ResultPartitionState> resultPartitionStateSupplier);

}