Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for expiration (0.23 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        static final class CacheEntry {
    
            Name hostName;
            NbtAddress address;
            long expiration;
    
    
            CacheEntry ( Name hostName, NbtAddress address, long expiration ) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
    
        /**
         * 
         */
        private void initCache ( CIFSContext tc ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

        private static final DfsReferralDataImpl NEGATIVE_ENTRY = new DfsReferralDataImpl();
    
        private static class CacheEntry <T> {
    
            long expiration;
            Map<String, T> map;
    
    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            private final long expiration;
    
            public StateData(final String nonce, final long expiration) {
                this.nonce = nonce;
                this.expiration = expiration;
            }
    
            public String getNonce() {
                return nonce;
            }
    
            public long getExpiration() {
                return expiration;
            }
    
            @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top