public interface RefCounted
inst.incRef();
try {
// use the inst...
} finally {
inst.decRef();
}
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
decRef()
Decreases the refCount of this instance.
|
void |
incRef()
Increments the refCount of this instance.
|
boolean |
tryIncRef()
Tries to increment the refCount of this instance.
|
void incRef()
org.apache.lucene.store.AlreadyClosedException - iff the reference counter can not be incremented.decRef(),
tryIncRef()boolean tryIncRef()
void decRef()
incRef()Copyright © 2009–2016. All rights reserved.