Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadSuccessCount (0.06 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        CacheStats stats = cache.stats();
        assertEquals(removalListener.size(), stats.evictionCount());
        assertEquals(computeCount.get(), stats.loadSuccessCount());
        assertEquals(exceptionCount.get() + computeNullCount.get(), stats.loadExceptionCount());
        // each computed value is still in the cache, or was passed to the removal listener
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top