Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRemovalListener (0.42 sec)

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

        return me;
      }
    
      // Make a safe contravariant cast now so we don't have to do it over and over.
      @SuppressWarnings("unchecked")
      <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() {
        return (RemovalListener<K1, V1>)
            MoreObjects.firstNonNull(removalListener, NullListener.INSTANCE);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

        return me;
      }
    
      // Make a safe contravariant cast now so we don't have to do it over and over.
      @SuppressWarnings("unchecked")
      <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() {
        return (RemovalListener<K1, V1>)
            MoreObjects.firstNonNull(removalListener, NullListener.INSTANCE);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

        expireAfterAccessNanos = builder.getExpireAfterAccessNanos();
        expireAfterWriteNanos = builder.getExpireAfterWriteNanos();
        refreshNanos = builder.getRefreshNanos();
    
        removalListener = builder.getRemovalListener();
        removalNotificationQueue =
            (removalListener == NullListener.INSTANCE)
                ? LocalCache.discardingQueue()
                : new ConcurrentLinkedQueue<>();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top