Uses of Interface
com.google.common.cache.ReferenceEntry
-
Packages that use ReferenceEntry Package Description com.google.common.cache This package contains caching utilities. -
-
Uses of ReferenceEntry in com.google.common.cache
Classes in com.google.common.cache that implement ReferenceEntry Modifier and Type Class Description (package private) static classLocalCache.AbstractReferenceEntry<K,V>private static classLocalCache.NullEntry(package private) static classLocalCache.StrongAccessEntry<K,V>(package private) static classLocalCache.StrongAccessWriteEntry<K,V>(package private) static classLocalCache.StrongEntry<K,V>Used for strongly-referenced keys.(package private) static classLocalCache.StrongWriteEntry<K,V>(package private) static classLocalCache.WeakAccessEntry<K,V>(package private) static classLocalCache.WeakAccessWriteEntry<K,V>(package private) static classLocalCache.WeakEntry<K,V>Used for weakly-referenced keys.(package private) static classLocalCache.WeakWriteEntry<K,V>Fields in com.google.common.cache declared as ReferenceEntry Modifier and Type Field Description (package private) ReferenceEntry<K,V>LocalCache.SoftValueReference. entry(package private) ReferenceEntry<K,V>LocalCache.WeakValueReference. entry(package private) ReferenceEntry<K,V>LocalCache.AccessQueue. head(package private) ReferenceEntry<K,V>LocalCache.WriteQueue. head(package private) ReferenceEntry<K,V>LocalCache.StrongEntry. next(package private) ReferenceEntry<K,V>LocalCache.WeakEntry. next(package private) ReferenceEntry<K,V>LocalCache.StrongAccessEntry. nextAccess(package private) ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. nextAccess(package private) ReferenceEntry<K,V>LocalCache.WeakAccessEntry. nextAccess(package private) ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. nextAccess(package private) ReferenceEntry<K,V>LocalCache.HashIterator. nextEntry(package private) ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. nextWrite(package private) ReferenceEntry<K,V>LocalCache.StrongWriteEntry. nextWrite(package private) ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. nextWrite(package private) ReferenceEntry<K,V>LocalCache.WeakWriteEntry. nextWrite(package private) ReferenceEntry<K,V>LocalCache.StrongAccessEntry. previousAccess(package private) ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. previousAccess(package private) ReferenceEntry<K,V>LocalCache.WeakAccessEntry. previousAccess(package private) ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. previousAccess(package private) ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. previousWrite(package private) ReferenceEntry<K,V>LocalCache.StrongWriteEntry. previousWrite(package private) ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. previousWrite(package private) ReferenceEntry<K,V>LocalCache.WeakWriteEntry. previousWriteFields in com.google.common.cache with type parameters of type ReferenceEntry Modifier and Type Field Description (package private) java.util.Queue<ReferenceEntry<K,V>>LocalCache.Segment. accessQueueA queue of elements currently in the map, ordered by access time.(package private) java.util.concurrent.atomic.AtomicReferenceArray<ReferenceEntry<K,V>>LocalCache.HashIterator. currentTable(package private) java.util.Queue<ReferenceEntry<K,V>>LocalCache.Segment. recencyQueueThe recency queue is used to record which entries were accessed for updating the access list's ordering.(package private) java.util.concurrent.atomic.AtomicReferenceArray<ReferenceEntry<K,V>>LocalCache.Segment. tableThe per-segment table.(package private) java.util.Queue<ReferenceEntry<K,V>>LocalCache.Segment. writeQueueA queue of elements currently in the map, ordered by write time.Methods in com.google.common.cache that return ReferenceEntry Modifier and Type Method Description (package private) ReferenceEntry<K,V>LocalCache. copyEntry(ReferenceEntry<K,V> original, ReferenceEntry<K,V> newNext)This method is a convenience for testing.(package private) <K,V>
ReferenceEntry<K,V>LocalCache.EntryFactory. copyEntry(LocalCache.Segment<K,V> segment, ReferenceEntry<K,V> original, ReferenceEntry<K,V> newNext)Copies an entry, assigning it a newnextentry.(package private) ReferenceEntry<K,V>LocalCache.Segment. copyEntry(ReferenceEntry<K,V> original, ReferenceEntry<K,V> newNext)Copiesoriginalinto a new entry chained tonewNext.(package private) ReferenceEntry<K,V>LocalCache. getEntry(java.lang.Object key)Returns the internal entry for the specified key.ReferenceEntry<K,V>LocalCache.LoadingValueReference. getEntry()(package private) ReferenceEntry<K,V>LocalCache.Segment. getEntry(java.lang.Object key, int hash)ReferenceEntry<K,V>LocalCache.SoftValueReference. getEntry()ReferenceEntry<K,V>LocalCache.StrongValueReference. getEntry()ReferenceEntry<K,V>LocalCache.ValueReference. getEntry()Returns the entry associated with this value reference, ornullif this value reference is independent of any entry.ReferenceEntry<K,V>LocalCache.WeakValueReference. getEntry()(package private) ReferenceEntry<K,V>LocalCache.Segment. getFirst(int hash)Returns first entry of bin for given hash.(package private) ReferenceEntry<K,V>LocalCache.Segment. getLiveEntry(java.lang.Object key, int hash, long now)ReferenceEntry<K,V>LocalCache.AbstractReferenceEntry. getNext()ReferenceEntry<java.lang.Object,java.lang.Object>LocalCache.NullEntry. getNext()ReferenceEntry<K,V>LocalCache.StrongEntry. getNext()ReferenceEntry<K,V>LocalCache.WeakEntry. getNext()ReferenceEntry<K,V>ReferenceEntry. getNext()Returns the next entry in the chain.(package private) ReferenceEntry<K,V>LocalCache.Segment. getNextEvictable()ReferenceEntry<K,V>LocalCache.AbstractReferenceEntry. getNextInAccessQueue()ReferenceEntry<java.lang.Object,java.lang.Object>LocalCache.NullEntry. getNextInAccessQueue()ReferenceEntry<K,V>LocalCache.StrongAccessEntry. getNextInAccessQueue()ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. getNextInAccessQueue()ReferenceEntry<K,V>LocalCache.WeakAccessEntry. getNextInAccessQueue()ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. getNextInAccessQueue()ReferenceEntry<K,V>LocalCache.WeakEntry. getNextInAccessQueue()ReferenceEntry<K,V>ReferenceEntry. getNextInAccessQueue()Returns the next entry in the access queue.ReferenceEntry<K,V>LocalCache.AbstractReferenceEntry. getNextInWriteQueue()ReferenceEntry<java.lang.Object,java.lang.Object>LocalCache.NullEntry. getNextInWriteQueue()ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. getNextInWriteQueue()ReferenceEntry<K,V>LocalCache.StrongWriteEntry. getNextInWriteQueue()ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. getNextInWriteQueue()ReferenceEntry<K,V>LocalCache.WeakEntry. getNextInWriteQueue()ReferenceEntry<K,V>LocalCache.WeakWriteEntry. getNextInWriteQueue()ReferenceEntry<K,V>ReferenceEntry. getNextInWriteQueue()Returns the next entry in the write queue.ReferenceEntry<K,V>LocalCache.AbstractReferenceEntry. getPreviousInAccessQueue()ReferenceEntry<java.lang.Object,java.lang.Object>LocalCache.NullEntry. getPreviousInAccessQueue()ReferenceEntry<K,V>LocalCache.StrongAccessEntry. getPreviousInAccessQueue()ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. getPreviousInAccessQueue()ReferenceEntry<K,V>LocalCache.WeakAccessEntry. getPreviousInAccessQueue()ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. getPreviousInAccessQueue()ReferenceEntry<K,V>LocalCache.WeakEntry. getPreviousInAccessQueue()ReferenceEntry<K,V>ReferenceEntry. getPreviousInAccessQueue()Returns the previous entry in the access queue.ReferenceEntry<K,V>LocalCache.AbstractReferenceEntry. getPreviousInWriteQueue()ReferenceEntry<java.lang.Object,java.lang.Object>LocalCache.NullEntry. getPreviousInWriteQueue()ReferenceEntry<K,V>LocalCache.StrongAccessWriteEntry. getPreviousInWriteQueue()ReferenceEntry<K,V>LocalCache.StrongWriteEntry. getPreviousInWriteQueue()ReferenceEntry<K,V>LocalCache.WeakAccessWriteEntry. getPreviousInWriteQueue()ReferenceEntry<K,V>LocalCache.WeakEntry. getPreviousInWriteQueue()ReferenceEntry<K,V>LocalCache.WeakWriteEntry. getPreviousInWriteQueue()ReferenceEntry<K,V>ReferenceEntry. getPreviousInWriteQueue()Returns the previous entry in the write queue.(package private) abstract <K,V>
ReferenceEntry<K,V>LocalCache.EntryFactory. newEntry(LocalCache.Segment<K,V> segment, K key, int hash, ReferenceEntry<K,V> next)Creates a new entry.(package private) ReferenceEntry<K,V>LocalCache. newEntry(K key, int hash, ReferenceEntry<K,V> next)This method is a convenience for testing.(package private) ReferenceEntry<K,V>LocalCache.Segment. newEntry(K key, int hash, ReferenceEntry<K,V> next)(package private) static <K,V>
ReferenceEntry<K,V>LocalCache. nullEntry()ReferenceEntry<K,V>LocalCache.AccessQueue. peek()ReferenceEntry<K,V>LocalCache.WriteQueue. peek()ReferenceEntry<K,V>LocalCache.AccessQueue. poll()ReferenceEntry<K,V>LocalCache.WriteQueue. poll()(package private) ReferenceEntry<K,V>LocalCache.Segment. removeEntryFromChain(ReferenceEntry<K,V> first, ReferenceEntry<K,V> entry)(package private) ReferenceEntry<K,V>LocalCache.Segment. removeValueFromChain(ReferenceEntry<K,V> first, ReferenceEntry<K,V> entry, K key, int hash, V value, LocalCache.ValueReference<K,V> valueReference, RemovalCause cause)Methods in com.google.common.cache that return types with arguments of type ReferenceEntry Modifier and Type Method Description java.util.Iterator<ReferenceEntry<K,V>>LocalCache.AccessQueue. iterator()java.util.Iterator<ReferenceEntry<K,V>>LocalCache.WriteQueue. iterator()(package private) java.util.concurrent.atomic.AtomicReferenceArray<ReferenceEntry<K,V>>LocalCache.Segment. newEntryArray(int size)Methods in com.google.common.cache with parameters of type ReferenceEntry Modifier and Type Method Description (package private) booleanLocalCache.HashIterator. advanceTo(ReferenceEntry<K,V> entry)Advances to the given entry.(package private) static <K,V>
voidLocalCache. connectAccessOrder(ReferenceEntry<K,V> previous, ReferenceEntry<K,V> next)(package private) static <K,V>
voidLocalCache. connectWriteOrder(ReferenceEntry<K,V> previous, ReferenceEntry<K,V> next)(package private) <K,V>
voidLocalCache.EntryFactory. copyAccessEntry(ReferenceEntry<K,V> original, ReferenceEntry<K,V> newEntry)(package private) ReferenceEntry<K,V>LocalCache. copyEntry(ReferenceEntry<K,V> original, ReferenceEntry<K,V> newNext)This method is a convenience for testing.(package private) <K,V>
ReferenceEntry<K,V>LocalCache.EntryFactory. copyEntry(LocalCache.Segment<K,V> segment, ReferenceEntry<K,V> original, ReferenceEntry<K,V> newNext)Copies an entry, assigning it a newnextentry.(package private) ReferenceEntry<K,V>LocalCache.Segment. copyEntry(ReferenceEntry<K,V> original, ReferenceEntry<K,V> newNext)Copiesoriginalinto a new entry chained tonewNext.LocalCache.ValueReference<K,V>LocalCache.LoadingValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, ReferenceEntry<K,V> entry)LocalCache.ValueReference<K,V>LocalCache.SoftValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, ReferenceEntry<K,V> entry)LocalCache.ValueReference<K,V>LocalCache.StrongValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, ReferenceEntry<K,V> entry)LocalCache.ValueReference<K,V>LocalCache.ValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, 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, ReferenceEntry<K,V> entry)LocalCache.ValueReference<K,V>LocalCache.WeightedSoftValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, ReferenceEntry<K,V> entry)LocalCache.ValueReference<K,V>LocalCache.WeightedWeakValueReference. copyFor(java.lang.ref.ReferenceQueue<V> queue, V value, ReferenceEntry<K,V> entry)(package private) <K,V>
voidLocalCache.EntryFactory. copyWriteEntry(ReferenceEntry<K,V> original, ReferenceEntry<K,V> newEntry)(package private) voidLocalCache.Segment. evictEntries(ReferenceEntry<K,V> newest)Performs eviction if the segment is over capacity.(package private) VLocalCache. getLiveValue(ReferenceEntry<K,V> entry, long now)Gets the value from an entry.(package private) VLocalCache.Segment. getLiveValue(ReferenceEntry<K,V> entry, long now)Gets the value from an entry.(package private) booleanLocalCache. isExpired(ReferenceEntry<K,V> entry, long now)Returns true if the entry has expired.(package private) booleanLocalCache. isLive(ReferenceEntry<K,V> entry, long now)This method is a convenience for testing.(package private) abstract <K,V>
ReferenceEntry<K,V>LocalCache.EntryFactory. newEntry(LocalCache.Segment<K,V> segment, K key, int hash, ReferenceEntry<K,V> next)Creates a new entry.(package private) ReferenceEntry<K,V>LocalCache. newEntry(K key, int hash, ReferenceEntry<K,V> next)This method is a convenience for testing.(package private) ReferenceEntry<K,V>LocalCache.Segment. newEntry(K key, int hash, ReferenceEntry<K,V> next)(package private) LocalCache.ValueReference<K,V>LocalCache. newValueReference(ReferenceEntry<K,V> entry, V value, int weight)This method is a convenience for testing.(package private) static <K,V>
voidLocalCache. nullifyAccessOrder(ReferenceEntry<K,V> nulled)(package private) static <K,V>
voidLocalCache. nullifyWriteOrder(ReferenceEntry<K,V> nulled)booleanLocalCache.AccessQueue. offer(ReferenceEntry<K,V> entry)booleanLocalCache.WriteQueue. offer(ReferenceEntry<K,V> entry)(package private) voidLocalCache. reclaimKey(ReferenceEntry<K,V> entry)(package private) booleanLocalCache.Segment. reclaimKey(ReferenceEntry<K,V> entry, int hash)Removes an entry whose key has been garbage collected.(package private) voidLocalCache.Segment. recordLockedRead(ReferenceEntry<K,V> entry, long now)Updates the eviction metadata thatentrywas just read.(package private) voidLocalCache.Segment. recordRead(ReferenceEntry<K,V> entry, long now)Records the relative order in which this read was performed by addingentryto the recency queue.(package private) voidLocalCache.Segment. recordWrite(ReferenceEntry<K,V> entry, int weight, long now)Updates eviction metadata thatentrywas just written.(package private) abstract <K,V>
LocalCache.ValueReference<K,V>LocalCache.Strength. referenceValue(LocalCache.Segment<K,V> segment, ReferenceEntry<K,V> entry, V value, int weight)Creates a reference for the given value according to this value strength.(package private) voidLocalCache.Segment. removeCollectedEntry(ReferenceEntry<K,V> entry)(package private) booleanLocalCache.Segment. removeEntry(ReferenceEntry<K,V> entry, int hash, RemovalCause cause)(package private) ReferenceEntry<K,V>LocalCache.Segment. removeEntryFromChain(ReferenceEntry<K,V> first, ReferenceEntry<K,V> entry)(package private) ReferenceEntry<K,V>LocalCache.Segment. removeValueFromChain(ReferenceEntry<K,V> first, ReferenceEntry<K,V> entry, K key, int hash, V value, LocalCache.ValueReference<K,V> valueReference, RemovalCause cause)(package private) VLocalCache.Segment. scheduleRefresh(ReferenceEntry<K,V> entry, K key, int hash, V oldValue, long now, CacheLoader<? super K,V> loader)voidLocalCache.AbstractReferenceEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)voidLocalCache.NullEntry. setNextInAccessQueue(ReferenceEntry<java.lang.Object,java.lang.Object> next)voidLocalCache.StrongAccessEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)voidLocalCache.StrongAccessWriteEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)voidLocalCache.WeakAccessEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)voidLocalCache.WeakAccessWriteEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)voidLocalCache.WeakEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)voidReferenceEntry. setNextInAccessQueue(ReferenceEntry<K,V> next)Sets the next entry in the access queue.voidLocalCache.AbstractReferenceEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)voidLocalCache.NullEntry. setNextInWriteQueue(ReferenceEntry<java.lang.Object,java.lang.Object> next)voidLocalCache.StrongAccessWriteEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)voidLocalCache.StrongWriteEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)voidLocalCache.WeakAccessWriteEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)voidLocalCache.WeakEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)voidLocalCache.WeakWriteEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)voidReferenceEntry. setNextInWriteQueue(ReferenceEntry<K,V> next)Sets the next entry in the write queue.voidLocalCache.AbstractReferenceEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)voidLocalCache.NullEntry. setPreviousInAccessQueue(ReferenceEntry<java.lang.Object,java.lang.Object> previous)voidLocalCache.StrongAccessEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)voidLocalCache.StrongAccessWriteEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)voidLocalCache.WeakAccessEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)voidLocalCache.WeakAccessWriteEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)voidLocalCache.WeakEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)voidReferenceEntry. setPreviousInAccessQueue(ReferenceEntry<K,V> previous)Sets the previous entry in the access queue.voidLocalCache.AbstractReferenceEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)voidLocalCache.NullEntry. setPreviousInWriteQueue(ReferenceEntry<java.lang.Object,java.lang.Object> previous)voidLocalCache.StrongAccessWriteEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)voidLocalCache.StrongWriteEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)voidLocalCache.WeakAccessWriteEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)voidLocalCache.WeakEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)voidLocalCache.WeakWriteEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)voidReferenceEntry. setPreviousInWriteQueue(ReferenceEntry<K,V> previous)Sets the previous entry in the write queue.(package private) voidLocalCache.Segment. setValue(ReferenceEntry<K,V> entry, K key, V value, long now)Sets a new value of an entry.(package private) VLocalCache.Segment. waitForLoadingValue(ReferenceEntry<K,V> e, K key, LocalCache.ValueReference<K,V> valueReference)Method parameters in com.google.common.cache with type arguments of type ReferenceEntry Modifier and Type Method Description (package private) voidLocalCache.Segment. initTable(java.util.concurrent.atomic.AtomicReferenceArray<ReferenceEntry<K,V>> newTable)Constructors in com.google.common.cache with parameters of type ReferenceEntry Constructor Description SoftValueReference(java.lang.ref.ReferenceQueue<V> queue, V referent, ReferenceEntry<K,V> entry)StrongAccessEntry(K key, int hash, ReferenceEntry<K,V> next)StrongAccessWriteEntry(K key, int hash, ReferenceEntry<K,V> next)StrongEntry(K key, int hash, ReferenceEntry<K,V> next)StrongWriteEntry(K key, int hash, ReferenceEntry<K,V> next)WeakAccessEntry(java.lang.ref.ReferenceQueue<K> queue, K key, int hash, ReferenceEntry<K,V> next)WeakAccessWriteEntry(java.lang.ref.ReferenceQueue<K> queue, K key, int hash, ReferenceEntry<K,V> next)WeakEntry(java.lang.ref.ReferenceQueue<K> queue, K key, int hash, ReferenceEntry<K,V> next)WeakValueReference(java.lang.ref.ReferenceQueue<V> queue, V referent, ReferenceEntry<K,V> entry)WeakWriteEntry(java.lang.ref.ReferenceQueue<K> queue, K key, int hash, ReferenceEntry<K,V> next)WeightedSoftValueReference(java.lang.ref.ReferenceQueue<V> queue, V referent, ReferenceEntry<K,V> entry, int weight)WeightedWeakValueReference(java.lang.ref.ReferenceQueue<V> queue, V referent, ReferenceEntry<K,V> entry, int weight)
-