/external/guava/guava/src/com/google/common/cache/ |
H A D | RemovalListener.java | 43 // Technically should accept RemovalNotification<? extends K, ? extends V>, but because 44 // RemovalNotification is guaranteed covariant, let's make users' lives simpler. 45 void onRemoval(RemovalNotification<K, V> notification);
|
H A D | RemovalListeners.java | 46 public void onRemoval(final RemovalNotification<K, V> notification) {
|
H A D | RemovalNotification.java | 40 public final class RemovalNotification<K, V> implements Entry<K, V> { class in inherits:Entry 45 RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { method in class:RemovalNotification
|
H A D | CacheBuilder.java | 178 public void onRemoval(RemovalNotification<Object, Object> notification) {}
|
H A D | LocalCache.java | 204 final Queue<RemovalNotification<K, V>> removalNotificationQueue; 250 ? LocalCache.<RemovalNotification<K, V>>discardingQueue() 251 : new ConcurrentLinkedQueue<RemovalNotification<K, V>>(); 2001 RemovalNotification<K, V> notification; 2679 RemovalNotification<K, V> notification = new RemovalNotification<K, V>(key, value, cause);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | TestingRemovalListeners.java | 49 * {@link RemovalListener} that adds all {@link RemovalNotification} objects to a queue. 52 extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { 55 public void onRemoval(RemovalNotification<K, V> notification) { 61 * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides 66 private volatile RemovalNotification<K, V> lastNotification; 69 public void onRemoval(RemovalNotification<K, V> notification) { 86 public RemovalNotification<K, V> getLastNotification() { 96 public void onRemoval(RemovalNotification<K, V> notification) {}
|
H A D | NullCacheTest.java | 51 RemovalNotification<Object, Object> notification = listener.remove(); 68 RemovalNotification<Object, Object> notification = listener.remove(); 85 RemovalNotification<Object, Object> notification = listener.remove();
|
H A D | CacheBuilderTest.java | 437 RemovalNotification<String, String> notification = listener.remove(); 509 for (RemovalNotification<String, String> notification : listener) { 592 for (RemovalNotification<String, String> notification : removalListener) {
|
H A D | CacheExpirationTest.java | 180 public void onRemoval(RemovalNotification<Integer, AtomicInteger> notification) {
|
H A D | LocalCacheTest.java | 630 public void onRemoval(RemovalNotification<Object, Object> notification) { 870 RemovalNotification<K, V> notification = listener.remove(); 1253 RemovalNotification<Object, Object> notification = listener.remove(); 1776 RemovalNotification<K, V> notification = map.removalNotificationQueue.poll(); 2689 public void onRemoval(RemovalNotification<K, V> notification) {}
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | MapMakerTest.java | 22 import com.google.common.collect.MapMaker.RemovalNotification; 85 RemovalNotification<String, String> notification = listener.remove(); 155 for (RemovalNotification<String, String> notification : listener) {
|
H A D | ConcurrentHashMultisetTest.java | 31 import com.google.common.collect.MapMaker.RemovalNotification; 522 final List<RemovalNotification<String, Number>> notificationQueue = Lists.newArrayList(); 525 @Override public void onRemoval(RemovalNotification<String, Number> notification) { 547 RemovalNotification<String, Number> notification = Iterables.getOnlyElement(notificationQueue);
|
H A D | MapMakerInternalMapTest.java | 30 import com.google.common.collect.MapMaker.RemovalNotification; 295 public void onRemoval(RemovalNotification<Object, Object> notification) {} 427 RemovalNotification<K, V> notification = listener.remove(); 1208 RemovalNotification<K, V> notification = map.removalNotificationQueue.poll(); 1691 public void onRemoval(RemovalNotification<K, V> notification) { 1711 extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { 1713 public void onRemoval(RemovalNotification<K, V> notification) {
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | GenericMapMaker.java | 26 import com.google.common.collect.MapMaker.RemovalNotification; 48 public void onRemoval(RemovalNotification<Object, Object> notification) {}
|
H A D | MapMaker.java | 732 void onRemoval(RemovalNotification<K, V> notification); 742 static final class RemovalNotification<K, V> extends ImmutableEntry<K, V> { class in class:MapMaker 747 RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { method in class:MapMaker.RemovalNotification 868 RemovalNotification<K, V> notification = 869 new RemovalNotification<K, V>(key, value, removalCause);
|
H A D | MapMakerInternalMap.java | 27 import com.google.common.collect.MapMaker.RemovalNotification; 179 final Queue<RemovalNotification<K, V>> removalNotificationQueue; 214 ? MapMakerInternalMap.<RemovalNotification<K, V>>discardingQueue() 215 : new ConcurrentLinkedQueue<RemovalNotification<K, V>>(); 1998 RemovalNotification<K, V> notification; 2399 RemovalNotification<K, V> notification = new RemovalNotification<K, V>(key, value, cause);
|