| 限定符和类型 | 方法和说明 |
|---|---|
void |
NetworkSequenceViewReader.notifySubpartitionsCreated(ResultPartition partition,
ResultSubpartitionIndexSet subpartitionIndexSet)
When the
ResultPartitionManager registers ResultPartition, it will get the
PartitionRequestListener via given ResultPartitionID, and create subpartition
view reader for downstream task. |
void |
PartitionRequestClient.requestSubpartition(ResultPartitionID partitionId,
ResultSubpartitionIndexSet subpartitionIndexSet,
RemoteInputChannel inputChannel,
int delayMs)
Requests a range of remote sub partitions.
|
void |
NetworkSequenceViewReader.requestSubpartitionViewOrRegisterListener(ResultPartitionProvider partitionProvider,
ResultPartitionID resultPartitionId,
ResultSubpartitionIndexSet subpartitionIndexSet)
When the netty server receives the downstream task's partition request and the upstream task
has registered its partition, it will process the partition request immediately, otherwise it
will create a
PartitionRequestListener for given ResultPartitionID in ResultPartitionManager and notify the listener when the upstream task registers its
partition. |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultSubpartitionView |
ResultPartitionWriter.createSubpartitionView(ResultSubpartitionIndexSet indexSet,
BufferAvailabilityListener availabilityListener)
Returns a reader for the subpartition with the given index range.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NettyPartitionRequestClient.requestSubpartition(ResultPartitionID partitionId,
ResultSubpartitionIndexSet subpartitionIndexSet,
RemoteInputChannel inputChannel,
int delayMs)
Requests a remote intermediate result partition queue.
|
| 构造器和说明 |
|---|
NettyPartitionRequestListener(ResultPartitionProvider resultPartitionProvider,
NetworkSequenceViewReader reader,
ResultSubpartitionIndexSet subpartitionIndexSet,
ResultPartitionID resultPartitionId) |
NettyPartitionRequestListener(ResultPartitionProvider resultPartitionProvider,
NetworkSequenceViewReader reader,
ResultSubpartitionIndexSet subpartitionIndexSet,
ResultPartitionID resultPartitionId,
long createTimestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResultSubpartitionIndexSet |
ResultSubpartitionIndexSet.fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf source) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ResultSubpartitionIndexSet |
InputChannel.consumedSubpartitionIndexSet
The indexes of the subpartitions consumed by this channel.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResultSubpartitionIndexSet |
InputChannel.getConsumedSubpartitionIndexSet() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected InputChannel |
SingleInputGateFactory.createKnownInputChannel(SingleInputGate inputGate,
int index,
int buffersPerChannel,
NettyShuffleDescriptor inputChannelDescriptor,
ResultSubpartitionIndexSet subpartitionIndexSet,
SingleInputGateFactory.ChannelStatistics channelStatistics,
InputChannelMetrics metrics) |
| 构造器和说明 |
|---|
InputChannel(SingleInputGate inputGate,
int channelIndex,
ResultPartitionID partitionId,
ResultSubpartitionIndexSet consumedSubpartitionIndexSet,
int initialBackoff,
int maxBackoff,
org.apache.flink.metrics.Counter numBytesIn,
org.apache.flink.metrics.Counter numBuffersIn) |
LocalInputChannel(SingleInputGate inputGate,
int channelIndex,
ResultPartitionID partitionId,
ResultSubpartitionIndexSet consumedSubpartitionIndexSet,
ResultPartitionManager partitionManager,
TaskEventPublisher taskEventPublisher,
int initialBackoff,
int maxBackoff,
org.apache.flink.metrics.Counter numBytesIn,
org.apache.flink.metrics.Counter numBuffersIn,
ChannelStateWriter stateWriter) |
RemoteInputChannel(SingleInputGate inputGate,
int channelIndex,
ResultPartitionID partitionId,
ResultSubpartitionIndexSet consumedSubpartitionIndexSet,
ConnectionID connectionId,
ConnectionManager connectionManager,
int initialBackOff,
int maxBackoff,
int partitionRequestListenerTimeout,
int networkBuffersPerChannel,
org.apache.flink.metrics.Counter numBytesIn,
org.apache.flink.metrics.Counter numBuffersIn,
ChannelStateWriter stateWriter) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultSubpartitionIndexSet |
TieredStorageConsumerSpec.getSubpartitionIds() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
TieredStorageConsumerClient.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet)
Returns the index of the subpartition where the next buffer locates, or -1 if there is no
buffer available or the subpartition index does not belong to the specified indexSet.
|
| 构造器和说明 |
|---|
TieredStorageConsumerSpec(int gateIndex,
TieredStoragePartitionId tieredStoragePartitionId,
TieredStorageInputChannelId tieredStorageInputChannelId,
ResultSubpartitionIndexSet tieredStorageSubpartitionIds) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
TierConsumerAgent.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet)
Returns the index of the subpartition where the next buffer locates, or -1 if there is no
buffer available or the subpartition index does not belong to the specified indexSet.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
DiskTierConsumerAgent.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
MemoryTierConsumerAgent.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
RemoteTierConsumerAgent.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.