public class ResultPartitionManager extends Object implements ResultPartitionProvider
Modifier and Type | Field and Description |
---|---|
org.apache.flink.shaded.guava18.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,
BufferAvailabilityListener availabilityListener)
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 org.apache.flink.shaded.guava18.com.google.common.collect.Table<ExecutionAttemptID,IntermediateResultPartitionID,ResultPartition> registeredPartitions
public void registerResultPartition(ResultPartition partition) throws IOException
IOException
public ResultSubpartitionView createSubpartitionView(ResultPartitionID partitionId, int subpartitionIndex, BufferAvailabilityListener availabilityListener) throws IOException
ResultPartitionProvider
createSubpartitionView
in interface ResultPartitionProvider
IOException
public void releasePartitionsProducedBy(ExecutionAttemptID executionId)
public void releasePartitionsProducedBy(ExecutionAttemptID executionId, Throwable cause)
public void shutdown()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.