Searched refs:accessQueue (Results 1 – 3 of 3) sorted by relevance
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheTesting.java | 247 for (ReferenceEntry<?, ?> current : segment.accessQueue) { in checkExpiration() 264 assertTrue(segment.accessQueue.isEmpty()); in checkExpiration() 288 for (ReferenceEntry<?, ?> current : segment.accessQueue) { 351 return segment.accessQueue.size(); 388 ReferenceEntry<?, ?> originalHead = segment.accessQueue.peek(); 394 assertNotSame(originalHead, segment.accessQueue.peek()); 467 assertTrue(segment.accessQueue.isEmpty());
|
D | LocalCacheTest.java | 1466 assertFalse(segment.accessQueue.contains(entryOne)); in testReclaimKey() 1596 assertSame(entry, segment.accessQueue.peek()); in testClear() 1601 assertTrue(segment.accessQueue.isEmpty()); in testClear() 1631 assertSame(entry, segment.accessQueue.peek()); in testClear_notification() 1636 assertTrue(segment.accessQueue.isEmpty()); in testClear_notification() 1670 assertFalse(segment.accessQueue.contains(entry)); in testRemoveEntry() 1708 assertFalse(segment.accessQueue.contains(entry)); in testReclaimValue() 1986 assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue)); in checkEvictionQueues() 2024 for (ReferenceEntry<K, V> e : segment.accessQueue) { in checkExpirationTimes() 2090 segment.accessQueue.add(entry); in testExpireAfterAccess() [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2132 final Queue<ReferenceEntry<K, V>> accessQueue; field in LocalCache.Segment 2158 accessQueue = map.usesAccessQueue() in Segment() 2284 accessQueue.remove(e); in lockedGetOrLoad() 2587 accessQueue.add(entry); in recordLockedRead() 2606 accessQueue.add(entry); in recordWrite() 2624 if (accessQueue.contains(e)) { in drainRecencyQueue() 2625 accessQueue.add(e); in drainRecencyQueue() 2656 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries() 2705 for (ReferenceEntry<K, V> e : accessQueue) { in getNextEvictable() 3253 accessQueue.clear(); in clear() [all …]
|