Class ResultPartitionFactory
- java.lang.Object
-
- org.apache.flink.runtime.io.network.partition.ResultPartitionFactory
-
public class ResultPartitionFactory extends Object
Factory forResultPartitionto use inNettyShuffleEnvironment.
-
-
Constructor Summary
Constructors Constructor Description ResultPartitionFactory(ResultPartitionManager partitionManager, FileChannelManager channelManager, BufferPoolFactory bufferPoolFactory, BatchShuffleReadBufferPool batchShuffleReadBufferPool, ScheduledExecutorService batchShuffleReadIOExecutor, BoundedBlockingSubpartitionType blockingSubpartitionType, int configuredNetworkBuffersPerChannel, int floatingNetworkBuffersPerGate, int networkBufferSize, int startingBufferSize, boolean batchShuffleCompressionEnabled, org.apache.flink.configuration.NettyShuffleEnvironmentOptions.CompressionCodec compressionCodec, int maxBuffersPerChannel, int sortShuffleMinBuffers, int sortShuffleMinParallelism, boolean sslEnabled, int maxOverdraftBuffersPerGate, TieredResultPartitionFactory tieredResultPartitionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultPartitioncreate(String taskNameWithSubtaskAndId, int partitionIndex, ResultPartitionDeploymentDescriptor desc)ResultPartitioncreate(String taskNameWithSubtaskAndId, int partitionIndex, ResultPartitionID id, ResultPartitionType type, int numberOfPartitions, int numberOfSubpartitions, int maxParallelism, boolean isBroadcast, ShuffleDescriptor shuffleDescriptor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory, boolean isNumberOfPartitionConsumerUndefined)
-
-
-
Constructor Detail
-
ResultPartitionFactory
public ResultPartitionFactory(ResultPartitionManager partitionManager, FileChannelManager channelManager, BufferPoolFactory bufferPoolFactory, BatchShuffleReadBufferPool batchShuffleReadBufferPool, ScheduledExecutorService batchShuffleReadIOExecutor, BoundedBlockingSubpartitionType blockingSubpartitionType, int configuredNetworkBuffersPerChannel, int floatingNetworkBuffersPerGate, int networkBufferSize, int startingBufferSize, boolean batchShuffleCompressionEnabled, org.apache.flink.configuration.NettyShuffleEnvironmentOptions.CompressionCodec compressionCodec, int maxBuffersPerChannel, int sortShuffleMinBuffers, int sortShuffleMinParallelism, boolean sslEnabled, int maxOverdraftBuffersPerGate, TieredResultPartitionFactory tieredResultPartitionFactory)
-
-
Method Detail
-
create
public ResultPartition create(String taskNameWithSubtaskAndId, int partitionIndex, ResultPartitionDeploymentDescriptor desc)
-
create
@VisibleForTesting public ResultPartition create(String taskNameWithSubtaskAndId, int partitionIndex, ResultPartitionID id, ResultPartitionType type, int numberOfPartitions, int numberOfSubpartitions, int maxParallelism, boolean isBroadcast, ShuffleDescriptor shuffleDescriptor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory, boolean isNumberOfPartitionConsumerUndefined)
-
-