- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CountingLoader (0.15 sec)
-
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
} /** * Returns a {@code new Object()} for every request, and increments a counter for every request. * The count is accessible via {@link #getCount}. */ static class CountingLoader extends CacheLoader<Object, Object> { private final AtomicInteger count = new AtomicInteger(); @Override public Object load(Object from) { count.incrementAndGet(); return new Object();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 4.9K bytes - Viewed (0)