Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for recordMisses (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/cache/AbstractCache.java

         *
         * @param count the number of misses to record
         * @since 11.0
         */
        void recordMisses(int count);
    
        /**
         * Records the successful load of a new entry. This should be called when a cache request causes
         * an entry to be loaded, and the loading completes successfully. In contrast to {@link
         * #recordMisses}, this method should only be called by the loading thread.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        for (int i = 0; i < 13; i++) {
          counter.recordLoadSuccess(i);
        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

          Suppliers.ofInstance(
              new StatsCounter() {
                @Override
                public void recordHits(int count) {}
    
                @Override
                public void recordMisses(int count) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
                public void recordLoadSuccess(long loadTime) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          if (value == null) {
            statsCounter.recordMisses(1);
            return null;
          }
          if (!isExpired(value)) {
            statsCounter.recordHits(1);
            value.updateTimestamp();
            return value.getValue();
          }
    
          statsCounter.recordEviction();
          statsCounter.recordMisses(1);
          cachingHashMap.remove(key);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

              // of the time.
              synchronized (e) {
                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
            }
          } else {
            // The entry already exists. Wait for loading.
            return waitForLoadingValue(e, key, valueReference);
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
Back to Top