public class ResultPartitionManager extends Object implements ResultPartitionProvider
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.Table<ExecutionAttemptID,IntermediateResultPartitionID,ResultPartition> |
registeredPartitions |
| Constructor and Description |
|---|
ResultPartitionManager() |
| Modifier and Type | Method and Description |
|---|---|
ResultSubpartitionView |
createSubpartitionView(ResultPartitionID partitionId,
int subpartitionIndex,
BufferProvider bufferProvider)
Returns the requested intermediate result partition input view.
|
void |
registerResultPartition(ResultPartition partition) |
void |
releasePartitionsProducedBy(ExecutionAttemptID executionId) |
void |
releasePartitionsProducedBy(ExecutionAttemptID executionId,
Throwable cause) |
void |
shutdown() |
public final com.google.common.collect.Table<ExecutionAttemptID,IntermediateResultPartitionID,ResultPartition> registeredPartitions
public void registerResultPartition(ResultPartition partition) throws IOException
IOExceptionpublic ResultSubpartitionView createSubpartitionView(ResultPartitionID partitionId, int subpartitionIndex, BufferProvider bufferProvider) throws IOException
ResultPartitionProvidercreateSubpartitionView in interface ResultPartitionProviderIOExceptionpublic void releasePartitionsProducedBy(ExecutionAttemptID executionId)
public void releasePartitionsProducedBy(ExecutionAttemptID executionId, Throwable cause)
public void shutdown()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.