Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for totalLoadTime (0.14 sec)

  1. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0.0, stats.loadExceptionRate());
        assertEquals(0, stats.loadCount());
        assertEquals(0, stats.totalLoadTime());
        assertEquals(0.0, stats.averageLoadPenalty());
        assertEquals(0, stats.evictionCount());
      }
    
      public void testSingle() {
        CacheStats stats = new CacheStats(11, 13, 17, 19, 23, 27);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 30 14:58:49 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       * or {@code loadExceptionCount} is incremented.
       */
      @SuppressWarnings("GoodTime") // should return a java.time.Duration
      public long totalLoadTime() {
        return totalLoadTime;
      }
    
      /**
       * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /
       * (loadSuccessCount + loadExceptionCount)}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheStats.java

       * or {@code loadExceptionCount} is incremented.
       */
      @SuppressWarnings("GoodTime") // should return a java.time.Duration
      public long totalLoadTime() {
        return totalLoadTime;
      }
    
      /**
       * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /
       * (loadSuccessCount + loadExceptionCount)}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/AbstractCache.java

        @Override
        public void recordLoadSuccess(long loadTime) {
          loadSuccessCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
        public void recordLoadException(long loadTime) {
          loadExceptionCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @Override
        public void recordEviction() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/AbstractCache.java

        @Override
        public void recordLoadSuccess(long loadTime) {
          loadSuccessCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
        public void recordLoadException(long loadTime) {
          loadExceptionCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @Override
        public void recordEviction() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
Back to top