Class HsSubpartitionFileReaderImpl.Factory
- java.lang.Object
-
- org.apache.flink.runtime.io.network.partition.hybrid.HsSubpartitionFileReaderImpl.Factory
-
- All Implemented Interfaces:
HsSubpartitionFileReader.Factory
- Enclosing class:
- HsSubpartitionFileReaderImpl
public static class HsSubpartitionFileReaderImpl.Factory extends Object implements HsSubpartitionFileReader.Factory
Factory ofHsSubpartitionFileReader.
-
-
Field Summary
Fields Modifier and Type Field Description static HsSubpartitionFileReaderImpl.FactoryINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsSubpartitionFileReadercreateFileReader(int subpartitionId, HsConsumerId consumerId, FileChannel dataFileChannel, HsSubpartitionConsumerInternalOperations operation, HsFileDataIndex dataIndex, int maxBuffersReadAhead, java.util.function.Consumer<HsSubpartitionFileReader> fileReaderReleaser, ByteBuffer headerBuffer)
-
-
-
Field Detail
-
INSTANCE
public static final HsSubpartitionFileReaderImpl.Factory INSTANCE
-
-
Method Detail
-
createFileReader
public HsSubpartitionFileReader createFileReader(int subpartitionId, HsConsumerId consumerId, FileChannel dataFileChannel, HsSubpartitionConsumerInternalOperations operation, HsFileDataIndex dataIndex, int maxBuffersReadAhead, java.util.function.Consumer<HsSubpartitionFileReader> fileReaderReleaser, ByteBuffer headerBuffer)
- Specified by:
createFileReaderin interfaceHsSubpartitionFileReader.Factory
-
-