Top Description Methods
jnr.ffi.util.ref

public Interface FinalizableReference

Known Direct Implementers
jnr.ffi.util.ref.FinalizableSoftReference, jnr.ffi.util.ref.FinalizableWeakReference, jnr.ffi.util.ref.FinalizablePhantomReference

Implemented by references that have code to run after garbage collection of their referents.
Author
Bob Lee
Since
2.0 (imported from Google Collections Library)
See Also
FinalizableReferenceQueue

Method Summary

Modifier and TypeMethod and Description
public void
finalizeReferent()

Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created.

Method Detail

finalizeReferentback to summary
public void finalizeReferent()

Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created.