mirror of https://github.com/apache/lucene.git
make IndexReader.getRefCount() expert and public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f32bbf72f
commit
2e2eafd3d2
|
@ -114,8 +114,8 @@ public abstract class IndexReader implements Cloneable {
|
||||||
|
|
||||||
private volatile int refCount;
|
private volatile int refCount;
|
||||||
|
|
||||||
// for testing
|
/** Expert: returns the current refCount for this reader */
|
||||||
synchronized int getRefCount() {
|
public synchronized int getRefCount() {
|
||||||
return refCount;
|
return refCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue