Home
last modified time | relevance | path

Searched refs:evictionQueue (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DRoundRobinLoadBalancerFactory.java337 final Queue<String> evictionQueue = new ConcurrentLinkedQueue<String>(); field in RoundRobinLoadBalancerFactory.RoundRobinLoadBalancer.StickinessState
376 while (stickinessMap.size() >= MAX_ENTRIES && (oldValue = evictionQueue.poll()) != null) { in addToEvictionQueue()
379 evictionQueue.add(value); in addToEvictionQueue()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java2081 final Queue<ReferenceEntry<K, V>> evictionQueue; field in MapMakerInternalMap.Segment
2105 evictionQueue = map.evictsBySize() in Segment()
2267 evictionQueue.add(entry); in recordLockedRead()
2282 evictionQueue.add(entry); in recordWrite()
2308 if (evictionQueue.contains(e)) { in drainRecencyQueue()
2309 evictionQueue.add(e); in drainRecencyQueue()
2380 ReferenceEntry<K, V> e = evictionQueue.remove(); in evictEntries()
2837 evictionQueue.clear(); in clear()
2864 evictionQueue.remove(entry); in removeFromChain()
2884 evictionQueue.remove(entry); in removeCollectedEntry()
DComputingConcurrentHashMap.java125 evictionQueue.remove(e); in getOrCompute()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java917 assertFalse(segment.evictionQueue.contains(entryOne)); in testReclaimKey()
1046 assertSame(entry, segment.evictionQueue.peek()); in testClear()
1051 assertTrue(segment.evictionQueue.isEmpty()); in testClear()
1083 assertFalse(segment.evictionQueue.contains(entry)); in testRemoveEntry()
1121 assertFalse(segment.evictionQueue.contains(entry)); in testReclaimValue()
1166 assertFalse(segment.evictionQueue.contains(entry)); in testClearValue()
1392 assertSameEntries(readOrder, ImmutableList.copyOf(segment.evictionQueue)); in checkEvictionQueues()