Interface BufferRecycler
-
- All Known Subinterfaces:
BufferPool
- All Known Implementing Classes:
BufferManager
,BufferRecycler.DummyBufferRecycler
,CompressedBlockChannelReader
,CompressedBlockChannelWriter
,CompressedHeaderlessChannelReaderInputView
,CompressedHeaderlessChannelWriterOutputView
,DiskIOScheduler
,FreeingBufferRecycler
,LocalBufferPool
public interface BufferRecycler
Interface for recyclingMemorySegment
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BufferRecycler.DummyBufferRecycler
The buffer recycler does nothing for recycled segment.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
recycle(MemorySegment memorySegment)
Recycles theMemorySegment
to its originalBufferPool
instance.
-
-
-
Method Detail
-
recycle
void recycle(MemorySegment memorySegment)
Recycles theMemorySegment
to its originalBufferPool
instance.- Parameters:
memorySegment
- The memory segment to be recycled.
-
-