Interface | Description |
---|---|
FinalizableReference |
Implemented by references that have code to run after garbage collection of their referents.
|
Class | Description |
---|---|
FinalizablePhantomReference<T> |
Phantom reference with a
finalizeReferent() 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 invokes
FinalizableReference.finalizeReferent() on them. |
FinalizableSoftReference<T> |
Soft reference with a
finalizeReferent() method which a background thread invokes after
the garbage collector reclaims the referent. |
FinalizableWeakReference<T> |
Weak reference with a
finalizeReferent() method which a background thread invokes after
the garbage collector reclaims the referent. |
Copyright © 2017. All rights reserved.