public class RefCountedMemory extends Memory implements java.lang.AutoCloseable
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)
public void close()
close
in interface java.lang.AutoCloseable
Copyright © 2014 The Apache Software Foundation