public class org.springframework.cache.caffeine.CaffeineCacheManager implements org.springframework.cache.CacheManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.cache.caffeine.CaffeineCacheManager
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<java.lang.String, org.springframework.cache.Cache> cacheMap;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/springframework/cache/Cache;>;
private boolean dynamic;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.github.benmanes.caffeine.cache.Caffeine<java.lang.Object, java.lang.Object> cacheBuilder;
descriptor: Lcom/github/benmanes/caffeine/cache/Caffeine;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/github/benmanes/caffeine/cache/Caffeine<Ljava/lang/Object;Ljava/lang/Object;>;
private com.github.benmanes.caffeine.cache.CacheLoader<java.lang.Object, java.lang.Object> cacheLoader;
descriptor: Lcom/github/benmanes/caffeine/cache/CacheLoader;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/github/benmanes/caffeine/cache/CacheLoader<Ljava/lang/Object;Ljava/lang/Object;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean allowNullValues;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
bipush 16
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
iconst_1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.dynamic:Z
3: aload 0
invokestatic com.github.benmanes.caffeine.cache.Caffeine.newBuilder:()Lcom/github/benmanes/caffeine/cache/Caffeine;
putfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheBuilder:Lcom/github/benmanes/caffeine/cache/Caffeine;
4: aload 0
iconst_1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.allowNullValues:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
bipush 16
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
iconst_1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.dynamic:Z
3: aload 0
invokestatic com.github.benmanes.caffeine.cache.Caffeine.newBuilder:()Lcom/github/benmanes/caffeine/cache/Caffeine;
putfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheBuilder:Lcom/github/benmanes/caffeine/cache/Caffeine;
4: aload 0
iconst_1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.allowNullValues:Z
5: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.setCacheNames:(Ljava/util/Collection;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 7 1 cacheNames [Ljava/lang/String;
MethodParameters:
Name Flags
cacheNames
public void setCacheNames(java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.springframework.cache.caffeine.CaffeineCacheManager java.util.Collection top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 2
aload 0
aload 2
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.createCaffeineCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
iconst_0
putfield org.springframework.cache.caffeine.CaffeineCacheManager.dynamic:Z
6: goto 8
7: StackMap locals: org.springframework.cache.caffeine.CaffeineCacheManager java.util.Collection
StackMap stack:
aload 0
iconst_1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.dynamic:Z
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 9 1 cacheNames Ljava/util/Collection<Ljava/lang/String;>;
3 4 2 name Ljava/lang/String;
Signature: (Ljava/util/Collection<Ljava/lang/String;>;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cacheNames
public void setCaffeine(com.github.benmanes.caffeine.cache.Caffeine<java.lang.Object, java.lang.Object>);
descriptor: (Lcom/github/benmanes/caffeine/cache/Caffeine;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Caffeine must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.doSetCaffeine:(Lcom/github/benmanes/caffeine/cache/Caffeine;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 3 1 caffeine Lcom/github/benmanes/caffeine/cache/Caffeine<Ljava/lang/Object;Ljava/lang/Object;>;
Signature: (Lcom/github/benmanes/caffeine/cache/Caffeine<Ljava/lang/Object;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
caffeine
public void setCaffeineSpec(com.github.benmanes.caffeine.cache.CaffeineSpec);
descriptor: (Lcom/github/benmanes/caffeine/cache/CaffeineSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.github.benmanes.caffeine.cache.Caffeine.from:(Lcom/github/benmanes/caffeine/cache/CaffeineSpec;)Lcom/github/benmanes/caffeine/cache/Caffeine;
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.doSetCaffeine:(Lcom/github/benmanes/caffeine/cache/Caffeine;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 2 1 caffeineSpec Lcom/github/benmanes/caffeine/cache/CaffeineSpec;
MethodParameters:
Name Flags
caffeineSpec
public void setCacheSpecification(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.github.benmanes.caffeine.cache.Caffeine.from:(Ljava/lang/String;)Lcom/github/benmanes/caffeine/cache/Caffeine;
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.doSetCaffeine:(Lcom/github/benmanes/caffeine/cache/Caffeine;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 2 1 cacheSpecification Ljava/lang/String;
MethodParameters:
Name Flags
cacheSpecification
public void setCacheLoader(com.github.benmanes.caffeine.cache.CacheLoader<java.lang.Object, java.lang.Object>);
descriptor: (Lcom/github/benmanes/caffeine/cache/CacheLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheLoader:Lcom/github/benmanes/caffeine/cache/CacheLoader;
aload 1
invokestatic org.springframework.util.ObjectUtils.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 3
1: aload 0
aload 1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheLoader:Lcom/github/benmanes/caffeine/cache/CacheLoader;
2: aload 0
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.refreshKnownCaches:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 4 1 cacheLoader Lcom/github/benmanes/caffeine/cache/CacheLoader<Ljava/lang/Object;Ljava/lang/Object;>;
Signature: (Lcom/github/benmanes/caffeine/cache/CacheLoader<Ljava/lang/Object;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
cacheLoader
public void setAllowNullValues(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.allowNullValues:Z
iload 1
if_icmpeq 3
1: aload 0
iload 1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.allowNullValues:Z
2: aload 0
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.refreshKnownCaches:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 4 1 allowNullValues Z
MethodParameters:
Name Flags
allowNullValues
public boolean isAllowNullValues();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.allowNullValues:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
public java.util.Collection<java.lang.String> getCacheNames();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public org.springframework.cache.Cache getCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 2
start local 2 1: aload 2
ifnonnull 11
aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.dynamic:Z
ifeq 11
2: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
dup
astore 3
monitorenter
3: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 2
4: aload 2
ifnonnull 7
5: aload 0
aload 1
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.createCaffeineCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
astore 2
6: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: org.springframework.cache.Cache java.util.concurrent.ConcurrentMap
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 12 1 name Ljava/lang/String;
1 12 2 cache Lorg/springframework/cache/Cache;
Exception table:
from to target type
3 8 9 any
9 10 9 any
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
protected org.springframework.cache.Cache createCaffeineCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.cache.caffeine.CaffeineCache
dup
aload 1
aload 0
aload 1
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.createNativeCaffeineCache:(Ljava/lang/String;)Lcom/github/benmanes/caffeine/cache/Cache;
aload 0
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.isAllowNullValues:()Z
invokespecial org.springframework.cache.caffeine.CaffeineCache.<init>:(Ljava/lang/String;Lcom/github/benmanes/caffeine/cache/Cache;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected com.github.benmanes.caffeine.cache.Cache<java.lang.Object, java.lang.Object> createNativeCaffeineCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/github/benmanes/caffeine/cache/Cache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheLoader:Lcom/github/benmanes/caffeine/cache/CacheLoader;
ifnull 2
1: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheBuilder:Lcom/github/benmanes/caffeine/cache/Caffeine;
aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheLoader:Lcom/github/benmanes/caffeine/cache/CacheLoader;
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.build:(Lcom/github/benmanes/caffeine/cache/CacheLoader;)Lcom/github/benmanes/caffeine/cache/LoadingCache;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheBuilder:Lcom/github/benmanes/caffeine/cache/Caffeine;
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.build:()Lcom/github/benmanes/caffeine/cache/Cache;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 3 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Lcom/github/benmanes/caffeine/cache/Cache<Ljava/lang/Object;Ljava/lang/Object;>;
MethodParameters:
Name Flags
name
private void doSetCaffeine(com.github.benmanes.caffeine.cache.Caffeine<java.lang.Object, java.lang.Object>);
descriptor: (Lcom/github/benmanes/caffeine/cache/Caffeine;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheBuilder:Lcom/github/benmanes/caffeine/cache/Caffeine;
aload 1
invokestatic org.springframework.util.ObjectUtils.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 3
1: aload 0
aload 1
putfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheBuilder:Lcom/github/benmanes/caffeine/cache/Caffeine;
2: aload 0
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.refreshKnownCaches:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
0 4 1 cacheBuilder Lcom/github/benmanes/caffeine/cache/Caffeine<Ljava/lang/Object;Ljava/lang/Object;>;
Signature: (Lcom/github/benmanes/caffeine/cache/Caffeine<Ljava/lang/Object;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
cacheBuilder
private void refreshKnownCaches();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.caffeine.CaffeineCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.springframework.cache.caffeine.CaffeineCacheManager top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 2: aload 1
aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.springframework.cache.caffeine.CaffeineCacheManager.createCaffeineCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
invokeinterface java.util.Map$Entry.setValue:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/cache/caffeine/CaffeineCacheManager;
2 3 1 entry Ljava/util/Map$Entry<Ljava/lang/String;Lorg/springframework/cache/Cache;>;
}
SourceFile: "CaffeineCacheManager.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map