JavaScript is disabled on your browser.
This specification is not final and is subject to change. Use is subject to
license terms
.
Skip navigation links
Overview
Class
Use
Tree
Preview
New
Deprecated
Index
Search
Help
Java SE 24 & JDK 24
DRAFT 24-crac+20-25
java.base
java.lang.ref
Cleaner
Cleanable
Uses of Interface
java.lang.ref.Cleaner.Cleanable
Packages that use
Cleaner.Cleanable
Package
Description
java.lang.ref
Provides reference-object classes, which support a limited degree of interaction with the garbage collector.
Uses of
Cleaner.Cleanable
in
java.lang.ref
Methods in
java.lang.ref
that return
Cleaner.Cleanable
Modifier and Type
Method
Description
Cleaner.Cleanable
Cleaner.
register
(
Object
obj,
Runnable
action)
Registers an object and a cleaning action to run when the object becomes phantom reachable.