Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Expiration (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      /**
       * Calls get() repeatedly from many different threads, and tests that all of the removed entries
       * (removed because of size limits or expiration) trigger appropriate removal notifications.
       */
      @GwtIncompatible // QueuingRemovalListener
    
      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      /**
       * Calls get() repeatedly from many different threads, and tests that all of the removed entries
       * (removed because of size limits or expiration) trigger appropriate removal notifications.
       */
      @GwtIncompatible // QueuingRemovalListener
    
      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top