- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Expiration (0.25 sec)
-
android/guava/src/com/google/common/base/Suppliers.java
* value after the specified time has passed. Subsequent calls to {@code get()} return the cached * value if the expiration time has not passed. After the expiration time, a new value is * retrieved, cached, and returned. See: <a * href="http://en.wikipedia.org/wiki/Memoization">memoization</a> *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheTesting.java
} checkEviction(cchm); checkExpiration(cchm); } /** * Peeks into the cache's internals to verify that its expiration queue is consistent. Verifies * that the next/prev links in the expiration queue are correct, and that the queue is ordered by * expiration time. */ static void checkExpiration(Cache<?, ?> cache) { if (hasLocalCache(cache)) { checkExpiration(toLocalCache(cache));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 16.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalCause.java
* CacheBuilder#softValues}. */ COLLECTED { @Override boolean wasEvicted() { return true; } }, /** * The entry's expiration timestamp has passed. This can occur when using {@link * CacheBuilder#expireAfterWrite} or {@link CacheBuilder#expireAfterAccess}. */ EXPIRED { @Override boolean wasEvicted() { return true;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* never be removed. * * <p>Durations are represented by an integer, followed by one of "d", "h", "m", or "s", * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to * request expiration in milliseconds, microseconds, or nanoseconds.) * * <p>Whitespace before and after commas and equal signs is ignored. Keys may not be repeated; it is * also illegal to use the following pairs of keys in a single value: *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheTesting.java
} checkEviction(cchm); checkExpiration(cchm); } /** * Peeks into the cache's internals to verify that its expiration queue is consistent. Verifies * that the next/prev links in the expiration queue are correct, and that the queue is ordered by * expiration time. */ static void checkExpiration(Cache<?, ?> cache) { if (hasLocalCache(cache)) { checkExpiration(toLocalCache(cache));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListener.java
* An object that can receive a notification when an entry is removed from a cache. The removal * resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. * * <p>An instance may be called concurrently by multiple threads to process different entries.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalCause.java
* CacheBuilder#softValues}. */ COLLECTED { @Override boolean wasEvicted() { return true; } }, /** * The entry's expiration timestamp has passed. This can occur when using {@link * CacheBuilder#expireAfterWrite} or {@link CacheBuilder#expireAfterAccess}. */ EXPIRED { @Override boolean wasEvicted() { return true;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
* An object that can receive a notification when an entry is removed from a cache. The removal * resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. * * <p>An instance may be called concurrently by multiple threads to process different entries.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; /** * Tests relating to cache expiration: make sure entries expire at the right times, make sure * expired entries don't show up, etc. * * @author mike nonemacher */ @SuppressWarnings("deprecation") // tests of deprecated method
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} }; abstract Equivalence<Object> defaultEquivalence(); } /** * Implementation for the EntryIterator, which is used to build Key and Value iterators. * * <p>Expiration is only checked on hasNext(), so as to ensure that a next() call never returns * null when hasNext() has already been called. */ class EntryIterator implements Iterator<Entry<K, V>> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 21.6K bytes - Viewed (0)