public abstract class FinalizablePhantomReference<T> extends PhantomReference<T>
finalizeReferent() method which a
 background thread invokes after the garbage collector reclaims the
 referent. This is a simpler alternative to using a ReferenceQueue.| Modifier | Constructor and Description | 
|---|---|
| protected  | FinalizablePhantomReference(T referent) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | finalizeReferent()Invoked on a background thread after the referent has been garbage
 collected. | 
getclear, clone, enqueue, isEnqueuedprotected FinalizablePhantomReference(T referent)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.