finalizeReferent() method which a background thread invokes after
the garbage collector reclaims the referent. This is a simpler alternative to using a ReferenceQueue.
| Access | Constructor and Description |
|---|---|
| protected | FinalizableWeakReference(T
to weakly reference referent, FinalizableReferenceQueue that should finalize the referent queue)Constructs a new finalizable weak reference. |
| FinalizableWeakReference | back to summary |
|---|---|
| protected FinalizableWeakReference(T referent, FinalizableReferenceQueue queue) Constructs a new finalizable weak reference.
| |