Uses of Class
java.lang.ref.Cleaner
Package
Description
Provides reference-object classes, which support a limited degree
of interaction with the garbage collector.
-
Uses of Cleaner in java.lang.ref
Modifier and TypeMethodDescriptionstatic Cleaner
Cleaner.create()
Returns a newCleaner
.static Cleaner
Cleaner.create
(ThreadFactory threadFactory) Returns a newCleaner
using aThread
from theThreadFactory
.