public class org.springframework.cache.concurrent.ConcurrentMapCacheManager implements org.springframework.cache.CacheManager, org.springframework.beans.factory.BeanClassLoaderAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.cache.concurrent.ConcurrentMapCacheManager
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 boolean allowNullValues;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean storeByValue;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.springframework.core.serializer.support.SerializationDelegate serialization;
descriptor: Lorg/springframework/core/serializer/support/SerializationDelegate;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
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.concurrent.ConcurrentMapCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
iconst_1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.dynamic:Z
3: aload 0
iconst_1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.allowNullValues:Z
4: aload 0
iconst_0
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.storeByValue:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/concurrent/ConcurrentMapCacheManager;
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.concurrent.ConcurrentMapCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
iconst_1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.dynamic:Z
3: aload 0
iconst_1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.allowNullValues:Z
4: aload 0
iconst_0
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.storeByValue:Z
5: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.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/concurrent/ConcurrentMapCacheManager;
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.concurrent.ConcurrentMapCacheManager 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.concurrent.ConcurrentMapCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 2
aload 0
aload 2
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.createConcurrentMapCache:(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.concurrent.ConcurrentMapCacheManager.dynamic:Z
6: goto 8
7: StackMap locals: org.springframework.cache.concurrent.ConcurrentMapCacheManager java.util.Collection
StackMap stack:
aload 0
iconst_1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.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/concurrent/ConcurrentMapCacheManager;
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 setAllowNullValues(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.allowNullValues:Z
if_icmpeq 3
1: aload 0
iload 1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.allowNullValues:Z
2: aload 0
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.recreateCaches:()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/concurrent/ConcurrentMapCacheManager;
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.concurrent.ConcurrentMapCacheManager.allowNullValues:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/concurrent/ConcurrentMapCacheManager;
public void setStoreByValue(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.storeByValue:Z
if_icmpeq 3
1: aload 0
iload 1
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.storeByValue:Z
2: aload 0
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.recreateCaches:()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/concurrent/ConcurrentMapCacheManager;
0 4 1 storeByValue Z
MethodParameters:
Name Flags
storeByValue
public boolean isStoreByValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.storeByValue:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/concurrent/ConcurrentMapCacheManager;
public void setBeanClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.core.serializer.support.SerializationDelegate
dup
aload 1
invokespecial org.springframework.core.serializer.support.SerializationDelegate.<init>:(Ljava/lang/ClassLoader;)V
putfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.serialization:Lorg/springframework/core/serializer/support/SerializationDelegate;
1: aload 0
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.isStoreByValue:()Z
ifeq 3
2: aload 0
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.recreateCaches:()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/concurrent/ConcurrentMapCacheManager;
0 4 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
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.concurrent.ConcurrentMapCacheManager.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/concurrent/ConcurrentMapCacheManager;
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.concurrent.ConcurrentMapCacheManager.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.concurrent.ConcurrentMapCacheManager.dynamic:Z
ifeq 11
2: aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
dup
astore 3
monitorenter
3: aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.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.concurrent.ConcurrentMapCacheManager.createConcurrentMapCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
astore 2
6: aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.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/concurrent/ConcurrentMapCacheManager;
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
private void recreateCaches();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.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.concurrent.ConcurrentMapCacheManager 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.concurrent.ConcurrentMapCacheManager.createConcurrentMapCache:(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/concurrent/ConcurrentMapCacheManager;
2 3 1 entry Ljava/util/Map$Entry<Ljava/lang/String;Lorg/springframework/cache/Cache;>;
protected org.springframework.cache.Cache createConcurrentMapCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.isStoreByValue:()Z
ifeq 1
aload 0
getfield org.springframework.cache.concurrent.ConcurrentMapCacheManager.serialization:Lorg/springframework/core/serializer/support/SerializationDelegate;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.springframework.core.serializer.support.SerializationDelegate
2: astore 2
start local 2 3: new org.springframework.cache.concurrent.ConcurrentMapCache
dup
aload 1
new java.util.concurrent.ConcurrentHashMap
dup
sipush 256
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
4: aload 0
invokevirtual org.springframework.cache.concurrent.ConcurrentMapCacheManager.isAllowNullValues:()Z
aload 2
5: invokespecial org.springframework.cache.concurrent.ConcurrentMapCache.<init>:(Ljava/lang/String;Ljava/util/concurrent/ConcurrentMap;ZLorg/springframework/core/serializer/support/SerializationDelegate;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/concurrent/ConcurrentMapCacheManager;
0 6 1 name Ljava/lang/String;
3 6 2 actualSerialization Lorg/springframework/core/serializer/support/SerializationDelegate;
MethodParameters:
Name Flags
name
}
SourceFile: "ConcurrentMapCacheManager.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map