public class RefCountedMemory extends Memory implements java.lang.AutoCloseable
NO_BYTE_BUFFERS, peer, size
Constructor and Description |
---|
RefCountedMemory(long size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RefCountedMemory |
copy(long newSize) |
void |
free() |
boolean |
reference() |
void |
unreference()
decrement reference count.
|
public boolean reference()
public void unreference()
public RefCountedMemory copy(long newSize)
Copyright © 2009- The Apache Software Foundation