| Package | Description |
|---|---|
| org.apache.flink.runtime.io.network.partition.hybrid |
| Modifier and Type | Field and Description |
|---|---|
static HsConsumerId |
HsConsumerId.ANY
This consumer id is used in the scenarios that information related to specific consumer needs
to be ignored.
|
static HsConsumerId |
HsConsumerId.DEFAULT
This consumer id is used for the first consumer of a single subpartition.
|
| Modifier and Type | Method and Description |
|---|---|
static HsConsumerId |
HsConsumerId.newId(HsConsumerId lastId) |
| Modifier and Type | Method and Description |
|---|---|
void |
HsBufferContext.consumed(HsConsumerId consumerId) |
HsSubpartitionFileReader |
HsSubpartitionFileReader.Factory.createFileReader(int subpartitionId,
HsConsumerId consumerId,
FileChannel dataFileChannel,
HsSubpartitionConsumerInternalOperations operation,
HsFileDataIndex dataIndex,
int maxBuffersReadAhead,
java.util.function.Consumer<HsSubpartitionFileReader> fileReaderReleaser,
ByteBuffer headerBuffer) |
HsSubpartitionFileReader |
HsSubpartitionFileReaderImpl.Factory.createFileReader(int subpartitionId,
HsConsumerId consumerId,
FileChannel dataFileChannel,
HsSubpartitionConsumerInternalOperations operation,
HsFileDataIndex dataIndex,
int maxBuffersReadAhead,
java.util.function.Consumer<HsSubpartitionFileReader> fileReaderReleaser,
ByteBuffer headerBuffer) |
static HsSpillingInfoProvider.ConsumeStatusWithId |
HsSpillingInfoProvider.ConsumeStatusWithId.fromStatusAndConsumerId(HsSpillingInfoProvider.ConsumeStatus consumeStatus,
HsConsumerId consumerId) |
List<Integer> |
HsSpillingInfoProvider.getNextBufferIndexToConsume(HsConsumerId consumerId)
Get all subpartition's next buffer index to consume of specific consumer.
|
List<Integer> |
HsMemoryDataManager.getNextBufferIndexToConsume(HsConsumerId consumerId) |
boolean |
HsBufferContext.isConsumed(HsConsumerId consumerId) |
static HsConsumerId |
HsConsumerId.newId(HsConsumerId lastId) |
void |
HsMemoryDataManagerOperation.onConsumerReleased(int subpartitionId,
HsConsumerId consumerId)
This method is called when consumer is decided to released.
|
void |
HsMemoryDataManager.onConsumerReleased(int subpartitionId,
HsConsumerId consumerId) |
HsSubpartitionConsumerMemoryDataManager |
HsSubpartitionMemoryDataManager.registerNewConsumer(HsConsumerId consumerId) |
HsDataView |
HsFileDataManager.registerNewConsumer(int subpartitionId,
HsConsumerId consumerId,
HsSubpartitionConsumerInternalOperations operation)
This method only called by result partition to create subpartitionFileReader.
|
HsDataView |
HsMemoryDataManager.registerNewConsumer(int subpartitionId,
HsConsumerId consumerId,
HsSubpartitionConsumerInternalOperations viewOperations)
|
void |
HsSubpartitionMemoryDataManager.releaseConsumer(HsConsumerId consumerId) |
| Modifier and Type | Method and Description |
|---|---|
void |
HsMemoryDataManagerOperation.onDataAvailable(int subpartitionId,
Collection<HsConsumerId> consumerIds)
This method is called when subpartition data become available.
|
void |
HsMemoryDataManager.onDataAvailable(int subpartitionId,
Collection<HsConsumerId> consumerIds) |
| Constructor and Description |
|---|
HsSubpartitionConsumerMemoryDataManager(Lock resultPartitionLock,
Lock consumerLock,
int subpartitionId,
HsConsumerId consumerId,
HsMemoryDataManagerOperation memoryDataManagerOperation) |
HsSubpartitionFileReaderImpl(int subpartitionId,
HsConsumerId consumerId,
FileChannel dataFileChannel,
HsSubpartitionConsumerInternalOperations operations,
HsFileDataIndex dataIndex,
int maxBufferReadAhead,
java.util.function.Consumer<HsSubpartitionFileReader> fileReaderReleaser,
ByteBuffer headerBuf) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.