Uses of Class
com.google.common.cache.LocalCache.Segment
Packages that use LocalCache.Segment
-
Uses of LocalCache.Segment in com.google.common.cache
Fields in com.google.common.cache declared as LocalCache.SegmentModifier and TypeFieldDescription(package private) LocalCache.Segment
<K, V> LocalCache.HashIterator.currentSegment
(package private) final LocalCache.Segment<K,
V>[] LocalCache.segments
The segments, each of which is a specialized hash table.Methods in com.google.common.cache that return LocalCache.SegmentModifier and TypeMethodDescription(package private) LocalCache.Segment
<K, V> LocalCache.createSegment
(int initialCapacity, long maxSegmentWeight, AbstractCache.StatsCounter statsCounter) (package private) final LocalCache.Segment<K,
V>[] LocalCache.newSegmentArray
(int ssize) (package private) LocalCache.Segment
<K, V> LocalCache.segmentFor
(int hash) Returns the segment that should be used for a key with the given hash.Methods in com.google.common.cache with parameters of type LocalCache.SegmentModifier and TypeMethodDescription(package private) <K,
V> ReferenceEntry <K, V> LocalCache.EntryFactory.copyEntry
(LocalCache.Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext, K key) Copies an entry, assigning it a newnext
entry.(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) 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.