Uses of Interface
org.apache.flink.runtime.io.network.buffer.BufferRecycler
-
-
Uses of BufferRecycler in org.apache.flink.runtime.io.network.buffer
Subinterfaces of BufferRecycler in org.apache.flink.runtime.io.network.buffer Modifier and Type Interface Description interfaceBufferPoolA dynamically sized buffer pool.Classes in org.apache.flink.runtime.io.network.buffer that implement BufferRecycler Modifier and Type Class Description static classBufferRecycler.DummyBufferRecyclerThe buffer recycler does nothing for recycled segment.classFreeingBufferRecyclerA simple buffer recycler that frees the memory segments.classLocalBufferPoolA buffer pool used to manage a number ofBufferinstances from theNetworkBufferPool.Fields in org.apache.flink.runtime.io.network.buffer declared as BufferRecycler Modifier and Type Field Description static BufferRecyclerBufferRecycler.DummyBufferRecycler. INSTANCEstatic BufferRecyclerFreeingBufferRecycler. INSTANCEMethods in org.apache.flink.runtime.io.network.buffer that return BufferRecycler Modifier and Type Method Description BufferRecyclerBuffer. getRecycler()Gets the buffer's recycler.BufferRecyclerCompositeBuffer. getRecycler()BufferRecyclerFileRegionBuffer. getRecycler()BufferRecyclerNetworkBuffer. getRecycler()BufferRecyclerReadOnlySlicedNetworkBuffer. getRecycler()Methods in org.apache.flink.runtime.io.network.buffer with parameters of type BufferRecycler Modifier and Type Method Description voidBuffer. setRecycler(BufferRecycler bufferRecycler)Sets the buffer's recycler.voidCompositeBuffer. setRecycler(BufferRecycler bufferRecycler)voidFileRegionBuffer. setRecycler(BufferRecycler bufferRecycler)voidNetworkBuffer. setRecycler(BufferRecycler bufferRecycler)voidReadOnlySlicedNetworkBuffer. setRecycler(BufferRecycler bufferRecycler)Constructors in org.apache.flink.runtime.io.network.buffer with parameters of type BufferRecycler Constructor Description BufferBuilder(org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler)NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler)Creates a new buffer instance backed by the given memorySegment with 0 for the readerIndex and writerIndex.NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler, Buffer.DataType dataType)Creates a new buffer instance backed by the given memorySegment with 0 for the readerIndex and writerIndex.NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler, Buffer.DataType dataType, boolean isCompressed, int size)Creates a new buffer instance backed by the given memorySegment with 0 for the readerIndex and size as writerIndex.NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler, Buffer.DataType dataType, int size)Creates a new buffer instance backed by the given memorySegment with 0 for the readerIndex and size as writerIndex. -
Uses of BufferRecycler in org.apache.flink.runtime.io.network.partition
Fields in org.apache.flink.runtime.io.network.partition declared as BufferRecycler Modifier and Type Field Description protected BufferRecyclerSortBuffer. bufferRecyclerBufferRecyclerused to recycleSortBuffer.freeSegments.Methods in org.apache.flink.runtime.io.network.partition with parameters of type BufferRecycler Modifier and Type Method Description static BufferBufferReaderWriterUtil. readFromByteChannel(FileChannel channel, ByteBuffer headerBuffer, org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler bufferRecycler)Constructors in org.apache.flink.runtime.io.network.partition with parameters of type BufferRecycler Constructor Description HashBasedDataBuffer(LinkedList<org.apache.flink.core.memory.MemorySegment> freeSegments, BufferRecycler bufferRecycler, int numSubpartitions, int bufferSize, int numGuaranteedBuffers, int[] customReadOrder)SortBasedDataBuffer(LinkedList<org.apache.flink.core.memory.MemorySegment> freeSegments, BufferRecycler bufferRecycler, int numSubpartitions, int bufferSize, int numGuaranteedBuffers, int[] customReadOrder)SortBuffer(LinkedList<org.apache.flink.core.memory.MemorySegment> freeSegments, BufferRecycler bufferRecycler, int numSubpartitions, int bufferSize, int numGuaranteedBuffers, int[] customReadOrder) -
Uses of BufferRecycler in org.apache.flink.runtime.io.network.partition.consumer
Classes in org.apache.flink.runtime.io.network.partition.consumer that implement BufferRecycler Modifier and Type Class Description classBufferManagerThe general buffer manager used byInputChannelto request/recycle exclusive or floating buffers. -
Uses of BufferRecycler in org.apache.flink.runtime.io.network.partition.hybrid.tiered.file
Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.file with parameters of type BufferRecycler Modifier and Type Method Description PartitionFileReader.ReadBufferResultPartitionFileReader. readBuffer(TieredStoragePartitionId partitionId, TieredStorageSubpartitionId subpartitionId, int segmentId, int bufferIndex, org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler, PartitionFileReader.ReadProgress readProgress, CompositeBuffer partialBuffer)Read a buffer from the partition file.PartitionFileReader.ReadBufferResultProducerMergedPartitionFileReader. readBuffer(TieredStoragePartitionId partitionId, TieredStorageSubpartitionId subpartitionId, int segmentId, int bufferIndex, org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler, PartitionFileReader.ReadProgress readProgress, CompositeBuffer partialBuffer)PartitionFileReader.ReadBufferResultSegmentPartitionFileReader. readBuffer(TieredStoragePartitionId partitionId, TieredStorageSubpartitionId subpartitionId, int segmentId, int bufferIndex, org.apache.flink.core.memory.MemorySegment memorySegment, BufferRecycler recycler, PartitionFileReader.ReadProgress readProgress, CompositeBuffer partialBuffer) -
Uses of BufferRecycler in org.apache.flink.runtime.io.network.partition.hybrid.tiered.storage
Constructors in org.apache.flink.runtime.io.network.partition.hybrid.tiered.storage with parameters of type BufferRecycler Constructor Description TieredStorageSortBuffer(LinkedList<org.apache.flink.core.memory.MemorySegment> freeSegments, BufferRecycler bufferRecycler, int numSubpartitions, int bufferSize, int numGuaranteedBuffers, boolean isPartialRecordAllowed) -
Uses of BufferRecycler in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.disk
Classes in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.disk that implement BufferRecycler Modifier and Type Class Description classDiskIOSchedulerTheDiskIOScheduleris a scheduler that controls the reading of data from shuffle files.
-