public interface RefCounted
inst.incRef();
try {
// use the inst...
} finally {
inst.decRef();
}
void incRef()
org.apache.lucene.store.AlreadyClosedException - iff the reference counter can not be incremented.decRef(),
tryIncRef()boolean tryIncRef()
void decRef()
incRef()Copyright © 2009–2017. All rights reserved.