Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCacheHitRatio (2.04 sec)

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

        private final AtomicLong cacheInvalidations = new AtomicLong();
        private final AtomicLong changeNotifications = new AtomicLong();
        
        public double getCacheHitRatio() {
            long hits = cacheHits.get();
            long misses = cacheMisses.get();
            long total = hits + misses;
            
            if (total == 0) return 0.0;
            return (double) hits / total;
    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