- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for evictionCount (0.74 seconds)
-
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
loadSuccessCount.add(otherStats.loadSuccessCount()); loadExceptionCount.add(otherStats.loadExceptionCount()); totalLoadTime.add(otherStats.totalLoadTime()); evictionCount.add(otherStats.evictionCount()); } }
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) -
guava/src/com/google/common/cache/AbstractCache.java
loadSuccessCount.add(otherStats.loadSuccessCount()); loadExceptionCount.add(otherStats.loadExceptionCount()); totalLoadTime.add(otherStats.totalLoadTime()); evictionCount.add(otherStats.evictionCount()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
FakeTicker ticker = new FakeTicker(); AtomicInteger evictionCount = new AtomicInteger(); AtomicInteger applyCount = new AtomicInteger(); AtomicInteger totalSum = new AtomicInteger(); RemovalListener<Integer, AtomicInteger> removalListener = notification -> { if (notification.wasEvicted()) { evictionCount.incrementAndGet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(stats.loadCount()).isEqualTo(1); long totalLoadTime = stats.totalLoadTime(); assertThat(totalLoadTime).isAtLeast(0); assertThat(stats.averageLoadPenalty()).isAtLeast(0.0); assertThat(stats.evictionCount()).isEqualTo(0); cache.getUnchecked(one); stats = cache.stats(); assertThat(stats.requestCount()).isEqualTo(2); assertThat(stats.hitCount()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(stats.loadCount()).isEqualTo(1); long totalLoadTime = stats.totalLoadTime(); assertThat(totalLoadTime).isAtLeast(0); assertThat(stats.averageLoadPenalty()).isAtLeast(0.0); assertThat(stats.evictionCount()).isEqualTo(0); cache.getUnchecked(one); stats = cache.stats(); assertThat(stats.requestCount()).isEqualTo(2); assertThat(stats.hitCount()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
assertThat(stats.loadCount()).isEqualTo(0); assertThat(stats.totalLoadTime()).isEqualTo(0); assertThat(stats.averageLoadPenalty()).isEqualTo(0.0); assertThat(stats.evictionCount()).isEqualTo(0); } public void testSingleSimpleStats() { StatsCounter counter = new SimpleStatsCounter(); for (int i = 0; i < 11; i++) { counter.recordHits(1); }
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) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertWithMessage("Invalid removal notification") .that(notification.getValue()) .isEqualTo(notification.getKey()); } CacheStats stats = cache.stats(); assertThat(stats.evictionCount()).isEqualTo(removalListener.size()); assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get()); assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertWithMessage("Invalid removal notification") .that(notification.getValue()) .isEqualTo(notification.getKey()); } CacheStats stats = cache.stats(); assertThat(stats.evictionCount()).isEqualTo(removalListener.size()); assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get()); assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0)