/external/guava/guava-tests/test/com/google/common/cache/ |
D | TestingRemovalListeners.java | 52 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()
|
D | NullCacheTest.java | 51 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()
|
D | CacheBuilderTest.java | 437 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()
|
D | CacheExpirationTest.java | 180 public void onRemoval(RemovalNotification<Integer, AtomicInteger> notification) { in testRemovalListener_expireAfterWrite()
|
D | LocalCacheTest.java | 630 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/ |
D | MapMakerTest.java | 22 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()
|
D | ConcurrentHashMultisetTest.java | 31 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()
|
D | MapMakerInternalMapTest.java | 30 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/ |
D | RemovalNotification.java | 40 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
|
D | RemovalListener.java | 45 void onRemoval(RemovalNotification<K, V> notification); in onRemoval()
|
D | RemovalListeners.java | 46 public void onRemoval(final RemovalNotification<K, V> notification) { in asynchronous()
|
D | CacheBuilder.java | 178 public void onRemoval(RemovalNotification<Object, Object> notification) {} in onRemoval()
|
D | LocalCache.java | 204 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/ |
D | MapMaker.java | 732 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()
|
D | GenericMapMaker.java | 26 import com.google.common.collect.MapMaker.RemovalNotification; 48 public void onRemoval(RemovalNotification<Object, Object> notification) {} in onRemoval()
|
D | MapMakerInternalMap.java | 27 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()
|