- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for loadCount (0.37 sec)
-
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
public void testAsyncReload() throws Exception { AtomicInteger loadCount = new AtomicInteger(); AtomicInteger reloadCount = new AtomicInteger(); AtomicInteger loadAllCount = new AtomicInteger(); CacheLoader<Object, Object> baseLoader = new CacheLoader<Object, Object>() { @Override public Object load(Object key) { loadCount.incrementAndGet(); return new Object(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
public void testAsyncReload() throws Exception { AtomicInteger loadCount = new AtomicInteger(); AtomicInteger reloadCount = new AtomicInteger(); AtomicInteger loadAllCount = new AtomicInteger(); CacheLoader<Object, Object> baseLoader = new CacheLoader<Object, Object>() { @Override public Object load(Object key) { loadCount.incrementAndGet(); return new Object(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(stats.hitCount()).isEqualTo(0); assertThat(stats.hitRate()).isEqualTo(0.0); assertThat(stats.missCount()).isEqualTo(1); assertThat(stats.missRate()).isEqualTo(1.0); assertThat(stats.loadCount()).isEqualTo(1); long totalLoadTime = stats.totalLoadTime(); assertThat(totalLoadTime).isAtLeast(0); assertThat(stats.averageLoadPenalty()).isAtLeast(0.0); assertThat(stats.evictionCount()).isEqualTo(0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
assertThat(stats.missRate()).isEqualTo(0.0); assertThat(stats.loadSuccessCount()).isEqualTo(0); assertThat(stats.loadExceptionCount()).isEqualTo(0); assertThat(stats.loadCount()).isEqualTo(0); assertThat(stats.totalLoadTime()).isEqualTo(0); assertThat(stats.averageLoadPenalty()).isEqualTo(0.0); assertThat(stats.evictionCount()).isEqualTo(0); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */ public long loadCount() { return saturatedAdd(loadSuccessCount, loadExceptionCount); } /** * Returns the number of times {@link Cache} lookup methods have successfully loaded a new value.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */ public long loadCount() { return saturatedAdd(loadSuccessCount, loadExceptionCount); } /** * Returns the number of times {@link Cache} lookup methods have successfully loaded a new value.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0)