Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for refresh (0.39 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

            : expireAfterAccessNanos;
      }
    
      /**
       * Specifies that active entries are eligible for automatic refresh once a fixed duration has
       * elapsed after the entry's creation, or the most recent replacement of its value. The semantics
       * of refreshes are specified in {@link LoadingCache#refresh}, and are performed by calling {@link
       * CacheLoader#reload}.
       *
    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)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          Map<K, V> map = new HashMap<K, V>();
          for (K key : keys) {
            map.put(key, localCache.getOrLoad(key));
          }
          return ImmutableMap.copyOf(map);
        }
    
        @Override
        public void refresh(K key) {
          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * LinkedHashMap that enforces it's maximum size and logs events in a StatsCounter object and an
       * optional RemovalListener.
    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)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          return perms;
        }
    
        @Override
        public boolean implies(ProtectionDomain pd, Permission p) {
          return perms.implies(p);
        }
    
        @Override
        public void refresh() {}
      }
    
      /** Returns a policy containing all the permissions we ever need. */
      public static Policy permissivePolicy() {
        return new AdjustablePolicy
        // Permissions j.u.c. needs directly
        (
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          return perms;
        }
    
        public boolean implies(ProtectionDomain pd, Permission p) {
          return perms.implies(p);
        }
    
        public void refresh() {}
      }
    
      /** Returns a policy containing all the permissions we ever need. */
      public static Policy permissivePolicy() {
        return new AdjustablePolicy
        // Permissions j.u.c. needs directly
        (
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        /**
         * If the delegate collection is empty, but the multimap has values for the key, replace the
         * delegate with the new collection for the key.
         *
         * <p>For a subcollection, refresh its ancestor and validate that the ancestor delegate hasn't
         * changed.
         */
        void refreshIfEmpty() {
          if (ancestor != null) {
            ancestor.refreshIfEmpty();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.regex.Pattern;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates fresh instances of types that are different from each other (if possible).
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    class FreshValueGenerator {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

          Object instance = ArbitraryInstances.get(mutableClass);
          assertNotNull("Expected to return non-null for: " + mutableClass, instance);
          assertNotSame(
              "Expected to return fresh instance for: " + mutableClass,
              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
      private enum EmptyEnum {}
    
      private enum Direction {
        UP,
        DOWN
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Proxy-Authenticate} header field name. */
      public static final String PROXY_AUTHENTICATE = "Proxy-Authenticate";
      /** The HTTP {@code Refresh} header field name. Non-standard header supported by most browsers. */
      public static final String REFRESH = "Refresh";
      /**
       * The HTTP <a href="https://www.w3.org/TR/reporting/">{@code Report-To}</a> header field name.
       *
       * @since 27.1
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.regex.Pattern;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates fresh instances of types that are different from each other (if possible).
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    class FreshValueGenerator {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
Back to top