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 |
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 shutdown()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.