Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 465 for replaced (0.04 sec)

  1. 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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                RemovalNotification.create("one", 1, RemovalCause.EXPLICIT),
                RemovalNotification.create("one", 1, RemovalCause.REPLACED))
            .addEqualityGroup(RemovalNotification.create("1", 1, RemovalCause.EXPLICIT))
            .addEqualityGroup(RemovalNotification.create("one", 2, RemovalCause.EXPLICIT))
            .testEquals();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt

       * The pool will routinely try to pre-emptively open connections to satisfy this minimum.
       * Connections will still be closed if they idle beyond the keep-alive but will be replaced.
       */
      @JvmField val minimumConcurrentCalls: Int = 0,
      /** How long to wait to retry pre-emptive connection attempts that fail. */
      @JvmField val backoffDelayMillis: Long = 60 * 1000,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                RemovalNotification.create("one", 1, RemovalCause.EXPLICIT),
                RemovalNotification.create("one", 1, RemovalCause.REPLACED))
            .addEqualityGroup(RemovalNotification.create("1", 1, RemovalCause.EXPLICIT))
            .addEqualityGroup(RemovalNotification.create("one", 2, RemovalCause.EXPLICIT))
            .testEquals();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put(one, three);
        assertNotified(listener, one, two, RemovalCause.REPLACED);
    
        Map<Object, Object> newMap = ImmutableMap.of(one, four);
        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/RemovalNotification.java

      public RemovalCause getCause() {
        return cause;
      }
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link RemovalCause#EXPLICIT} nor {@link RemovalCause#REPLACED}).
       */
      public boolean wasEvicted() {
        return cause.wasEvicted();
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_1x.md

    need to customize SSL, do so for your specific OkHttpClient instance only.
    
    ##### Synthetic headers have changed
    
    Previously OkHttp added a synthetic response header, `OkHttp-Selected-Transport`. It
    has been replaced with a new synthetic header, `OkHttp-Selected-Protocol`.
    
    ##### Changes
    
     * New: Support for `HTTP-draft-09/2.0`.
     * New: Support for `spdy/3.1`. Dropped support for `spdy/3`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  8. 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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

       * being deleted. This can happen if, after checking that a file is a directory (and not a
       * symbolic link), that directory is deleted and replaced by a symbolic link to an outside
       * directory before the call that opens the directory to read its entries. File systems that
       * support {@code SecureDirectoryStream} do not have this vulnerability.
       */
      ALLOW_INSECURE
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
        return false;
      }
    
      @Override
      public boolean replace(K key, V oldValue, V newValue) {
        if (oldValue.equals(get(key))) {
          alertListenerIfPresent(key, oldValue, RemovalCause.REPLACED);
          put(key, newValue);
          return true;
        }
        return false;
      }
    
      @Override
      public V replace(K key, V value) {
        V currentValue = get(key);
        if (currentValue != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top