Class FreeingBufferRecycler
java.lang.Object
org.apache.flink.runtime.io.network.buffer.FreeingBufferRecycler
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidrecycle(org.apache.flink.core.memory.MemorySegment memorySegment) Frees the given memory segment.
-
Field Details
-
INSTANCE
-
-
Method Details
-
recycle
public void recycle(org.apache.flink.core.memory.MemorySegment memorySegment) Frees the given memory segment.- Specified by:
recyclein interfaceBufferRecycler- Parameters:
memorySegment- The memory segment to be recycled.
-