Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java410 return new WeakEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
417 return new WeakExpirableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
432 return new WeakEvictableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
447 return new WeakExpirableEvictableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
2055 final ReferenceQueue<K> keyReferenceQueue; field in MapMakerInternalMap.Segment
2095 keyReferenceQueue = map.usesKeyReferences() in Segment()
2198 while ((ref = keyReferenceQueue.poll()) != null) { in drainKeyReferenceQueue()
2235 while (keyReferenceQueue.poll() != null) {} in clearKeyReferenceQueue()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java501 return new WeakEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
508 return new WeakAccessEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
523 return new WeakWriteEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
538 return new WeakAccessWriteEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
2051 final ReferenceQueue<K> keyReferenceQueue; field in LocalCache.Segment
2096 keyReferenceQueue = map.usesKeyReferences() in Segment()
2487 while ((ref = keyReferenceQueue.poll()) != null) { in drainKeyReferenceQueue()
2524 while (keyReferenceQueue.poll() != null) {} in clearKeyReferenceQueue()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java1501 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnWrite()
1563 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnRead()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java2283 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnWrite()
2345 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnRead()