- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for expiration (0.43 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) -
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) -
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) -
guava/src/com/google/common/cache/LocalCache.java
final Queue<RemovalNotification<K, V>> removalNotificationQueue; /** * A listener that is invoked when an entry is removed due to expiration or garbage collection of * soft/weak entries. */ final RemovalListener<K, V> removalListener; /** Measures time in a testable way. */ final Ticker ticker;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is * divided into segments, each of which does LRU internally) * <li>time-based expiration of entries, measured since last access or last write * <li>keys automatically wrapped in {@code WeakReference} * <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
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) -
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is * divided into segments, each of which does LRU internally) * <li>time-based expiration of entries, measured since last access or last write * <li>keys automatically wrapped in {@code WeakReference} * <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
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)