- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for refreshAfterWrite (0.06 sec)
-
android/guava/src/com/google/common/cache/CacheBuilder.java
@IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from @CanIgnoreReturnValue public CacheBuilder<K, V> refreshAfterWrite(Duration duration) { return refreshAfterWrite(toNanosSaturated(duration), NANOSECONDS); } /** * Specifies that active entries are eligible for automatic refresh once a fixed duration has
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} }; LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .recordStats() .ticker(ticker) .refreshAfterWrite(1, MILLISECONDS) .build(loader); Object key = new Object(); CacheStats stats = cache.stats(); assertEquals(0, stats.missCount()); assertEquals(0, stats.loadSuccessCount());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0)