Uses of Package
java.lang.ref
Package
Description
Provides reference-object classes, which support a limited degree
of interaction with the garbage collector.
-
ClassDescription
Cleaner
manages a set of object references and corresponding cleaning actions.Cleanable
represents an object and a cleaning action registered in aCleaner
.Abstract base class for reference objects.Reference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected.