
com.google.common.cache.LocalCache.class Maven / Gradle / Ivy
The newest version!
???? 2? _`
?a
?b
_c
de ?f
_g ?h
_i ?j
_k ?l
_m ?n
_o ?p
_q ?r
_s ?t
_u ?v
_w ?x
_y ?z {|
?}~
b ?
??
_? ??
??
??
? ??
_???? ?? ??
_?@
??
?? ?? ??
?? ??
?????????? ??
??
??
??
??
??
??
?? ? ?? ? ??
??
S?
S?
S? ??
S?
??
?
??
??? ??
S?
S?
S??
S? ???
?? ?? ?? ?? ??
?? ?? ???????? ?? ???
??
S? S? S?
d?
??
??
??
S? *? *?
??
S?
??
??????????
??
????????
????????
?b?
??
??
??
???
??
?? ??
?? *??
??
???
?
?
?
??
?? ?
?? *
S
S
S
S
? ?
S
S
S
S
S
S
? ?!"
?# ?$%
?# ?&'
?#()*
?+)?
,-.
/0
?12
?b3
?b456 LocalLoadingCache InnerClasses7 LocalManualCache8 LoadingSerializationProxy9 ManualSerializationProxy EntrySet Values KeySet: AbstractCacheSet;
EntryIterator< WriteThroughEntry=
ValueIterator> KeyIterator? HashIterator@ AccessQueueA
WriteQueueB LoadingValueReference SegmentC WeightedStrongValueReferenceD WeightedSoftValueReferenceE WeightedWeakValueReferenceF StrongValueReferenceG SoftValueReferenceH WeakValueReferenceI WeakAccessWriteEntryJ WeakWriteEntryK WeakAccessEntryL WeakEntryM StrongAccessWriteEntryN StrongWriteEntryO StrongAccessEntryP StrongEntryQ AbstractReferenceEntryR NullEntry ReferenceEntryS ValueReferenceT EntryFactoryU Strength MAXIMUM_CAPACITY I
ConstantValue MAX_SEGMENTS CONTAINS_VALUE_RETRIES DRAIN_THRESHOLD ? DRAIN_MAX logger Ljava/util/logging/Logger; segmentMask segmentShift segments -[Lcom/google/common/cache/LocalCache$Segment; Signature 5[Lcom/google/common/cache/LocalCache$Segment; concurrencyLevel keyEquivalence $Lcom/google/common/base/Equivalence; 8Lcom/google/common/base/Equivalence; valueEquivalence keyStrength -Lcom/google/common/cache/LocalCache$Strength;
valueStrength maxWeight J weigher !Lcom/google/common/cache/Weigher; )Lcom/google/common/cache/Weigher; expireAfterAccessNanos expireAfterWriteNanos refreshNanos removalNotificationQueue Ljava/util/Queue; HLjava/util/Queue;>; removalListener )Lcom/google/common/cache/RemovalListener; 1Lcom/google/common/cache/RemovalListener; ticker Lcom/google/common/base/Ticker; entryFactory 1Lcom/google/common/cache/LocalCache$EntryFactory; globalStatsCounter StatsCounter 4Lcom/google/common/cache/AbstractCache$StatsCounter;
defaultLoader %Lcom/google/common/cache/CacheLoader; .Lcom/google/common/cache/CacheLoader<-TK;TV;>; RuntimeVisibleAnnotations Ljavax/annotation/Nullable; UNSET 3Lcom/google/common/cache/LocalCache$ValueReference; YLcom/google/common/cache/LocalCache$ValueReference; DISCARDING_QUEUE &Ljava/util/Queue<+Ljava/lang/Object;>; keySet Ljava/util/Set; Ljava/util/Set; values Ljava/util/Collection; Ljava/util/Collection; entrySet Entry .Ljava/util/Set;>; N(Lcom/google/common/cache/CacheBuilder;Lcom/google/common/cache/CacheLoader;)V Code LineNumberTable LocalVariableTable i maxSegmentWeight remainder this $Lcom/google/common/cache/LocalCache; builder &Lcom/google/common/cache/CacheBuilder; loader initialCapacity segmentCount segmentCapacity segmentSize LocalVariableTypeTable ,Lcom/google/common/cache/LocalCache; 0Lcom/google/common/cache/CacheBuilder<-TK;-TV;>;
StackMapTable.VWX a(Lcom/google/common/cache/CacheBuilder<-TK;-TV;>;Lcom/google/common/cache/CacheLoader<-TK;TV;>;)V "RuntimeVisibleParameterAnnotations evictsBySize ()Z
customWeigher expires expiresAfterWrite expiresAfterAccess refreshes usesAccessQueue usesWriteQueue recordsWrite
recordsAccess recordsTime usesWriteEntries usesAccessEntries usesKeyReferences usesValueReferences unset 5()Lcom/google/common/cache/LocalCache$ValueReference; g()Lcom/google/common/cache/LocalCache$ValueReference; nullEntry 5()Lcom/google/common/cache/LocalCache$ReferenceEntry; g()Lcom/google/common/cache/LocalCache$ReferenceEntry; discardingQueue ()Ljava/util/Queue; .()Ljava/util/Queue; rehash (I)I h newEntry {(Ljava/lang/Object;ILcom/google/common/cache/LocalCache$ReferenceEntry;)Lcom/google/common/cache/LocalCache$ReferenceEntry; key Ljava/lang/Object; hash next 3Lcom/google/common/cache/LocalCache$ReferenceEntry; segment ,Lcom/google/common/cache/LocalCache$Segment; TK; ;Lcom/google/common/cache/LocalCache$ReferenceEntry; 4Lcom/google/common/cache/LocalCache$Segment;Y?? |(TK;ILcom/google/common/cache/LocalCache$ReferenceEntry;)Lcom/google/common/cache/LocalCache$ReferenceEntry; RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; copyEntry ?(Lcom/google/common/cache/LocalCache$ReferenceEntry;Lcom/google/common/cache/LocalCache$ReferenceEntry;)Lcom/google/common/cache/LocalCache$ReferenceEntry; original newNext ?(Lcom/google/common/cache/LocalCache$ReferenceEntry;Lcom/google/common/cache/LocalCache$ReferenceEntry;)Lcom/google/common/cache/LocalCache$ReferenceEntry; newValueReference {(Lcom/google/common/cache/LocalCache$ReferenceEntry;Ljava/lang/Object;I)Lcom/google/common/cache/LocalCache$ValueReference; entry value weight TV; |(Lcom/google/common/cache/LocalCache$ReferenceEntry;TV;I)Lcom/google/common/cache/LocalCache$ValueReference; (Ljava/lang/Object;)I reclaimValue 6(Lcom/google/common/cache/LocalCache$ValueReference;)V valueReference ;Lcom/google/common/cache/LocalCache$ValueReference; >(Lcom/google/common/cache/LocalCache$ValueReference;)V
reclaimKey 6(Lcom/google/common/cache/LocalCache$ReferenceEntry;)V >(Lcom/google/common/cache/LocalCache$ReferenceEntry;)V isLive 7(Lcom/google/common/cache/LocalCache$ReferenceEntry;J)Z now ?(Lcom/google/common/cache/LocalCache$ReferenceEntry;J)Z
segmentFor /(I)Lcom/google/common/cache/LocalCache$Segment; 7(I)Lcom/google/common/cache/LocalCache$Segment;
createSegment d(IJLcom/google/common/cache/AbstractCache$StatsCounter;)Lcom/google/common/cache/LocalCache$Segment; statsCounter l(IJLcom/google/common/cache/AbstractCache$StatsCounter;)Lcom/google/common/cache/LocalCache$Segment; getLiveValue H(Lcom/google/common/cache/LocalCache$ReferenceEntry;J)Ljava/lang/Object; A(Lcom/google/common/cache/LocalCache$ReferenceEntry;J)TV; isExpired connectAccessOrder i(Lcom/google/common/cache/LocalCache$ReferenceEntry;Lcom/google/common/cache/LocalCache$ReferenceEntry;)V previous ?(Lcom/google/common/cache/LocalCache$ReferenceEntry;Lcom/google/common/cache/LocalCache$ReferenceEntry;)V nullifyAccessOrder nulled h(Lcom/google/common/cache/LocalCache$ReferenceEntry;)V connectWriteOrder nullifyWriteOrder processPendingNotifications ()V e Ljava/lang/Throwable; notification -Lcom/google/common/cache/RemovalNotification; 5Lcom/google/common/cache/RemovalNotification;? newSegmentArray 0(I)[Lcom/google/common/cache/LocalCache$Segment; ssize 8(I)[Lcom/google/common/cache/LocalCache$Segment; cleanUp arr$ len$ i$ 0Lcom/google/common/cache/LocalCache$Segment<**>;" isEmpty sum longSize ()J size ()I get &(Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/Object;)TV; getIfPresent getOrDefault 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; defaultValue result (Ljava/lang/Object;TV;)TV; K(Ljava/lang/Object;Lcom/google/common/cache/CacheLoader;)Ljava/lang/Object;
Exceptions 6(TK;Lcom/google/common/cache/CacheLoader<-TK;TV;>;)TV; getOrLoad (TK;)TV;
getAllPresent >(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMap; castKey Ljava/util/Iterator; keys Ljava/lang/Iterable; hits misses Ljava/util/Map; Ljava/lang/Iterable<*>; Ljava/util/Map;Z[\ I(Ljava/lang/Iterable<*>;)Lcom/google/common/collect/ImmutableMap; getAll
newEntries $UnsupportedLoadingOperationException JLcom/google/common/cache/CacheLoader$UnsupportedLoadingOperationException;
keysToLoad Ljava/lang/Iterable<+TK;>;]? L(Ljava/lang/Iterable<+TK;>;)Lcom/google/common/collect/ImmutableMap; loadAll E(Ljava/util/Set;Lcom/google/common/cache/CacheLoader;)Ljava/util/Map; map Ljava/lang/InterruptedException; Ljava/lang/RuntimeException; Ljava/lang/Exception; Ljava/lang/Error; Ljava/util/Map$Entry; stopwatch "Lcom/google/common/base/Stopwatch; success Z nullsPresent Ljava/util/Map$Entry; Ljava/util/Set<+TK;>;^?
\(Ljava/util/Set<+TK;>;Lcom/google/common/cache/CacheLoader<-TK;TV;>;)Ljava/util/Map; getEntry G(Ljava/lang/Object;)Lcom/google/common/cache/LocalCache$ReferenceEntry; O(Ljava/lang/Object;)Lcom/google/common/cache/LocalCache$ReferenceEntry; refresh (Ljava/lang/Object;)V (TK;)V containsKey (Ljava/lang/Object;)Z
containsValue v j unused table 2Ljava/util/concurrent/atomic/AtomicReferenceArray; last oLjava/util/concurrent/atomic/AtomicReferenceArray;>;_ put (TK;TV;)TV; putIfAbsent putAll (Ljava/util/Map;)V m Ljava/util/Map$Entry<+TK;+TV;>; Ljava/util/Map<+TK;+TV;>; (Ljava/util/Map<+TK;+TV;>;)V remove '(Ljava/lang/Object;Ljava/lang/Object;)Z replace 9(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z oldValue newValue (TK;TV;TV;)Z clear
invalidateAll (Ljava/lang/Iterable;)V (Ljava/lang/Iterable<*>;)V ()Ljava/util/Set; ks ()Ljava/util/Set; ()Ljava/util/Collection; vs` ()Ljava/util/Collection; es 0()Ljava/util/Set;>; /Lcom/google/common/annotations/GwtIncompatible; toArrayList -(Ljava/util/Collection;)Ljava/util/ArrayList; c Ljava/util/ArrayList; Ljava/util/Collection; Ljava/util/ArrayList; M(Ljava/util/Collection;)Ljava/util/ArrayList;
access$200 x0 uLjava/util/AbstractMap;Ljava/util/concurrent/ConcurrentMap;
SourceFile LocalCache.java -Lcom/google/common/annotations/GwtCompatible; emulated VaOPU?b?cde%fg*+hg,+ij&'kj)'l?-.mn/0o?2.p?3.q?4.rs89tvw?? *java/util/concurrent/ConcurrentLinkedQueue56{qxy;<}q|qz{=>|}~?? 2com/google/common/cache/AbstractCache$StatsCounter?ABC??pqrq ??!"???v?tquqvqyqzqxqwq?+GHv?J6?????????????????????? ???????? *com/google/common/cache/LocalCache$SegmentU???????????????????X? +com/google/common/cache/RemovalNotification??? java/lang/Throwable??? $Exception thrown by removal listener????????e????????????????????Z??\?q?[1???????&']?'?q
W =com/google/common/cache/CacheLoader$InvalidCacheLoadException InvalidCacheLoadException java/lang/StringBuilder %loadAll failed to return a value for ??????U? Hcom/google/common/cache/CacheLoader$UnsupportedLoadingOperationException^??
???????? java/lang/InterruptedException????? 'java/util/concurrent/ExecutionExceptionU? java/lang/RuntimeException =com/google/common/util/concurrent/UncheckedExecutionException java/lang/Exception java/lang/Error 0com/google/common/util/concurrent/ExecutionErrorU? returned null map from loadAll??RE java/util/Map$Entry? * returned null keys or values from loadAll?? ?#?&????,-_???? 1com/google/common/cache/LocalCache$ReferenceEntry?;??1?:?:?<?<?A?:?LM )com/google/common/cache/LocalCache$KeySetU?OP )com/google/common/cache/LocalCache$ValuesRM +com/google/common/cache/LocalCache$EntrySet java/util/ArrayList`??U???? "com/google/common/cache/LocalCache????? $com/google/common/cache/LocalCache$1 $com/google/common/cache/LocalCache$2 java/util/AbstractMap "java/util/concurrent/ConcurrentMap 4com/google/common/cache/LocalCache$LocalLoadingCache 3com/google/common/cache/LocalCache$LocalManualCache