public abstract class ReferenceResource
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
available |
protected boolean |
cleanupOver |
protected java.util.concurrent.atomic.AtomicLong |
refCount |
| 构造器和说明 |
|---|
ReferenceResource() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract boolean |
cleanup(long currentRef) |
long |
getRefCount() |
boolean |
hold() |
boolean |
isAvailable() |
boolean |
isCleanupOver() |
void |
release() |
void |
shutdown(long intervalForcibly) |
Copyright © 2019. All Rights Reserved.