- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getLoadCount (0.12 seconds)
-
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* An {@code Integer} loader that returns the key for {@code load} requests, and increments the * old value on {@code reload} requests. The load counts are accessible via {@link #getLoadCount} * and {@link #getReloadCount}. */ static class IncrementingLoader extends CacheLoader<Integer, Integer> { private final AtomicInteger countLoad = new AtomicInteger();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* An {@code Integer} loader that returns the key for {@code load} requests, and increments the * old value on {@code reload} requests. The load counts are accessible via {@link #getLoadCount} * and {@link #getReloadCount}. */ static class IncrementingLoader extends CacheLoader<Integer, Integer> { private final AtomicInteger countLoad = new AtomicInteger();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
expectedLoads++; assertThat(loader.getLoadCount()).isEqualTo(expectedLoads); assertThat(loader.getReloadCount()).isEqualTo(expectedReloads); ticker.advance(1, MILLISECONDS); } assertThat(cache.getUnchecked(0)).isEqualTo(0); assertThat(cache.getUnchecked(1)).isEqualTo(1); assertThat(cache.getUnchecked(2)).isEqualTo(2); assertThat(loader.getLoadCount()).isEqualTo(expectedLoads);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 4K bytes - Click Count (0)