Home
last modified time | relevance | path

Searched refs:accessQueue (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DCacheTesting.java252 for (ReferenceEntry<?, ?> current : segment.accessQueue) { in checkExpiration()
269 assertTrue(segment.accessQueue.isEmpty()); in checkExpiration()
293 for (ReferenceEntry<?, ?> current : segment.accessQueue) {
356 return segment.accessQueue.size();
393 ReferenceEntry<?, ?> originalHead = segment.accessQueue.peek();
399 assertNotSame(originalHead, segment.accessQueue.peek());
474 assertTrue(segment.accessQueue.isEmpty());
DLocalCacheTest.java1553 assertFalse(segment.accessQueue.contains(entryOne)); in testReclaimKey()
1683 assertSame(entry, segment.accessQueue.peek()); in testClear()
1688 assertTrue(segment.accessQueue.isEmpty()); in testClear()
1718 assertSame(entry, segment.accessQueue.peek()); in testClear_notification()
1723 assertTrue(segment.accessQueue.isEmpty()); in testClear_notification()
1757 assertFalse(segment.accessQueue.contains(entry)); in testRemoveEntry()
1795 assertFalse(segment.accessQueue.contains(entry)); in testReclaimValue()
2073 assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue)); in checkEvictionQueues()
2111 for (ReferenceEntry<K, V> e : segment.accessQueue) { in checkExpirationTimes()
2177 segment.accessQueue.add(entry); in testExpireAfterAccess()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2084 final Queue<ReferenceEntry<K, V>> accessQueue; field in LocalCache.Segment
2110 accessQueue = map.usesAccessQueue() in Segment()
2253 accessQueue.remove(e); in lockedGetOrLoad()
2559 accessQueue.add(entry); in recordLockedRead()
2578 accessQueue.add(entry); in recordWrite()
2596 if (accessQueue.contains(e)) { in drainRecencyQueue()
2597 accessQueue.add(e); in drainRecencyQueue()
2628 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2678 for (ReferenceEntry<K, V> e : accessQueue) { in getNextEvictable()
3234 accessQueue.clear(); in clear()
[all …]