Package jnr.ffi.util.ref
-
Interface Summary Interface Description FinalizableReference Implemented by references that have code to run after garbage collection of their referents. -
Class Summary Class Description FinalizablePhantomReference<T> Phantom reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.FinalizableReferenceQueue A reference queue with an associated background thread that dequeues references and invokesFinalizableReference.finalizeReferent()
on them.FinalizableSoftReference<T> Soft reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.FinalizableWeakReference<T> Weak reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.