Class BufferRecycler.DummyBufferRecycler
- java.lang.Object
-
- org.apache.flink.runtime.io.network.buffer.BufferRecycler.DummyBufferRecycler
-
- All Implemented Interfaces:
BufferRecycler
- Enclosing interface:
- BufferRecycler
public static final class BufferRecycler.DummyBufferRecycler extends Object implements BufferRecycler
The buffer recycler does nothing for recycled segment.
-
-
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)
Recycles theMemorySegment
to its originalBufferPool
instance.
-
-
-
Field Detail
-
INSTANCE
public static final BufferRecycler INSTANCE
-
-
Method Detail
-
recycle
public void recycle(MemorySegment memorySegment)
Description copied from interface:BufferRecycler
Recycles theMemorySegment
to its originalBufferPool
instance.- Specified by:
recycle
in interfaceBufferRecycler
- Parameters:
memorySegment
- The memory segment to be recycled.
-
-