Home
last modified time | relevance | path

Searched refs:getValueReference (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DComputingConcurrentHashMap.java94 if (e == null || !e.getValueReference().isComputingReference()) { in getOrCompute()
110 ValueReference<K, V> valueReference = e.getValueReference(); in getOrCompute()
114 V value = e.getValueReference().get(); in getOrCompute()
160 V value = e.getValueReference().waitForValue(); in getOrCompute()
DMapMakerInternalMap.java686 ValueReference<K, V> getValueReference(); in getValueReference() method
775 public ValueReference<Object, Object> getValueReference() { in getValueReference() method in MapMakerInternalMap.NullEntry
840 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.AbstractReferenceEntry
1041 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.StrongEntry
1295 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.SoftEntry
1553 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.WeakEntry
1949 V value = entry.getValueReference().get(); in getLiveValue()
2184 ValueReference<K, V> valueReference = original.getValueReference(); in copyEntry()
2394 enqueueNotification(entry.getKey(), entry.getHash(), entry.getValueReference().get(), cause); in enqueueNotification()
2475 V value = e.getValueReference().get(); in get()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java746 ValueReference<K, V> getValueReference(); in getValueReference() method
847 public ValueReference<Object, Object> getValueReference() { in getValueReference() method in LocalCache.NullEntry
920 public ValueReference<K, V> getValueReference() { in getValueReference() method in LocalCache.AbstractReferenceEntry
1141 public ValueReference<K, V> getValueReference() { in getValueReference() method in LocalCache.StrongEntry
1428 public ValueReference<K, V> getValueReference() { in getValueReference() method in LocalCache.WeakEntry
1939 V value = entry.getValueReference().get(); in getLiveValue()
2183 ValueReference<K, V> valueReference = original.getValueReference(); in copyEntry()
2194 ValueReference<K, V> previous = entry.getValueReference(); in setValue()
2220 ValueReference<K, V> valueReference = e.getValueReference(); in get()
2264 valueReference = e.getValueReference(); in lockedGetOrLoad()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java396 map.reclaimValue(entry.getValueReference()); in testRemovalListener_collected()
450 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
463 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
494 assertSame(valueOne, copyOne.getValueReference().get()); in testCopyEntry()
501 assertSame(valueTwo, copyTwo.getValueReference().get()); in testCopyEntry()
977 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveFromChain()
984 assertSame(valueTwo, newFirst.getValueReference().get()); in testRemoveFromChain()
988 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveFromChain()
1436 assertSame(expectedEntry.getValueReference().get(), actualEntry.getValueReference().get()); in assertSameEntries()
1547 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java609 (LoadingValueReference) newEntry.getValueReference(); in testCopyEntry_computing()
811 map.reclaimValue(entry.getValueReference()); in testRemovalListener_collected()
893 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
906 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
937 assertSame(valueOne, copyOne.getValueReference().get()); in testCopyEntry()
944 assertSame(valueTwo, copyTwo.getValueReference().get()); in testCopyEntry()
1500 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
1507 assertSame(valueTwo, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
1511 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
2001 assertSame(expectedEntry.getValueReference().get(), actualEntry.getValueReference().get()); in assertSameEntries()
[all …]
DCacheTesting.java67 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation()
318 V value = entry.getValueReference().get();