| Package | Description |
|---|---|
| org.apache.flink.runtime.io.network.partition.hybrid |
| Modifier and Type | Class and Description |
|---|---|
class |
HsSubpartitionConsumer
The read view of HsResultPartition, data can be read from memory or disk.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
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)
|
| Constructor and Description |
|---|
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.