com.google.common.cache.CacheBuilder.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 4?
java/lang/Object ()V
$com/google/common/cache/CacheBuilder
strictParsing Z initialCapacity I concurrencyLevel???????? maximumSize J
maximumWeight expireAfterWriteNanos ! " expireAfterAccessNanos $ % refreshNanos ' ( ) NULL_STATS_COUNTER !Lcom/google/common/base/Supplier; + , ) statsCounterSupplier
/ 0 1 2 3 (com/google/common/cache/CacheBuilderSpec toCacheBuilder (()Lcom/google/common/cache/CacheBuilder;
5 6 3 lenientParsing
/ 8 9 : parse >(Ljava/lang/String;)Lcom/google/common/cache/CacheBuilderSpec;
< = > from R(Lcom/google/common/cache/CacheBuilderSpec;)Lcom/google/common/cache/CacheBuilder; @ A B keyEquivalence $Lcom/google/common/base/Equivalence; D %key equivalence was already set to %s
F G H I J $com/google/common/base/Preconditions
checkState ((ZLjava/lang/String;Ljava/lang/Object;)V
F L M N checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; P "com/google/common/base/Equivalence
R S T getKeyStrength /()Lcom/google/common/cache/LocalCache$Strength;
V W X Y Z +com/google/common/cache/LocalCache$Strength defaultEquivalence &()Lcom/google/common/base/Equivalence;
\ ] ^ _ ` "com/google/common/base/MoreObjects firstNonNull 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; b c B valueEquivalence e 'value equivalence was already set to %s
g h T getValueStrength j &initial capacity was already set to %s
F l I m (ZLjava/lang/String;I)V
F o p q
checkArgument (Z)V s 'concurrency level was already set to %s u "maximum size was already set to %s
F w I x (ZLjava/lang/String;J)V z $maximum weight was already set to %s | } ~ weigher !Lcom/google/common/cache/Weigher; ? -maximum size can not be combined with weigher
F ? I ? (ZLjava/lang/Object;)V ? !maximum size must not be negative
F ? p ? ? #maximum weight must not be negative
F ? I q ? ;weigher can not be combined with maximum size (%s provided) ? com/google/common/cache/Weigher ? ? ? ? ? /com/google/common/cache/CacheBuilder$OneWeigher INSTANCE 1Lcom/google/common/cache/CacheBuilder$OneWeigher; V ? ? ? WEAK -Lcom/google/common/cache/LocalCache$Strength;
? ? ? setKeyStrength U(Lcom/google/common/cache/LocalCache$Strength;)Lcom/google/common/cache/CacheBuilder; ? ? ? keyStrength ? "Key strength was already set to %s V ? ? ? STRONG
? ? ? setValueStrength V ? ? ? SOFT ? ? ?
valueStrength ? $Value strength was already set to %s
? ? ? toNanosSaturated (Ljava/time/Duration;)J ? ? ? ? ? java/util/concurrent/TimeUnit NANOSECONDS Ljava/util/concurrent/TimeUnit;
? ? ? expireAfterWrite H(JLjava/util/concurrent/TimeUnit;)Lcom/google/common/cache/CacheBuilder; ? )expireAfterWrite was already set to %s ns ? "duration cannot be negative: %s %s
F ? p ? )(ZLjava/lang/String;JLjava/lang/Object;)V
? ? ? ? toNanos (J)J
? ? ? expireAfterAccess ? *expireAfterAccess was already set to %s ns
? ? ? refreshAfterWrite ? refresh was already set to %s ns ? duration must be positive: %s %s ? ? ? ticker Lcom/google/common/base/Ticker; ? com/google/common/base/Ticker
? ? ? ? systemTicker !()Lcom/google/common/base/Ticker; ? ? ? NULL_TICKER ? ? ? removalListener )Lcom/google/common/cache/RemovalListener; ? 'com/google/common/cache/RemovalListener ? ? ? ? ? 1com/google/common/cache/CacheBuilder$NullListener 3Lcom/google/common/cache/CacheBuilder$NullListener; ? ? ) CACHE_STATS_COUNTER
? ? checkWeightWithWeigher ? 4com/google/common/cache/LocalCache$LocalLoadingCache
? ? ? N(Lcom/google/common/cache/CacheBuilder;Lcom/google/common/cache/CacheLoader;)V
? ? checkNonLoadingCache ? 3com/google/common/cache/LocalCache$LocalManualCache
? ? )(Lcom/google/common/cache/CacheBuilder;)V )refreshAfterWrite requires a LoadingCache maximumWeight requires weigher weigher requires maximumWeight
1com/google/common/cache/CacheBuilder$LoggerHolder logger Ljava/util/logging/Logger; java/util/logging/Level WARNING Ljava/util/logging/Level; 0ignoring weigher specified without maximumWeight
java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V
\ toStringHelper G(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
!"#$% 1com/google/common/base/MoreObjects$ToStringHelper add H(Ljava/lang/String;I)Lcom/google/common/base/MoreObjects$ToStringHelper;
!)$* H(Ljava/lang/String;J)Lcom/google/common/base/MoreObjects$ToStringHelper; ?. java/lang/StringBuilder
-
-123 append (J)Ljava/lang/StringBuilder;5 ns
-728 -(Ljava/lang/String;)Ljava/lang/StringBuilder;
-:;< toString ()Ljava/lang/String;
!>$? Y(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper; ? ?
V:
DEFGH com/google/common/base/Ascii toLowerCase &(Ljava/lang/String;)Ljava/lang/String; ? A
!LM addValue c ?
!:
RST ?U java/time/Duration ()JW java/lang/ArithmeticException
RYZ[
isNegative ()Z] java/lang/Long? ???????c &com/google/common/cache/CacheBuilder$1
b
fghij com/google/common/base/Suppliers
ofInstance 5(Ljava/lang/Object;)Lcom/google/common/base/Supplier;l "com/google/common/cache/CacheStats
kn o (JJJJJJ)V qrs EMPTY_STATS $Lcom/google/common/cache/CacheStats;u &com/google/common/cache/CacheBuilder$2
t x &com/google/common/cache/CacheBuilder$3
w DEFAULT_INITIAL_CAPACITY
ConstantValue DEFAULT_CONCURRENCY_LEVEL DEFAULT_EXPIRATION_NANOS DEFAULT_REFRESH_NANOS Signature XLcom/google/common/base/Supplier<+Lcom/google/common/cache/AbstractCache$StatsCounter;>; WLcom/google/common/base/Supplier; UNSET_INT???? +Lcom/google/common/cache/Weigher<-TK;-TV;>; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; 8Lcom/google/common/base/Equivalence; 3Lcom/google/common/cache/RemovalListener<-TK;-TV;>; Code LineNumberTable LocalVariableTable this &Lcom/google/common/cache/CacheBuilder; LocalVariableTypeTable .Lcom/google/common/cache/CacheBuilder;
newBuilder N()Lcom/google/common/cache/CacheBuilder; spec *Lcom/google/common/cache/CacheBuilderSpec; MethodParameters x(Lcom/google/common/cache/CacheBuilderSpec;)Lcom/google/common/cache/CacheBuilder; RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; :(Ljava/lang/String;)Lcom/google/common/cache/CacheBuilder; Ljava/lang/String; `(Ljava/lang/String;)Lcom/google/common/cache/CacheBuilder; 0()Lcom/google/common/cache/CacheBuilder; 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; L(Lcom/google/common/base/Equivalence;)Lcom/google/common/cache/CacheBuilder; equivalence
StackMapTable h(Lcom/google/common/base/Equivalence;)Lcom/google/common/cache/CacheBuilder; getKeyEquivalence :()Lcom/google/common/base/Equivalence; getValueEquivalence )(I)Lcom/google/common/cache/CacheBuilder; 1(I)Lcom/google/common/cache/CacheBuilder; getInitialCapacity ()I getConcurrencyLevel )(J)Lcom/google/common/cache/CacheBuilder; 1(J)Lcom/google/common/cache/CacheBuilder; I(Lcom/google/common/cache/Weigher;)Lcom/google/common/cache/CacheBuilder; me -Lcom/google/common/cache/Weigher<-TK1;-TV1;>; 0Lcom/google/common/cache/CacheBuilder; m(Lcom/google/common/cache/Weigher<-TK1;-TV1;>;)Lcom/google/common/cache/CacheBuilder; getMaximumWeight
getWeigher #()Lcom/google/common/cache/Weigher; ;()Lcom/google/common/cache/Weigher; weakKeys strength ](Lcom/google/common/cache/LocalCache$Strength;)Lcom/google/common/cache/CacheBuilder;
weakValues
softValues <(Ljava/time/Duration;)Lcom/google/common/cache/CacheBuilder; duration Ljava/time/Duration; D(Ljava/time/Duration;)Lcom/google/common/cache/CacheBuilder; unit P(JLjava/util/concurrent/TimeUnit;)Lcom/google/common/cache/CacheBuilder; getExpireAfterWriteNanos getExpireAfterAccessNanos getRefreshNanos G(Lcom/google/common/base/Ticker;)Lcom/google/common/cache/CacheBuilder; O(Lcom/google/common/base/Ticker;)Lcom/google/common/cache/CacheBuilder; getTicker "(Z)Lcom/google/common/base/Ticker; recordsTime Q(Lcom/google/common/cache/RemovalListener;)Lcom/google/common/cache/CacheBuilder; listener 5Lcom/google/common/cache/RemovalListener<-TK1;-TV1;>; u(Lcom/google/common/cache/RemovalListener<-TK1;-TV1;>;)Lcom/google/common/cache/CacheBuilder; getRemovalListener +()Lcom/google/common/cache/RemovalListener; C()Lcom/google/common/cache/RemovalListener; recordStats isRecordingStats getStatsCounterSupplier #()Lcom/google/common/base/Supplier; Z()Lcom/google/common/base/Supplier<+Lcom/google/common/cache/AbstractCache$StatsCounter;>; build M(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache; loader %Lcom/google/common/cache/CacheLoader; 0Lcom/google/common/cache/CacheLoader<-TK1;TV1;>; p(Lcom/google/common/cache/CacheLoader<-TK1;TV1;>;)Lcom/google/common/cache/LoadingCache; !()Lcom/google/common/cache/Cache; 9()Lcom/google/common/cache/Cache; s 3Lcom/google/common/base/MoreObjects$ToStringHelper; tooBig Ljava/lang/ArithmeticException; <Ljava/lang/Object;
SourceFile CacheBuilder.java 9Lcom/google/common/cache/ElementTypesAreNonnullByDefault; -Lcom/google/common/annotations/GwtCompatible; emulated InnerClasses? "com/google/common/cache/LocalCache Strength
OneWeigher NullListener LocalLoadingCache LocalManualCache LoggerHolder ToStringHelper? 2com/google/common/cache/AbstractCache$StatsCounter? %com/google/common/cache/AbstractCache StatsCounter 1 z { | } { ~ { ? ? { ? ( ) ? ? rs ? ) ? ? ? ? ? { ? } ~ ? ?? ? ? ? ? ? ? ? ? ? " % A B ? ?? ? c B ? ?? ? ? ? ? ?? ? ? ? ? ? , ) ? ? 0 ? ? >*? *? *?
*? * ? * ? * ? * ? * ? #*? &? *? ? . 7 !&