Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Method |
INVOKE_CLEANER |
private static InternalLogger |
logger |
Constructor and Description |
---|
CleanerJava9() |
Modifier and Type | Method and Description |
---|---|
void |
freeDirectBuffer(java.nio.ByteBuffer buffer)
Free a direct
ByteBuffer if possible |
(package private) static boolean |
isSupported() |
private static final InternalLogger logger
private static final java.lang.reflect.Method INVOKE_CLEANER
static boolean isSupported()
public void freeDirectBuffer(java.nio.ByteBuffer buffer)
Cleaner
ByteBuffer
if possiblefreeDirectBuffer
in interface Cleaner