Interface BufferRecycler

All Known Subinterfaces:
BufferPool
All Known Implementing Classes:
BufferManager, BufferRecycler.DummyBufferRecycler, DiskIOScheduler, FreeingBufferRecycler, LocalBufferPool

public interface BufferRecycler
Interface for recycling MemorySegments.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    The buffer recycler does nothing for recycled segment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    recycle(org.apache.flink.core.memory.MemorySegment memorySegment)
    Recycles the MemorySegment to its original BufferPool instance.
  • Method Details

    • recycle

      void recycle(org.apache.flink.core.memory.MemorySegment memorySegment)
      Recycles the MemorySegment to its original BufferPool instance.
      Parameters:
      memorySegment - The memory segment to be recycled.