public class org.springframework.cache.support.CompositeCacheManager implements org.springframework.cache.CacheManager, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.cache.support.CompositeCacheManager
super_class: java.lang.Object
{
private final java.util.List<org.springframework.cache.CacheManager> cacheManagers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/cache/CacheManager;>;
private boolean fallbackToNoOpCache;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.cache.support.CompositeCacheManager.cacheManagers:Ljava/util/List;
2: aload 0
iconst_0
putfield org.springframework.cache.support.CompositeCacheManager.fallbackToNoOpCache:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/support/CompositeCacheManager;
public void <init>(org.springframework.cache.CacheManager[]);
descriptor: ([Lorg/springframework/cache/CacheManager;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, 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.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.cache.support.CompositeCacheManager.cacheManagers:Ljava/util/List;
2: aload 0
iconst_0
putfield org.springframework.cache.support.CompositeCacheManager.fallbackToNoOpCache:Z
3: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual org.springframework.cache.support.CompositeCacheManager.setCacheManagers:(Ljava/util/Collection;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/cache/support/CompositeCacheManager;
0 5 1 cacheManagers [Lorg/springframework/cache/CacheManager;
MethodParameters:
Name Flags
cacheManagers
public void setCacheManagers(java.util.Collection<org.springframework.cache.CacheManager>);
descriptor: (Ljava/util/Collection;)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.support.CompositeCacheManager.cacheManagers:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/support/CompositeCacheManager;
0 2 1 cacheManagers Ljava/util/Collection<Lorg/springframework/cache/CacheManager;>;
Signature: (Ljava/util/Collection<Lorg/springframework/cache/CacheManager;>;)V
MethodParameters:
Name Flags
cacheManagers
public void setFallbackToNoOpCache(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
iload 1
putfield org.springframework.cache.support.CompositeCacheManager.fallbackToNoOpCache:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/support/CompositeCacheManager;
0 2 1 fallbackToNoOpCache Z
MethodParameters:
Name Flags
fallbackToNoOpCache
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.support.CompositeCacheManager.fallbackToNoOpCache:Z
ifeq 2
1: aload 0
getfield org.springframework.cache.support.CompositeCacheManager.cacheManagers:Ljava/util/List;
new org.springframework.cache.support.NoOpCacheManager
dup
invokespecial org.springframework.cache.support.NoOpCacheManager.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/support/CompositeCacheManager;
public org.springframework.cache.Cache getCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.support.CompositeCacheManager.cacheManagers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.springframework.cache.support.CompositeCacheManager java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.CacheManager
astore 2
start local 2 2: aload 2
aload 1
invokeinterface org.springframework.cache.CacheManager.getCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/support/CompositeCacheManager;
0 7 1 name Ljava/lang/String;
2 5 2 cacheManager Lorg/springframework/cache/CacheManager;
3 5 4 cache Lorg/springframework/cache/Cache;
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=2, locals=4, args_size=1
start local 0 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.springframework.cache.support.CompositeCacheManager.cacheManagers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.springframework.cache.support.CompositeCacheManager java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.CacheManager
astore 2
start local 2 3: aload 1
aload 2
invokeinterface org.springframework.cache.CacheManager.getCacheNames:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/support/CompositeCacheManager;
1 6 1 names Ljava/util/Set<Ljava/lang/String;>;
3 4 2 manager Lorg/springframework/cache/CacheManager;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
}
SourceFile: "CompositeCacheManager.java"