public static final class BufferRecycler.DummyBufferRecycler extends Object implements BufferRecycler
BufferRecycler.DummyBufferRecycler
Modifier and Type | Field and Description |
---|---|
static BufferRecycler |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
recycle(MemorySegment memorySegment)
Recycles the
MemorySegment to its original BufferPool instance. |
public static final BufferRecycler INSTANCE
public void recycle(MemorySegment memorySegment)
BufferRecycler
MemorySegment
to its original BufferPool
instance.recycle
in interface BufferRecycler
memorySegment
- The memory segment to be recycled.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.