Skip to content

Commit 487c464

Browse files
committed
Minor
1 parent a9fe1fe commit 487c464

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lucene/core/src/java/org/apache/lucene/store/MemorySegmentIndexInput.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,16 @@
4141
*/
4242
abstract class MemorySegmentIndexInput extends IndexInput implements MemorySegmentAccessInput {
4343

44-
/** Shared counter for prefetch hit tracking across clones and slices. */
44+
/** Shared counter for prefetch hit tracking. */
4545
static final class SharedPrefetchCounter {
4646
private int count;
4747

48+
/** Increments and gets the shared counter */
4849
int incrementAndGet() {
4950
return ++count;
5051
}
5152

53+
/** Resets the shared counter */
5254
void reset() {
5355
count = 0;
5456
}

0 commit comments

Comments
 (0)