rishabhdaim commented on code in PR #2903:
URL: https://github.com/apache/jackrabbit-oak/pull/2903#discussion_r3263507312


##########
oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentCache.java:
##########
@@ -103,11 +105,25 @@ public abstract Segment getSegment(@NotNull SegmentId id, 
@NotNull Callable<Segm
     public abstract AbstractCacheStats getCacheStats();
 
     /**
-     * Record a hit in this cache's underlying statistics.
+     * Notifies L2 that {@code id} was accessed via L1 memoisation ({@link 
SegmentId#getSegment()}).
+     * Updates the backing cache's recency/frequency when the segment is still 
cached, and records
+     * a hit in {@link #getCacheStats()}.
      *
-     * See {@code SegmentId#onAccess}
+     * @param id the segment id that was served from L1
      */
-    public abstract void recordHit();
+    public abstract void recordHit(@NotNull SegmentId id);
+
+    /**
+     * Feature toggle name to enable embedded verification for full GC mode 
for Mongo Document Store

Review Comment:
   this file is outdated. latest one doesn't have this wrong comment.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to