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
IOException
public final void decRef() throws IOException
release()
.IOException
public final T get()
public final int getRefCount()
public final void incRef()
decRef()
.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.