Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for recordCacheHit (0.55 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

            long misses = cacheMisses.get();
            long total = hits + misses;
            
            if (total == 0) return 0.0;
            return (double) hits / total;
        }
        
        public void recordCacheHit() { cacheHits.incrementAndGet(); }
        public void recordCacheMiss() { cacheMisses.incrementAndGet(); }
        public void recordInvalidation() { cacheInvalidations.incrementAndGet(); }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top