Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadExceptionCount (0.09 sec)

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

       * on calls to {@code getIfPresent}.
       */
      public long loadExceptionCount() {
        return loadExceptionCount;
      }
    
      /**
       * Returns the ratio of cache loading attempts which threw exceptions. This is defined as {@code
       * loadExceptionCount / (loadSuccessCount + loadExceptionCount)}, or {@code 0.0} when {@code
       * loadSuccessCount + loadExceptionCount == 0}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

       * on calls to {@code getIfPresent}.
       */
      public long loadExceptionCount() {
        return loadExceptionCount;
      }
    
      /**
       * Returns the ratio of cache loading attempts which threw exceptions. This is defined as {@code
       * loadExceptionCount / (loadSuccessCount + loadExceptionCount)}, or {@code 0.0} when {@code
       * loadSuccessCount + loadExceptionCount == 0}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        CacheStats stats = cache.stats();
        assertThat(stats.evictionCount()).isEqualTo(removalListener.size());
        assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get());
        assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
        // each computed value is still in the cache, or was passed to the removal listener
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top