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.java411 return new SoftEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
418 return new SoftExpirableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
433 return new SoftEvictableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
448 return new SoftExpirableEvictableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
465 return new WeakEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
472 return new WeakExpirableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
487 return new WeakEvictableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
502 return new WeakExpirableEvictableEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
2105 final ReferenceQueue<K> keyReferenceQueue; field in MapMakerInternalMap.Segment
2145 keyReferenceQueue = map.usesKeyReferences() in Segment()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java496 return new WeakEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
503 return new WeakAccessEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
518 return new WeakWriteEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
533 return new WeakAccessWriteEntry<K, V>(segment.keyReferenceQueue, key, hash, next); in newEntry()
2099 final ReferenceQueue<K> keyReferenceQueue; field in LocalCache.Segment
2144 keyReferenceQueue = map.usesKeyReferences() in Segment()
2515 while ((ref = keyReferenceQueue.poll()) != null) { in drainKeyReferenceQueue()
2552 while (keyReferenceQueue.poll() != null) {} in clearKeyReferenceQueue()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java1527 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnWrite()
1589 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnRead()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java2196 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnWrite()
2258 assertNull(segment.keyReferenceQueue.poll()); in testDrainKeyReferenceQueueOnRead()