Class ResultPartitionFactory
java.lang.Object
org.apache.flink.runtime.io.network.partition.ResultPartitionFactory
Factory for
ResultPartition to use in NettyShuffleEnvironment.-
Constructor Summary
ConstructorsConstructorDescriptionResultPartitionFactory(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
Modifier and TypeMethodDescriptioncreate(String taskNameWithSubtaskAndId, int partitionIndex, ResultPartitionDeploymentDescriptor desc) 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)
-
Constructor Details
-
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 Details
-
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)
-