public class Cleaner
extends java.lang.Object
Object#finalize
based resource deallocation
that is deprecated for removal from the JDK.
This class is intented to be used only be JNA itself.
Modifier and Type | Class and Description |
---|---|
static interface |
Cleaner.Cleanable |
Modifier and Type | Method and Description |
---|---|
static Cleaner |
getCleaner() |
Cleaner.Cleanable |
register(java.lang.Object obj,
java.lang.Runnable cleanupTask) |
public static Cleaner getCleaner()
public Cleaner.Cleanable register(java.lang.Object obj, java.lang.Runnable cleanupTask)