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.java92 if (e == null || !e.getValueReference().isComputingReference()) { in getOrCompute()
108 ValueReference<K, V> valueReference = e.getValueReference(); in getOrCompute()
112 V value = e.getValueReference().get(); in getOrCompute()
158 V value = e.getValueReference().waitForValue(); in getOrCompute()
DMapMakerInternalMap.java634 ValueReference<K, V> getValueReference(); in getValueReference() method
723 public ValueReference<Object, Object> getValueReference() { in getValueReference() method in MapMakerInternalMap.NullEntry
788 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.AbstractReferenceEntry
989 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.StrongEntry
1243 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.SoftEntry
1501 public ValueReference<K, V> getValueReference() { in getValueReference() method in MapMakerInternalMap.WeakEntry
1899 V value = entry.getValueReference().get(); in getLiveValue()
2143 ValueReference<K, V> valueReference = original.getValueReference(); in copyEntry()
2359 enqueueNotification(entry.getKey(), entry.getHash(), entry.getValueReference().get(), cause); in enqueueNotification()
2440 V value = e.getValueReference().get(); in get()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java754 ValueReference<K, V> getValueReference(); in getValueReference() method
855 public ValueReference<Object, Object> getValueReference() { in getValueReference() method in LocalCache.NullEntry
928 public ValueReference<K, V> getValueReference() { in getValueReference() method in LocalCache.AbstractReferenceEntry
1085 public ValueReference<K, V> getValueReference() { in getValueReference() method in LocalCache.StrongEntry
1374 public ValueReference<K, V> getValueReference() { in getValueReference() method in LocalCache.WeakEntry
1890 V value = entry.getValueReference().get(); in getLiveValue()
2144 ValueReference<K, V> valueReference = original.getValueReference(); in copyEntry()
2161 ValueReference<K, V> previous = entry.getValueReference(); in setValue()
2189 ValueReference<K, V> valueReference = e.getValueReference(); in get()
2233 valueReference = e.getValueReference(); in lockedGetOrLoad()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java370 map.reclaimValue(entry.getValueReference()); in testRemovalListener_collected()
424 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
437 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
468 assertSame(valueOne, copyOne.getValueReference().get()); in testCopyEntry()
475 assertSame(valueTwo, copyTwo.getValueReference().get()); in testCopyEntry()
951 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveFromChain()
958 assertSame(valueTwo, newFirst.getValueReference().get()); in testRemoveFromChain()
962 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveFromChain()
1410 assertSame(expectedEntry.getValueReference().get(), actualEntry.getValueReference().get()); in assertSameEntries()
1521 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java653 (LoadingValueReference) newEntry.getValueReference(); in testCopyEntry_computing()
855 map.reclaimValue(entry.getValueReference()); in testRemovalListener_collected()
937 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
950 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
981 assertSame(valueOne, copyOne.getValueReference().get()); in testCopyEntry()
988 assertSame(valueTwo, copyTwo.getValueReference().get()); in testCopyEntry()
1587 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
1594 assertSame(valueTwo, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
1598 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
2088 assertSame(expectedEntry.getValueReference().get(), actualEntry.getValueReference().get()); in assertSameEntries()
[all …]
DCacheTesting.java68 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation()
323 V value = entry.getValueReference().get();