- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toNanosSaturated (0.12 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> expireAfterWrite(Duration duration) { return expireAfterWrite(toNanosSaturated(duration), NANOSECONDS); } /** * Specifies that each entry should be automatically removed from the cache once a fixed duration
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.util.concurrent.Internal.toNanosSaturated; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly; import static java.util.Objects.requireNonNull;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
@GwtIncompatible // Duration @SuppressWarnings("GoodTime") // Duration decomposition @CanIgnoreReturnValue public CacheBuilder<K, V> expireAfterWrite(Duration duration) { return expireAfterWrite(toNanosSaturated(duration), NANOSECONDS); } /** * Specifies that each entry should be automatically removed from the cache once a fixed durationRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.6K bytes - Viewed (0)