| Modifier and Type | Method and Description |
|---|---|
void |
decRef()
Decrements the reference counting of this object.
|
T |
get() |
int |
getRefCount()
Returns the current reference count.
|
void |
incRef()
Increments the reference count.
|
protected void |
release()
Called when reference counting hits 0.
|
protected final T object
public RefCount(T object)
protected void release()
throws IOException
IOExceptionpublic final void decRef()
throws IOException
release().IOExceptionpublic final T get()
public final int getRefCount()
public final void incRef()
decRef().Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.