Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for evictionCount (0.06 sec)

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

            saturatedAdd(totalLoadTime, other.totalLoadTime),
            saturatedAdd(evictionCount, other.evictionCount));
      }
    
      @Override
      public int hashCode() {
        return Objects.hash(
            hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals("Eviction notifications must be received", 21, removalListener.getCount());
      }
    
      public void testRemovalListener_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
        AtomicInteger evictionCount = new AtomicInteger();
        AtomicInteger applyCount = new AtomicInteger();
        AtomicInteger totalSum = new AtomicInteger();
    
        RemovalListener<Integer, AtomicInteger> removalListener =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

          assertEquals("Invalid removal notification", notification.getKey(), notification.getValue());
        }
    
        CacheStats stats = cache.stats();
        assertEquals(removalListener.size(), stats.evictionCount());
        assertEquals(computeCount.get(), stats.loadSuccessCount());
        assertEquals(exceptionCount.get() + computeNullCount.get(), stats.loadExceptionCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

          assertEquals("Invalid removal notification", notification.getKey(), notification.getValue());
        }
    
        CacheStats stats = cache.stats();
        assertEquals(removalListener.size(), stats.evictionCount());
        assertEquals(computeCount.get(), stats.loadSuccessCount());
        assertEquals(exceptionCount.get() + computeNullCount.get(), stats.loadExceptionCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top