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 ClassesModifier and TypeInterfaceDescriptionstatic final classThe buffer recycler does nothing for recycled segment. -
Method Summary
Modifier and TypeMethodDescriptionvoidrecycle(org.apache.flink.core.memory.MemorySegment memorySegment) Recycles theMemorySegmentto its originalBufferPoolinstance.
-
Method Details
-
recycle
void recycle(org.apache.flink.core.memory.MemorySegment memorySegment) Recycles theMemorySegmentto its originalBufferPoolinstance.- Parameters:
memorySegment- The memory segment to be recycled.
-