public class FreeingBufferRecycler 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)
Frees the given memory segment.
|
public static final BufferRecycler INSTANCE
public void recycle(MemorySegment memorySegment)
recycle
in interface BufferRecycler
memorySegment
- The memory segment to be recycled.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.