Uses of Interface
com.google.common.cache.LocalCache.ValueReference
-
Packages that use LocalCache.ValueReference Package Description com.google.common.cache This package contains caching utilities. -
-
Uses of LocalCache.ValueReference in com.google.common.cache
Classes in com.google.common.cache that implement LocalCache.ValueReference Modifier and Type Class Description (package private) static class
LocalCache.LoadingValueReference<K,V>
(package private) static class
LocalCache.SoftValueReference<K,V>
References a soft value.(package private) static class
LocalCache.StrongValueReference<K,V>
References a strong value.(package private) static class
LocalCache.WeakValueReference<K,V>
References a weak value.(package private) static class
LocalCache.WeightedSoftValueReference<K,V>
References a soft value.(package private) static class
LocalCache.WeightedStrongValueReference<K,V>
References a strong value.(package private) static class
LocalCache.WeightedWeakValueReference<K,V>
References a weak value.Fields in com.google.common.cache declared as LocalCache.ValueReference Modifier and Type Field Description (package private) LocalCache.ValueReference<K,V>
LocalCache.LoadingValueReference. oldValue
(package private) static LocalCache.ValueReference<java.lang.Object,java.lang.Object>
LocalCache. UNSET
Placeholder.(package private) LocalCache.ValueReference<K,V>
LocalCache.StrongEntry. valueReference
(package private) LocalCache.ValueReference<K,V>
LocalCache.WeakEntry. valueReference
Methods in com.google.common.cache that return LocalCache.ValueReference Modifier and Type Method Description LocalCache.ValueReference<K,V>
LocalCache.LoadingValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
LocalCache.ValueReference<K,V>
LocalCache.SoftValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
LocalCache.ValueReference<K,V>
LocalCache.StrongValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
LocalCache.ValueReference<K,V>
LocalCache.ValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
Creates a copy of this reference for the given entry.LocalCache.ValueReference<K,V>
LocalCache.WeakValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
LocalCache.ValueReference<K,V>
LocalCache.WeightedSoftValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
LocalCache.ValueReference<K,V>
LocalCache.WeightedWeakValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, LocalCache.ReferenceEntry<K,V> entry)
LocalCache.ValueReference<K,V>
LocalCache.LoadingValueReference. getOldValue()
LocalCache.ValueReference<K,V>
LocalCache.AbstractReferenceEntry. getValueReference()
LocalCache.ValueReference<java.lang.Object,java.lang.Object>
LocalCache.NullEntry. getValueReference()
LocalCache.ValueReference<K,V>
LocalCache.ReferenceEntry. getValueReference()
Returns the value reference from this entry.LocalCache.ValueReference<K,V>
LocalCache.StrongEntry. getValueReference()
LocalCache.ValueReference<K,V>
LocalCache.WeakEntry. getValueReference()
(package private) LocalCache.ValueReference<K,V>
LocalCache. newValueReference(LocalCache.ReferenceEntry<K,V> entry, V value, int weight)
This method is a convenience for testing.(package private) abstract <K,V>
LocalCache.ValueReference<K,V>LocalCache.Strength. referenceValue(LocalCache.Segment<K,V> segment, LocalCache.ReferenceEntry<K,V> entry, V value, int weight)
Creates a reference for the given value according to this value strength.(package private) static <K,V>
LocalCache.ValueReference<K,V>LocalCache. unset()
Singleton placeholder that indicates a value is being loaded.Methods in com.google.common.cache with parameters of type LocalCache.ValueReference Modifier and Type Method Description (package private) void
LocalCache. reclaimValue(LocalCache.ValueReference<K,V> valueReference)
(package private) boolean
LocalCache.Segment. reclaimValue(K key, int hash, LocalCache.ValueReference<K,V> valueReference)
Removes an entry whose value has been garbage collected.(package private) LocalCache.ReferenceEntry<K,V>
LocalCache.Segment. removeValueFromChain(LocalCache.ReferenceEntry<K,V> first, LocalCache.ReferenceEntry<K,V> entry, K key, int hash, V value, LocalCache.ValueReference<K,V> valueReference, RemovalCause cause)
void
LocalCache.AbstractReferenceEntry. setValueReference(LocalCache.ValueReference<K,V> valueReference)
void
LocalCache.NullEntry. setValueReference(LocalCache.ValueReference<java.lang.Object,java.lang.Object> valueReference)
void
LocalCache.ReferenceEntry. setValueReference(LocalCache.ValueReference<K,V> valueReference)
Sets the value reference for this entry.void
LocalCache.StrongEntry. setValueReference(LocalCache.ValueReference<K,V> valueReference)
void
LocalCache.WeakEntry. setValueReference(LocalCache.ValueReference<K,V> valueReference)
(package private) V
LocalCache.Segment. waitForLoadingValue(LocalCache.ReferenceEntry<K,V> e, K key, LocalCache.ValueReference<K,V> valueReference)
Constructors in com.google.common.cache with parameters of type LocalCache.ValueReference Constructor Description LoadingValueReference(LocalCache.ValueReference<K,V> oldValue)
-