- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Nanoseconds (0.22 sec)
-
guava/src/com/google/common/cache/CacheBuilder.java
@CanIgnoreReturnValue public CacheBuilder<K, V> expireAfterWrite(java.time.Duration duration) { return expireAfterWrite(toNanosSaturated(duration), TimeUnit.NANOSECONDS); } /** * Specifies that each entry should be automatically removed from the cache once a fixed duration * has elapsed after the entry's creation, or the most recent replacement of its value. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
@SuppressWarnings("GoodTime") // nanos internally, should be Duration long getRefreshNanos() { return (refreshNanos == UNSET_INT) ? DEFAULT_REFRESH_NANOS : refreshNanos; } /** * Specifies a nanosecond-precision time source for this cache. By default, {@link * System#nanoTime} is used. * * <p>The primary intent of this method is to facilitate testing of caches with a fake or mock * time source. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 44.8K bytes - Viewed (0)