Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getLastEvictedValue (0.12 sec)

  1. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    
        public RemovalNotification<K, V> getLastNotification() {
          return lastNotification;
        }
      }
    
      /** No-op {@link RemovalListener}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    
        public RemovalNotification<K, V> getLastNotification() {
          return lastNotification;
        }
      }
    
      /** No-op {@link RemovalListener}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        segment.count = 1;
        assertTrue(segment.reclaimKey(entryOne, hashOne));
        assertEquals(1, listener.getCount());
        assertSame(keyOne, listener.getLastEvictedKey());
        assertSame(valueOne, listener.getLastEvictedValue());
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertFalse(segment.accessQueue.contains(entryOne));
        assertFalse(segment.writeQueue.contains(entryOne));
        assertEquals(0, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        segment.count = 1;
        assertTrue(segment.reclaimKey(entryOne, hashOne));
        assertEquals(1, listener.getCount());
        assertSame(keyOne, listener.getLastEvictedKey());
        assertSame(valueOne, listener.getLastEvictedValue());
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertFalse(segment.accessQueue.contains(entryOne));
        assertFalse(segment.writeQueue.contains(entryOne));
        assertEquals(0, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top