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

/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheTesting.java247 for (ReferenceEntry<?, ?> current : segment.accessQueue) {
264 assertTrue(segment.accessQueue.isEmpty());
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());
H A DLocalCacheTest.java1466 assertFalse(segment.accessQueue.contains(entryOne));
1596 assertSame(entry, segment.accessQueue.peek());
1601 assertTrue(segment.accessQueue.isEmpty());
1631 assertSame(entry, segment.accessQueue.peek());
1636 assertTrue(segment.accessQueue.isEmpty());
1670 assertFalse(segment.accessQueue.contains(entry));
1708 assertFalse(segment.accessQueue.contains(entry));
1986 assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
2024 for (ReferenceEntry<K, V> e : segment.accessQueue) {
2090 segment.accessQueue
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DLocalCache.java2132 final Queue<ReferenceEntry<K, V>> accessQueue; field in class:LocalCache.Segment
2158 accessQueue = map.usesAccessQueue()
2284 accessQueue.remove(e);
2587 accessQueue.add(entry);
2606 accessQueue.add(entry);
2624 if (accessQueue.contains(e)) {
2625 accessQueue.add(e);
2656 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) {
2705 for (ReferenceEntry<K, V> e : accessQueue) {
3253 accessQueue
[all...]

Completed in 184 milliseconds