Guava-1.1 接口FinalizableReference

2019-05-31 10:27:38 浏览数 (1)

全路径名:

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.

0 人点赞