- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StatsCounter (0.05 sec)
-
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
Timestamped<V> value = cachingHashMap.get(key); if (value == null) { statsCounter.recordMisses(1); return null; } else if (!isExpired(value)) { statsCounter.recordHits(1); value.updateTimestamp(); return value.getValue(); } else { statsCounter.recordEviction(); statsCounter.recordMisses(1); // `key` was in the cache, so it's a K.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
*/ package com.google.common.cache; import static com.google.common.truth.Truth.assertThat; import com.google.common.cache.AbstractCache.SimpleStatsCounter; import com.google.common.cache.AbstractCache.StatsCounter; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicReference;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* https://github.com/google/guava/issues/6565 */ @SuppressWarnings("AnonymousToLambda") static final Supplier<StatsCounter> CACHE_STATS_COUNTER = new Supplier<StatsCounter>() { @Override public StatsCounter get() { return new SimpleStatsCounter(); } }; enum NullListener implements RemovalListener<Object, Object> { INSTANCE;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0)