接口 Cleaner


public interface Cleaner
Wrapper for Cleaner providing registration support.
从以下版本开始:
3.2.0
作者:
Phillip Webb
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final Cleaner
    Provides access to the default clean instance which delegates to Cleaner.
  • 方法概要

    修饰符和类型
    方法
    说明
    register(Object obj, Runnable action)
    Registers an object and the clean action to run when the object becomes phantom reachable.