public class SingleInputGateFactory extends Object
SingleInputGate to use in NettyShuffleEnvironment.| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
SingleInputGateFactory.ChannelStatistics
Statistics of input channels.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected ConnectionManager |
connectionManager |
protected NetworkBufferPool |
networkBufferPool |
protected int |
networkBuffersPerChannel |
protected ResultPartitionManager |
partitionManager |
protected int |
partitionRequestInitialBackoff |
protected int |
partitionRequestMaxBackoff |
protected TaskEventPublisher |
taskEventPublisher |
protected ResourceID |
taskExecutorResourceId |
| 构造器和说明 |
|---|
SingleInputGateFactory(ResourceID taskExecutorResourceId,
NettyShuffleEnvironmentConfiguration networkConfig,
ConnectionManager connectionManager,
ResultPartitionManager partitionManager,
TaskEventPublisher taskEventPublisher,
NetworkBufferPool networkBufferPool) |
| 限定符和类型 | 方法和说明 |
|---|---|
SingleInputGate |
create(ShuffleIOOwnerContext owner,
int gateIndex,
InputGateDeploymentDescriptor igdd,
PartitionProducerStateProvider partitionProducerStateProvider)
Creates an input gate and all of its input channels.
|
protected InputChannel |
createKnownInputChannel(SingleInputGate inputGate,
int index,
NettyShuffleDescriptor inputChannelDescriptor,
int consumedSubpartitionIndex,
SingleInputGateFactory.ChannelStatistics channelStatistics,
InputChannelMetrics metrics) |
@Nonnull protected final ResourceID taskExecutorResourceId
protected final int partitionRequestInitialBackoff
protected final int partitionRequestMaxBackoff
@Nonnull protected final ConnectionManager connectionManager
@Nonnull protected final ResultPartitionManager partitionManager
@Nonnull protected final TaskEventPublisher taskEventPublisher
@Nonnull protected final NetworkBufferPool networkBufferPool
protected final int networkBuffersPerChannel
public SingleInputGateFactory(@Nonnull ResourceID taskExecutorResourceId, @Nonnull NettyShuffleEnvironmentConfiguration networkConfig, @Nonnull ConnectionManager connectionManager, @Nonnull ResultPartitionManager partitionManager, @Nonnull TaskEventPublisher taskEventPublisher, @Nonnull NetworkBufferPool networkBufferPool)
public SingleInputGate create(@Nonnull ShuffleIOOwnerContext owner, int gateIndex, @Nonnull InputGateDeploymentDescriptor igdd, @Nonnull PartitionProducerStateProvider partitionProducerStateProvider)
@VisibleForTesting protected InputChannel createKnownInputChannel(SingleInputGate inputGate, int index, NettyShuffleDescriptor inputChannelDescriptor, int consumedSubpartitionIndex, SingleInputGateFactory.ChannelStatistics channelStatistics, InputChannelMetrics metrics)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.