
com.google.common.cache.LocalCache.class Maven / Gradle / Ivy
???? 2? ]^
?_
?`
]a
bc ?d
]e ?f
]g ?h
]i ?j
]k ?l
]m ?n
]o ?p
]q ?r
]s ?t
]u ?v
]w ?x yz
?{|
` ?}
?~
] ??
??
??
? ??
]???? ?? ??
]?@
??
?? ?? ??
?? ??
?????????? ??
??
??
??
??
??
??
?? ? ?? ? ??
??
S?
S?
S? ??
S?
??
?
??
??? ??
S?
S?
S??
S? ???
?? ?? ?? ?? ??
?? ?? ???????? ?? ???
??
S? S? S?
b?
??
??
??
S? *? *?
S?
??
????????
????
??
????????
????????
?`?
??
??
??
???
??
?? ??
?? *??
??
???
???
??
?
?? ?? ?
??
*
S
S
S
S
? ?
S
S
S
S
S
S
? ?
?! ?"#
?! ?$%
?!&'(
?)'?
*+,
-.
?/0
?`1
?`234 LocalLoadingCache InnerClasses5 LocalManualCache6 LoadingSerializationProxy7 ManualSerializationProxy EntrySet Values KeySet8 AbstractCacheSet9
EntryIterator: WriteThroughEntry;
ValueIterator< KeyIterator= HashIterator> AccessQueue?
WriteQueue@ LoadingValueReference SegmentA WeightedStrongValueReferenceB WeightedSoftValueReferenceC WeightedWeakValueReferenceD StrongValueReferenceE SoftValueReferenceF WeakValueReferenceG WeakAccessWriteEntryH WeakWriteEntryI WeakAccessEntryJ WeakEntryK StrongAccessWriteEntryL StrongWriteEntryM StrongAccessEntryN StrongEntryO AbstractReferenceEntryP NullEntry ReferenceEntryQ ValueReferenceR EntryFactoryS 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,TUV 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;W?? |(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 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 result Ljava/util/Map; Ljava/lang/Iterable<*>; Ljava/util/Map;XYZ 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 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (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; Not supported. 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 T_MNU?`?abc%de*+fe,+gh&'ih)'j?-.kl/0m?2.n?3.o?4.pq89rtu?? *java/util/concurrent/ConcurrentLinkedQueue56{qvw;<}q|qxy=>z{|?}~ 2com/google/common/cache/AbstractCache$StatsCounter?ABC?pqrq ??!"???t?tquqvqyqzqxqwq?+GHt?J6????????????????????????}?????? *com/google/common/cache/LocalCache$SegmentU???????????????????V?} +com/google/common/cache/RemovalNotification??? java/lang/Throwable??? $Exception thrown by removal listener????????c??????????????????X??Z?q?}??Y-.??????"#[?#?qU =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??RB java/util/Map$Entry?} * returned null keys or values from loadAll????"????()]???? 1com/google/common/cache/LocalCache$ReferenceEntry?8??-?7?7?9?9?>?7?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