Top Interfaces Classes
module org.jnrproject.ffi

Package jnr.ffi.util.ref


Interface Summary

Modifier and TypeInterface and Description
public interface
FinalizableReference

Implemented by references that have code to run after garbage collection of their referents.

Class Summary

Modifier and TypeClass and Description
public abstract class
FinalizablePhantomReference<T>

Phantom reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.

public class
FinalizableReferenceQueue

A reference queue with an associated background thread that dequeues references and invokes FinalizableReference#finalizeReferent() on them.

public abstract class
FinalizableSoftReference<T>

Soft reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.

public abstract class
FinalizableWeakReference<T>

Weak reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.