Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wasEvicted (0.07 sec)

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

      }
    
      /**
       * 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();
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        @GuardedBy("this")
        void enqueueNotification(
            @CheckForNull K key, int hash, @CheckForNull V value, int weight, RemovalCause cause) {
          totalWeight -= weight;
          if (cause.wasEvicted()) {
            statsCounter.recordEviction();
          }
          if (map.removalNotificationQueue != DISCARDING_QUEUE) {
            RemovalNotification<K, V> notification = RemovalNotification.create(key, value, cause);
    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