Class FreeingBufferRecycler
- java.lang.Object
-
- org.apache.flink.runtime.io.network.buffer.FreeingBufferRecycler
-
- All Implemented Interfaces:
BufferRecycler
public class FreeingBufferRecycler extends Object implements BufferRecycler
A simple buffer recycler that frees the memory segments.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.network.buffer.BufferRecycler
BufferRecycler.DummyBufferRecycler
-
-
Field Summary
Fields Modifier and Type Field Description static BufferRecycler
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recycle(MemorySegment memorySegment)
Frees the given memory segment.
-
-
-
Field Detail
-
INSTANCE
public static final BufferRecycler INSTANCE
-
-
Method Detail
-
recycle
public void recycle(MemorySegment memorySegment)
Frees the given memory segment.- Specified by:
recycle
in interfaceBufferRecycler
- Parameters:
memorySegment
- The memory segment to be recycled.
-
-