Home
last modified time | relevance | path

Searched refs:RemovalNotification (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DTestingRemovalListeners.java52 extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> {
55 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval()
66 private volatile RemovalNotification<K, V> lastNotification;
69 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval()
86 public RemovalNotification<K, V> getLastNotification() { in getLastNotification()
96 public void onRemoval(RemovalNotification<K, V> notification) {} in onRemoval()
DNullCacheTest.java51 RemovalNotification<Object, Object> notification = listener.remove(); in testGet()
68 RemovalNotification<Object, Object> notification = listener.remove(); in testGet_expireAfterWrite()
85 RemovalNotification<Object, Object> notification = listener.remove(); in testGet_expireAfterAccess()
DCacheBuilderTest.java437 RemovalNotification<String, String> notification = listener.remove(); in testRemovalNotification_clear()
509 for (RemovalNotification<String, String> notification : listener) { in testRemovalNotification_clear_basher()
592 for (RemovalNotification<String, String> notification : removalListener) { in testRemovalNotification_get_basher()
DCacheExpirationTest.java180 public void onRemoval(RemovalNotification<Integer, AtomicInteger> notification) { in testRemovalListener_expireAfterWrite()
DLocalCacheTest.java630 public void onRemoval(RemovalNotification<Object, Object> notification) { in testRemovalListenerCheckedException()
870 RemovalNotification<K, V> notification = listener.remove(); in assertNotified()
1253 RemovalNotification<Object, Object> notification = listener.remove(); in testSegmentStoreComputedValue()
1776 RemovalNotification<K, V> notification = map.removalNotificationQueue.poll(); in assertNotificationEnqueued()
2689 public void onRemoval(RemovalNotification<K, V> notification) {} in onRemoval()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerTest.java22 import com.google.common.collect.MapMaker.RemovalNotification;
85 RemovalNotification<String, String> notification = listener.remove(); in testRemovalNotification_clear()
155 for (RemovalNotification<String, String> notification : listener) { in testRemovalNotification_clear_basher()
DConcurrentHashMultisetTest.java31 import com.google.common.collect.MapMaker.RemovalNotification;
522 final List<RemovalNotification<String, Number>> notificationQueue = Lists.newArrayList(); in testWithMapMakerEvictionListener()
525 @Override public void onRemoval(RemovalNotification<String, Number> notification) { in testWithMapMakerEvictionListener()
547 RemovalNotification<String, Number> notification = Iterables.getOnlyElement(notificationQueue); in testWithMapMakerEvictionListener()
DMapMakerInternalMapTest.java30 import com.google.common.collect.MapMaker.RemovalNotification;
295 public void onRemoval(RemovalNotification<Object, Object> notification) {} in testSetRemovalListener()
427 RemovalNotification<K, V> notification = listener.remove(); in assertNotified()
1208 RemovalNotification<K, V> notification = map.removalNotificationQueue.poll(); in assertNotificationEnqueued()
1691 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval()
1711 extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> {
1713 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval()
/external/guava/guava/src/com/google/common/cache/
DRemovalNotification.java40 public final class RemovalNotification<K, V> implements Entry<K, V> { class
45 RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { in RemovalNotification() method in RemovalNotification
DRemovalListener.java45 void onRemoval(RemovalNotification<K, V> notification); in onRemoval()
DRemovalListeners.java46 public void onRemoval(final RemovalNotification<K, V> notification) { in asynchronous()
DCacheBuilder.java178 public void onRemoval(RemovalNotification<Object, Object> notification) {} in onRemoval()
DLocalCache.java204 final Queue<RemovalNotification<K, V>> removalNotificationQueue;
250 ? LocalCache.<RemovalNotification<K, V>>discardingQueue() in LocalCache()
251 : new ConcurrentLinkedQueue<RemovalNotification<K, V>>(); in LocalCache()
2001 RemovalNotification<K, V> notification; in processPendingNotifications()
2679 RemovalNotification<K, V> notification = new RemovalNotification<K, V>(key, value, cause); in enqueueNotification()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java732 void onRemoval(RemovalNotification<K, V> notification); in onRemoval()
742 static final class RemovalNotification<K, V> extends ImmutableEntry<K, V> { class in MapMaker
747 RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { in RemovalNotification() method in MapMaker.RemovalNotification
868 RemovalNotification<K, V> notification = in notifyRemoval()
869 new RemovalNotification<K, V>(key, value, removalCause); in notifyRemoval()
DGenericMapMaker.java26 import com.google.common.collect.MapMaker.RemovalNotification;
48 public void onRemoval(RemovalNotification<Object, Object> notification) {} in onRemoval()
DMapMakerInternalMap.java27 import com.google.common.collect.MapMaker.RemovalNotification;
179 final Queue<RemovalNotification<K, V>> removalNotificationQueue;
214 ? MapMakerInternalMap.<RemovalNotification<K, V>>discardingQueue() in MapMakerInternalMap()
215 : new ConcurrentLinkedQueue<RemovalNotification<K, V>>(); in MapMakerInternalMap()
1998 RemovalNotification<K, V> notification; in processPendingNotifications()
2399 RemovalNotification<K, V> notification = new RemovalNotification<K, V>(key, value, cause); in enqueueNotification()