全路径名:
com.google.common.base Interface FinalizableReference
声明
代码语言:javascript复制public interface FinalizableReference
简介
由有代码需要其参照类的垃圾回收之后执行的代码的引用的类实现。
方法概述
方法类型 | 方法 |
---|---|
void | finalizeReferent()Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created. |
方法详情
finalizeReferent
void finalizeReferent() Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created.