public abstract class org.springframework.cache.support.AbstractCacheManager implements org.springframework.cache.CacheManager, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.cache.support.AbstractCacheManager
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 volatile java.util.Set<java.lang.String> cacheNames;
descriptor: Ljava/util/Set;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/Set<Ljava/lang/String;>;
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.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield org.springframework.cache.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/support/AbstractCacheManager;
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.cache.support.AbstractCacheManager.initializeCaches:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/support/AbstractCacheManager;
public void initializeCaches();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.cache.support.AbstractCacheManager.loadCaches:()Ljava/util/Collection;
astore 1
start local 1 1: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
dup
astore 2
monitorenter
2: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield org.springframework.cache.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
3: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
4: new java.util.LinkedHashSet
dup
aload 1
invokeinterface java.util.Collection.size:()I
invokespecial java.util.LinkedHashSet.<init>:(I)V
astore 3
start local 3 5: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.springframework.cache.support.AbstractCacheManager java.util.Collection java.util.concurrent.ConcurrentMap java.util.Set top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 4
start local 4 7: aload 4
invokeinterface org.springframework.cache.Cache.getName:()Ljava/lang/String;
astore 6
start local 6 8: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 6
aload 0
aload 4
invokevirtual org.springframework.cache.support.AbstractCacheManager.decorateCache:(Lorg/springframework/cache/Cache;)Lorg/springframework/cache/Cache;
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 3
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 0
aload 3
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.springframework.cache.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
end local 3 12: aload 2
monitorexit
13: goto 16
StackMap locals: org.springframework.cache.support.AbstractCacheManager java.util.Collection java.util.concurrent.ConcurrentMap
StackMap stack: java.lang.Throwable
14: aload 2
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/springframework/cache/support/AbstractCacheManager;
1 17 1 caches Ljava/util/Collection<+Lorg/springframework/cache/Cache;>;
5 12 3 cacheNames Ljava/util/Set<Ljava/lang/String;>;
7 10 4 cache Lorg/springframework/cache/Cache;
8 10 6 name Ljava/lang/String;
Exception table:
from to target type
2 13 14 any
14 15 14 any
protected abstract java.util.Collection<? extends org.springframework.cache.Cache> loadCaches();
descriptor: ()Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()Ljava/util/Collection<+Lorg/springframework/cache/Cache;>;
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.support.AbstractCacheManager.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
ifnull 3
2: aload 2
areturn
3: StackMap locals: org.springframework.cache.Cache
StackMap stack:
aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
dup
astore 3
monitorenter
4: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.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
5: aload 2
ifnonnull 11
6: aload 0
aload 1
invokevirtual org.springframework.cache.support.AbstractCacheManager.getMissingCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
astore 2
7: aload 2
ifnull 11
8: aload 0
aload 2
invokevirtual org.springframework.cache.support.AbstractCacheManager.decorateCache:(Lorg/springframework/cache/Cache;)Lorg/springframework/cache/Cache;
astore 2
9: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.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
10: aload 0
aload 1
invokevirtual org.springframework.cache.support.AbstractCacheManager.updateCacheNames:(Ljava/lang/String;)V
11: StackMap locals: java.util.concurrent.ConcurrentMap
StackMap stack:
aload 2
aload 3
monitorexit
12: areturn
13: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
14: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/cache/support/AbstractCacheManager;
0 15 1 name Ljava/lang/String;
1 15 2 cache Lorg/springframework/cache/Cache;
Exception table:
from to target type
4 12 13 any
13 14 13 any
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
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.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/support/AbstractCacheManager;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
protected final org.springframework.cache.Cache lookupCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.cache.Cache
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/support/AbstractCacheManager;
0 1 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
protected final void addCache(org.springframework.cache.Cache);
descriptor: (Lorg/springframework/cache/Cache;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.cache.Cache.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
dup
astore 3
monitorenter
2: aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 2
aload 0
aload 1
invokevirtual org.springframework.cache.support.AbstractCacheManager.decorateCache:(Lorg/springframework/cache/Cache;)Lorg/springframework/cache/Cache;
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 4
3: aload 0
aload 2
invokevirtual org.springframework.cache.support.AbstractCacheManager.updateCacheNames:(Ljava/lang/String;)V
4: StackMap locals: java.lang.String java.util.concurrent.ConcurrentMap
StackMap stack:
aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/cache/support/AbstractCacheManager;
0 9 1 cache Lorg/springframework/cache/Cache;
1 9 2 name Ljava/lang/String;
Exception table:
from to target type
2 5 6 any
6 7 6 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
cache
private void updateCacheNames(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashSet
dup
aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
iconst_1
iadd
invokespecial java.util.LinkedHashSet.<init>:(I)V
astore 2
start local 2 1: aload 2
aload 0
getfield org.springframework.cache.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
2: aload 2
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
aload 2
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.springframework.cache.support.AbstractCacheManager.cacheNames:Ljava/util/Set;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/cache/support/AbstractCacheManager;
0 5 1 name Ljava/lang/String;
1 5 2 cacheNames Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
protected org.springframework.cache.Cache decorateCache(org.springframework.cache.Cache);
descriptor: (Lorg/springframework/cache/Cache;)Lorg/springframework/cache/Cache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/support/AbstractCacheManager;
0 1 1 cache Lorg/springframework/cache/Cache;
MethodParameters:
Name Flags
cache
protected org.springframework.cache.Cache getMissingCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/support/AbstractCacheManager;
0 1 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
}
SourceFile: "AbstractCacheManager.java"