We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fe1fe commit 487c464Copy full SHA for 487c464
lucene/core/src/java/org/apache/lucene/store/MemorySegmentIndexInput.java
@@ -41,14 +41,16 @@
41
*/
42
abstract class MemorySegmentIndexInput extends IndexInput implements MemorySegmentAccessInput {
43
44
- /** Shared counter for prefetch hit tracking across clones and slices. */
+ /** Shared counter for prefetch hit tracking. */
45
static final class SharedPrefetchCounter {
46
private int count;
47
48
+ /** Increments and gets the shared counter */
49
int incrementAndGet() {
50
return ++count;
51
}
52
53
+ /** Resets the shared counter */
54
void reset() {
55
count = 0;
56
0 commit comments