public class org.hibernate.cache.internal.EnabledCaching implements org.hibernate.cache.spi.CacheImplementor, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.cache.internal.EnabledCaching
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory;
descriptor: Lorg/hibernate/engine/spi/SessionFactoryImplementor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.cache.spi.RegionFactory regionFactory;
descriptor: Lorg/hibernate/cache/spi/RegionFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, org.hibernate.cache.spi.Region> regionsByName;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/hibernate/cache/spi/Region;>;
private final java.util.Map<org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.cache.spi.access.EntityDataAccess> entityAccessMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/EntityDataAccess;>;
private final java.util.Map<org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.cache.spi.access.NaturalIdDataAccess> naturalIdAccessMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;>;
private final java.util.Map<org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.cache.spi.access.CollectionDataAccess> collectionAccessMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/CollectionDataAccess;>;
private final org.hibernate.cache.spi.TimestampsCache timestampsCache;
descriptor: Lorg/hibernate/cache/spi/TimestampsCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.cache.spi.QueryResultsCache defaultQueryResultsCache;
descriptor: Lorg/hibernate/cache/spi/QueryResultsCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, org.hibernate.cache.spi.QueryResultsCache> namedQueryResultsCacheMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/hibernate/cache/spi/QueryResultsCache;>;
private final java.util.Set<java.lang.String> legacySecondLevelCacheNames;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Map<java.lang.String, java.util.Set<org.hibernate.cache.spi.access.NaturalIdDataAccess>> legacyNaturalIdAccessesForRegion;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/cache/internal/EnabledCaching;
invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
putstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/engine/spi/SessionFactoryImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, 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
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.entityAccessMap:Ljava/util/Map;
3: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.naturalIdAccessMap:Ljava/util/Map;
4: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.collectionAccessMap:Ljava/util/Map;
5: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.namedQueryResultsCacheMap:Ljava/util/Map;
6: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.legacySecondLevelCacheNames:Ljava/util/Set;
7: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.legacyNaturalIdAccessesForRegion:Ljava/util/Map;
8: aload 0
aload 1
putfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
9: aload 0
aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.getServiceRegistry:()Lorg/hibernate/boot/registry/StandardServiceRegistry;
ldc Lorg/hibernate/cache/spi/RegionFactory;
invokeinterface org.hibernate.boot.registry.StandardServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.cache.spi.RegionFactory
putfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
10: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
aload 1
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
aload 1
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getProperties:()Ljava/util/Map;
invokeinterface org.hibernate.cache.spi.RegionFactory.start:(Lorg/hibernate/boot/spi/SessionFactoryOptions;Ljava/util/Map;)V
11: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.isQueryCacheEnabled:()Z
ifeq 31
12: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
13: ldc Lorg/hibernate/cache/spi/TimestampsRegion;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
14: aload 1
15: invokeinterface org.hibernate.cache.spi.RegionFactory.buildTimestampsRegion:(Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/cache/spi/TimestampsRegion;
astore 2
start local 2 16: aload 0
aload 1
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
17: invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.getTimestampsCacheFactory:()Lorg/hibernate/cache/spi/TimestampsCacheFactory;
18: aload 0
aload 2
invokeinterface org.hibernate.cache.spi.TimestampsCacheFactory.buildTimestampsCache:(Lorg/hibernate/cache/spi/CacheImplementor;Lorg/hibernate/cache/spi/TimestampsRegion;)Lorg/hibernate/cache/spi/TimestampsCache;
19: putfield org.hibernate.cache.internal.EnabledCaching.timestampsCache:Lorg/hibernate/cache/spi/TimestampsCache;
20: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacySecondLevelCacheNames:Ljava/util/Set;
aload 2
invokeinterface org.hibernate.cache.spi.TimestampsRegion.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
22: ldc Lorg/hibernate/cache/spi/QueryResultsRegion;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
23: aload 1
24: invokeinterface org.hibernate.cache.spi.RegionFactory.buildQueryResultsRegion:(Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/cache/spi/QueryResultsRegion;
astore 3
start local 3 25: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
aload 3
invokeinterface org.hibernate.cache.spi.QueryResultsRegion.getName:()Ljava/lang/String;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
26: aload 0
new org.hibernate.cache.internal.QueryResultsCacheImpl
dup
27: aload 3
28: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.timestampsCache:Lorg/hibernate/cache/spi/TimestampsCache;
invokespecial org.hibernate.cache.internal.QueryResultsCacheImpl.<init>:(Lorg/hibernate/cache/spi/QueryResultsRegion;Lorg/hibernate/cache/spi/TimestampsCache;)V
29: putfield org.hibernate.cache.internal.EnabledCaching.defaultQueryResultsCache:Lorg/hibernate/cache/spi/QueryResultsCache;
end local 3 end local 2 30: goto 33
31: StackMap locals: org.hibernate.cache.internal.EnabledCaching org.hibernate.engine.spi.SessionFactoryImplementor
StackMap stack:
aload 0
new org.hibernate.cache.internal.TimestampsCacheDisabledImpl
dup
invokespecial org.hibernate.cache.internal.TimestampsCacheDisabledImpl.<init>:()V
putfield org.hibernate.cache.internal.EnabledCaching.timestampsCache:Lorg/hibernate/cache/spi/TimestampsCache;
32: aload 0
aconst_null
putfield org.hibernate.cache.internal.EnabledCaching.defaultQueryResultsCache:Lorg/hibernate/cache/spi/QueryResultsCache;
33: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 34 1 sessionFactory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
16 30 2 timestampsRegion Lorg/hibernate/cache/spi/TimestampsRegion;
25 30 3 queryResultsRegion Lorg/hibernate/cache/spi/QueryResultsRegion;
MethodParameters:
Name Flags
sessionFactory
public void prime(java.util.Set<org.hibernate.cache.cfg.spi.DomainDataRegionConfig>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 51
StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cache.cfg.spi.DomainDataRegionConfig
astore 2
start local 2 2: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getRegionFactory:()Lorg/hibernate/cache/spi/RegionFactory;
aload 2
aload 0
invokeinterface org.hibernate.cache.spi.RegionFactory.buildDomainDataRegion:(Lorg/hibernate/cache/cfg/spi/DomainDataRegionConfig;Lorg/hibernate/cache/cfg/spi/DomainDataRegionBuildingContext;)Lorg/hibernate/cache/spi/DomainDataRegion;
astore 4
start local 4 3: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: getstatic org.hibernate.type.descriptor.java.StringTypeDescriptor.INSTANCE:Lorg/hibernate/type/descriptor/java/StringTypeDescriptor;
aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
aload 2
invokeinterface org.hibernate.cache.cfg.spi.DomainDataRegionConfig.getRegionName:()Ljava/lang/String;
invokevirtual org.hibernate.type.descriptor.java.StringTypeDescriptor.areEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 14
5: new org.hibernate.HibernateException
dup
6: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
7: ldc "Region [%s] returned from RegionFactory [%s] was named differently than requested name. Expecting `%s`, but found `%s`"
iconst_4
anewarray java.lang.Object
dup
iconst_0
8: aload 4
aastore
dup
iconst_1
9: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getRegionFactory:()Lorg/hibernate/cache/spi/RegionFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
10: aload 2
invokeinterface org.hibernate.cache.cfg.spi.DomainDataRegionConfig.getRegionName:()Ljava/lang/String;
aastore
dup
iconst_3
11: aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
aastore
12: invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
13: invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set org.hibernate.cache.cfg.spi.DomainDataRegionConfig java.util.Iterator org.hibernate.cache.spi.DomainDataRegion
StackMap stack:
aload 2
invokeinterface org.hibernate.cache.cfg.spi.DomainDataRegionConfig.getEntityCaching:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 25
StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set org.hibernate.cache.cfg.spi.DomainDataRegionConfig java.util.Iterator org.hibernate.cache.spi.DomainDataRegion top java.util.Iterator
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cache.cfg.spi.EntityDataCachingConfig
astore 5
start local 5 16: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.entityAccessMap:Ljava/util/Map;
17: aload 5
invokeinterface org.hibernate.cache.cfg.spi.EntityDataCachingConfig.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
18: aload 4
aload 5
invokeinterface org.hibernate.cache.cfg.spi.EntityDataCachingConfig.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getEntityDataAccess:(Lorg/hibernate/metamodel/model/domain/NavigableRole;)Lorg/hibernate/cache/spi/access/EntityDataAccess;
19: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.access.EntityDataAccess
pop
20: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacySecondLevelCacheNames:Ljava/util/Set;
21: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.getCacheRegionPrefix:()Ljava/lang/String;
22: aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
23: invokestatic org.hibernate.internal.util.StringHelper.qualifyConditionally:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
24: invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 25: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
26: aload 2
invokeinterface org.hibernate.cache.cfg.spi.DomainDataRegionConfig.getNaturalIdCaching:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 29
27: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacyNaturalIdAccessesForRegion:Ljava/util/Map;
aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: goto 39
29: StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set org.hibernate.cache.cfg.spi.DomainDataRegionConfig java.util.Iterator org.hibernate.cache.spi.DomainDataRegion
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 5
start local 5 30: aload 2
invokeinterface org.hibernate.cache.cfg.spi.DomainDataRegionConfig.getNaturalIdCaching:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 37
StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set org.hibernate.cache.cfg.spi.DomainDataRegionConfig java.util.Iterator org.hibernate.cache.spi.DomainDataRegion java.util.HashSet top java.util.Iterator
StackMap stack:
31: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cache.cfg.spi.NaturalIdDataCachingConfig
astore 6
start local 6 32: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.naturalIdAccessMap:Ljava/util/Map;
33: aload 6
invokeinterface org.hibernate.cache.cfg.spi.NaturalIdDataCachingConfig.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
34: aload 4
aload 6
invokeinterface org.hibernate.cache.cfg.spi.NaturalIdDataCachingConfig.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getNaturalIdDataAccess:(Lorg/hibernate/metamodel/model/domain/NavigableRole;)Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
35: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.access.NaturalIdDataAccess
astore 8
start local 8 36: aload 5
aload 8
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 37: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
38: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacyNaturalIdAccessesForRegion:Ljava/util/Map;
aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 39: StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set org.hibernate.cache.cfg.spi.DomainDataRegionConfig java.util.Iterator org.hibernate.cache.spi.DomainDataRegion
StackMap stack:
aload 2
invokeinterface org.hibernate.cache.cfg.spi.DomainDataRegionConfig.getCollectionCaching:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 50
StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set org.hibernate.cache.cfg.spi.DomainDataRegionConfig java.util.Iterator org.hibernate.cache.spi.DomainDataRegion top java.util.Iterator
StackMap stack:
40: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cache.cfg.spi.CollectionDataCachingConfig
astore 5
start local 5 41: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.collectionAccessMap:Ljava/util/Map;
42: aload 5
invokeinterface org.hibernate.cache.cfg.spi.CollectionDataCachingConfig.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
43: aload 4
aload 5
invokeinterface org.hibernate.cache.cfg.spi.CollectionDataCachingConfig.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getCollectionDataAccess:(Lorg/hibernate/metamodel/model/domain/NavigableRole;)Lorg/hibernate/cache/spi/access/CollectionDataAccess;
44: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.access.CollectionDataAccess
pop
45: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacySecondLevelCacheNames:Ljava/util/Set;
46: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.getCacheRegionPrefix:()Ljava/lang/String;
47: aload 4
invokeinterface org.hibernate.cache.spi.DomainDataRegion.getName:()Ljava/lang/String;
48: invokestatic org.hibernate.internal.util.StringHelper.qualifyConditionally:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
49: invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 50: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 40
end local 4 end local 2 51: StackMap locals: org.hibernate.cache.internal.EnabledCaching java.util.Set top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
52: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 53 1 cacheRegionConfigs Ljava/util/Set<Lorg/hibernate/cache/cfg/spi/DomainDataRegionConfig;>;
2 51 2 regionConfig Lorg/hibernate/cache/cfg/spi/DomainDataRegionConfig;
3 51 4 region Lorg/hibernate/cache/spi/DomainDataRegion;
16 25 5 entityAccessConfig Lorg/hibernate/cache/cfg/spi/EntityDataCachingConfig;
30 39 5 accesses Ljava/util/HashSet<Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;>;
32 37 6 naturalIdAccessConfig Lorg/hibernate/cache/cfg/spi/NaturalIdDataCachingConfig;
36 37 8 naturalIdDataAccess Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
41 50 5 collectionAccessConfig Lorg/hibernate/cache/cfg/spi/CollectionDataCachingConfig;
Signature: (Ljava/util/Set<Lorg/hibernate/cache/cfg/spi/DomainDataRegionConfig;>;)V
MethodParameters:
Name Flags
cacheRegionConfigs
public org.hibernate.cache.spi.CacheKeysFactory getEnforcedCacheKeysFactory();
descriptor: ()Lorg/hibernate/cache/spi/CacheKeysFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public org.hibernate.engine.spi.SessionFactoryImplementor getSessionFactory();
descriptor: ()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public org.hibernate.cache.spi.RegionFactory getRegionFactory();
descriptor: ()Lorg/hibernate/cache/spi/RegionFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public org.hibernate.cache.spi.TimestampsCache getTimestampsCache();
descriptor: ()Lorg/hibernate/cache/spi/TimestampsCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.timestampsCache:Lorg/hibernate/cache/spi/TimestampsCache;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public org.hibernate.cache.spi.Region getRegion(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cache/spi/Region;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.Region
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 regionName Ljava/lang/String;
MethodParameters:
Name Flags
regionName
public boolean containsEntity(java.lang.Class, java.io.Serializable);
descriptor: (Ljava/lang/Class;Ljava/io/Serializable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 2
invokevirtual org.hibernate.cache.internal.EnabledCaching.containsEntity:(Ljava/lang/String;Ljava/io/Serializable;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 entityClass Ljava/lang/Class;
0 1 2 identifier Ljava/io/Serializable;
MethodParameters:
Name Flags
entityClass
identifier
public boolean containsEntity(java.lang.String, java.io.Serializable);
descriptor: (Ljava/lang/String;Ljava/io/Serializable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.entityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
astore 3
start local 3 1: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityDataAccess;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: org.hibernate.persister.entity.EntityPersister org.hibernate.cache.spi.access.EntityDataAccess
StackMap stack:
aload 4
aload 2
aload 3
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aconst_null
invokeinterface org.hibernate.cache.spi.access.EntityDataAccess.generateCacheKey:(Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionFactoryImplementor;Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 5: aload 4
aload 5
invokeinterface org.hibernate.cache.spi.access.EntityDataAccess.contains:(Ljava/lang/Object;)Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 6 1 entityName Ljava/lang/String;
0 6 2 identifier Ljava/io/Serializable;
1 6 3 entityDescriptor Lorg/hibernate/persister/entity/EntityPersister;
2 6 4 cacheAccess Lorg/hibernate/cache/spi/access/EntityDataAccess;
5 6 5 key Ljava/lang/Object;
MethodParameters:
Name Flags
entityName
identifier
public void evictEntityData(java.lang.Class, java.io.Serializable);
descriptor: (Ljava/lang/Class;Ljava/io/Serializable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 2
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictEntityData:(Ljava/lang/String;Ljava/io/Serializable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 entityClass Ljava/lang/Class;
0 2 2 identifier Ljava/io/Serializable;
MethodParameters:
Name Flags
entityClass
identifier
public void evictEntityData(java.lang.String, java.io.Serializable);
descriptor: (Ljava/lang/String;Ljava/io/Serializable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.entityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
astore 3
start local 3 1: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityDataAccess;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: return
4: StackMap locals: org.hibernate.persister.entity.EntityPersister org.hibernate.cache.spi.access.EntityDataAccess
StackMap stack:
getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 9
5: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
6: ldc "Evicting second-level cache: %s"
7: aload 3
aload 2
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokestatic org.hibernate.pretty.MessageHelper.infoString:(Lorg/hibernate/persister/entity/EntityPersister;Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
8: invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 4
aload 2
aload 3
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aconst_null
invokeinterface org.hibernate.cache.spi.access.EntityDataAccess.generateCacheKey:(Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionFactoryImplementor;Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 10: aload 4
aload 5
invokeinterface org.hibernate.cache.spi.access.EntityDataAccess.evict:(Ljava/lang/Object;)V
11: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 12 1 entityName Ljava/lang/String;
0 12 2 identifier Ljava/io/Serializable;
1 12 3 entityDescriptor Lorg/hibernate/persister/entity/EntityPersister;
2 12 4 cacheAccess Lorg/hibernate/cache/spi/access/EntityDataAccess;
10 12 5 key Ljava/lang/Object;
MethodParameters:
Name Flags
entityName
identifier
public void evictEntityData(java.lang.Class);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictEntityData:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 entityClass Ljava/lang/Class;
MethodParameters:
Name Flags
entityClass
public void evictEntityData(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.entityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictEntityData:(Lorg/hibernate/persister/entity/EntityPersister;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 entityName Ljava/lang/String;
MethodParameters:
Name Flags
entityName
protected void evictEntityData(org.hibernate.persister.entity.EntityPersister);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.isInherited:()Z
ifeq 4
2: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getRootEntityName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getRootEntityName:()Ljava/lang/String;
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.entityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
astore 2
4: StackMap locals: org.hibernate.persister.entity.EntityPersister
StackMap stack:
aload 0
5: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
6: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityDataAccess;
7: invokevirtual org.hibernate.cache.internal.EnabledCaching.evictEntityData:(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/EntityDataAccess;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 9 1 entityDescriptor Lorg/hibernate/persister/entity/EntityPersister;
1 9 2 rootEntityDescriptor Lorg/hibernate/persister/entity/EntityPersister;
MethodParameters:
Name Flags
entityDescriptor
private void evictEntityData(org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.cache.spi.access.EntityDataAccess);
descriptor: (Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/EntityDataAccess;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Evicting entity cache: %s"
aload 1
invokevirtual org.hibernate.metamodel.model.domain.NavigableRole.getFullPath:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.cache.spi.access.EntityDataAccess.evictAll:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 6 1 navigableRole Lorg/hibernate/metamodel/model/domain/NavigableRole;
0 6 2 cacheAccess Lorg/hibernate/cache/spi/access/EntityDataAccess;
MethodParameters:
Name Flags
navigableRole
cacheAccess
public void evictEntityData();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.entityPersisters:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 0
invokedynamic accept(Lorg/hibernate/cache/internal/EnabledCaching;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/hibernate/cache/internal/EnabledCaching.evictEntityData(Lorg/hibernate/persister/entity/EntityPersister;)V (5)
(Lorg/hibernate/persister/entity/EntityPersister;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public void evictNaturalIdData(java.lang.Class);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictNaturalIdData:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 entityClass Ljava/lang/Class;
MethodParameters:
Name Flags
entityClass
public void evictNaturalIdData(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.entityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
2: invokevirtual org.hibernate.cache.internal.EnabledCaching.evictNaturalIdData:(Lorg/hibernate/persister/entity/EntityPersister;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 4 1 entityName Ljava/lang/String;
MethodParameters:
Name Flags
entityName
private void evictNaturalIdData(org.hibernate.persister.entity.EntityPersister);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getNaturalIdCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictNaturalIdData:(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 rootEntityDescriptor Lorg/hibernate/persister/entity/EntityPersister;
MethodParameters:
Name Flags
rootEntityDescriptor
public void evictNaturalIdData();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.naturalIdAccessMap:Ljava/util/Map;
aload 0
invokedynamic accept(Lorg/hibernate/cache/internal/EnabledCaching;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/hibernate/cache/internal/EnabledCaching.evictNaturalIdData(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;)V (7)
(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
private void evictNaturalIdData(org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.cache.spi.access.NaturalIdDataAccess);
descriptor: (Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Evicting natural-id cache: %s"
aload 1
invokevirtual org.hibernate.metamodel.model.domain.NavigableRole.getFullPath:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.cache.spi.access.NaturalIdDataAccess.evictAll:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 6 1 rootEntityRole Lorg/hibernate/metamodel/model/domain/NavigableRole;
0 6 2 cacheAccess Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
MethodParameters:
Name Flags
rootEntityRole
cacheAccess
public boolean containsCollection(java.lang.String, java.io.Serializable);
descriptor: (Ljava/lang/String;Ljava/io/Serializable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
1: aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.collectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
2: astore 3
start local 3 3: aload 3
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/CollectionDataAccess;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals: org.hibernate.persister.collection.CollectionPersister org.hibernate.cache.spi.access.CollectionDataAccess
StackMap stack:
aload 4
aload 2
aload 3
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aconst_null
invokeinterface org.hibernate.cache.spi.access.CollectionDataAccess.generateCacheKey:(Ljava/lang/Object;Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/engine/spi/SessionFactoryImplementor;Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 7: aload 4
aload 5
invokeinterface org.hibernate.cache.spi.access.CollectionDataAccess.contains:(Ljava/lang/Object;)Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 8 1 role Ljava/lang/String;
0 8 2 ownerIdentifier Ljava/io/Serializable;
3 8 3 collectionDescriptor Lorg/hibernate/persister/collection/CollectionPersister;
4 8 4 cacheAccess Lorg/hibernate/cache/spi/access/CollectionDataAccess;
7 8 5 key Ljava/lang/Object;
MethodParameters:
Name Flags
role
ownerIdentifier
public void evictCollectionData(java.lang.String, java.io.Serializable);
descriptor: (Ljava/lang/String;Ljava/io/Serializable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
1: aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.collectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
2: astore 3
start local 3 3: aload 3
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/CollectionDataAccess;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: return
6: StackMap locals: org.hibernate.persister.collection.CollectionPersister org.hibernate.cache.spi.access.CollectionDataAccess
StackMap stack:
getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 11
7: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
8: ldc "Evicting second-level cache: %s"
9: aload 3
aload 2
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokestatic org.hibernate.pretty.MessageHelper.collectionInfoString:(Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
10: invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 4
aload 2
aload 3
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aconst_null
invokeinterface org.hibernate.cache.spi.access.CollectionDataAccess.generateCacheKey:(Ljava/lang/Object;Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/engine/spi/SessionFactoryImplementor;Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 12: aload 4
aload 5
invokeinterface org.hibernate.cache.spi.access.CollectionDataAccess.evict:(Ljava/lang/Object;)V
13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 14 1 role Ljava/lang/String;
0 14 2 ownerIdentifier Ljava/io/Serializable;
3 14 3 collectionDescriptor Lorg/hibernate/persister/collection/CollectionPersister;
4 14 4 cacheAccess Lorg/hibernate/cache/spi/access/CollectionDataAccess;
12 14 5 key Ljava/lang/Object;
MethodParameters:
Name Flags
role
ownerIdentifier
public void evictCollectionData(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.sessionFactory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getMetamodel:()Lorg/hibernate/metamodel/spi/MetamodelImplementor;
1: aload 1
invokeinterface org.hibernate.metamodel.spi.MetamodelImplementor.collectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
2: astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictCollectionData:(Lorg/hibernate/persister/collection/CollectionPersister;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 5 1 role Ljava/lang/String;
3 5 2 collectionDescriptor Lorg/hibernate/persister/collection/CollectionPersister;
MethodParameters:
Name Flags
role
private void evictCollectionData(org.hibernate.persister.collection.CollectionPersister);
descriptor: (Lorg/hibernate/persister/collection/CollectionPersister;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getNavigableRole:()Lorg/hibernate/metamodel/model/domain/NavigableRole;
2: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/CollectionDataAccess;
3: invokevirtual org.hibernate.cache.internal.EnabledCaching.evictCollectionData:(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/CollectionDataAccess;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 5 1 collectionDescriptor Lorg/hibernate/persister/collection/CollectionPersister;
MethodParameters:
Name Flags
collectionDescriptor
private void evictCollectionData(org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.cache.spi.access.CollectionDataAccess);
descriptor: (Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/CollectionDataAccess;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Evicting second-level cache: %s"
aload 1
invokevirtual org.hibernate.metamodel.model.domain.NavigableRole.getFullPath:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.cache.spi.access.CollectionDataAccess.evictAll:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 6 1 navigableRole Lorg/hibernate/metamodel/model/domain/NavigableRole;
0 6 2 cacheAccess Lorg/hibernate/cache/spi/access/CollectionDataAccess;
MethodParameters:
Name Flags
navigableRole
cacheAccess
public void evictCollectionData();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.collectionAccessMap:Ljava/util/Map;
aload 0
invokedynamic accept(Lorg/hibernate/cache/internal/EnabledCaching;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/hibernate/cache/internal/EnabledCaching.evictCollectionData(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/CollectionDataAccess;)V (7)
(Lorg/hibernate/metamodel/model/domain/NavigableRole;Lorg/hibernate/cache/spi/access/CollectionDataAccess;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public boolean containsQuery(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.cache.internal.EnabledCaching.getQueryResultsCacheStrictly:(Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsCache;
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
ireturn
StackMap locals: org.hibernate.cache.spi.QueryResultsCache
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 3 1 regionName Ljava/lang/String;
1 3 2 cache Lorg/hibernate/cache/spi/QueryResultsCache;
MethodParameters:
Name Flags
regionName
public void evictDefaultQueryRegion();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.defaultQueryResultsCache:Lorg/hibernate/cache/spi/QueryResultsCache;
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictQueryResultRegion:(Lorg/hibernate/cache/spi/QueryResultsCache;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public void evictQueryRegion(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.cache.internal.EnabledCaching.getQueryResultsCache:(Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsCache;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: org.hibernate.cache.spi.QueryResultsCache
StackMap stack:
aload 0
aload 2
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictQueryResultRegion:(Lorg/hibernate/cache/spi/QueryResultsCache;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 5 1 regionName Ljava/lang/String;
1 5 2 cache Lorg/hibernate/cache/spi/QueryResultsCache;
MethodParameters:
Name Flags
regionName
private void evictQueryResultRegion(org.hibernate.cache.spi.QueryResultsCache);
descriptor: (Lorg/hibernate/cache/spi/QueryResultsCache;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Evicting query cache, region: %s"
aload 1
invokeinterface org.hibernate.cache.spi.QueryResultsCache.getRegion:()Lorg/hibernate/cache/spi/QueryResultsRegion;
invokeinterface org.hibernate.cache.spi.QueryResultsRegion.getName:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.hibernate.cache.spi.QueryResultsCache.clear:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 6 1 cache Lorg/hibernate/cache/spi/QueryResultsCache;
MethodParameters:
Name Flags
cache
public void evictQueryRegions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.hibernate.cache.internal.EnabledCaching.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Evicting cache of all query regions."
invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.defaultQueryResultsCache:Lorg/hibernate/cache/spi/QueryResultsCache;
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictQueryResultRegion:(Lorg/hibernate/cache/spi/QueryResultsCache;)V
3: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.namedQueryResultsCacheMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.hibernate.cache.internal.EnabledCaching top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cache.spi.QueryResultsCache
astore 1
start local 1 5: aload 0
aload 1
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictQueryResultRegion:(Lorg/hibernate/cache/spi/QueryResultsCache;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/cache/internal/EnabledCaching;
5 6 1 cache Lorg/hibernate/cache/spi/QueryResultsCache;
public org.hibernate.cache.spi.QueryResultsCache getDefaultQueryResultsCache();
descriptor: ()Lorg/hibernate/cache/spi/QueryResultsCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.defaultQueryResultsCache:Lorg/hibernate/cache/spi/QueryResultsCache;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public org.hibernate.cache.spi.QueryResultsCache getQueryResultsCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.isQueryCacheEnabled:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getDefaultQueryResultsCache:()Lorg/hibernate/cache/spi/QueryResultsCache;
invokeinterface org.hibernate.cache.spi.QueryResultsCache.getRegion:()Lorg/hibernate/cache/spi/QueryResultsRegion;
invokeinterface org.hibernate.cache.spi.QueryResultsRegion.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getDefaultQueryResultsCache:()Lorg/hibernate/cache/spi/QueryResultsCache;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.namedQueryResultsCacheMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.QueryResultsCache
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
areturn
7: StackMap locals: org.hibernate.cache.spi.QueryResultsCache
StackMap stack:
aload 0
aload 1
invokevirtual org.hibernate.cache.internal.EnabledCaching.makeQueryResultsRegionAccess:(Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsCache;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 8 1 regionName Ljava/lang/String;
5 8 2 existing Lorg/hibernate/cache/spi/QueryResultsCache;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
regionName
public org.hibernate.cache.spi.QueryResultsCache getQueryResultsCacheStrictly(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.isQueryCacheEnabled:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.namedQueryResultsCacheMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.QueryResultsCache
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 3 1 regionName Ljava/lang/String;
MethodParameters:
Name Flags
regionName
protected org.hibernate.cache.spi.QueryResultsCache makeQueryResultsRegionAccess(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsCache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
1: aload 1
2: aload 0
invokedynamic apply(Lorg/hibernate/cache/internal/EnabledCaching;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/hibernate/cache/internal/EnabledCaching.makeQueryResultsRegion(Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsRegion; (5)
(Ljava/lang/String;)Lorg/hibernate/cache/spi/Region;
3: invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.QueryResultsRegion
astore 2
start local 2 4: new org.hibernate.cache.internal.QueryResultsCacheImpl
dup
5: aload 2
6: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.timestampsCache:Lorg/hibernate/cache/spi/TimestampsCache;
7: invokespecial org.hibernate.cache.internal.QueryResultsCacheImpl.<init>:(Lorg/hibernate/cache/spi/QueryResultsRegion;Lorg/hibernate/cache/spi/TimestampsCache;)V
astore 4
start local 4 8: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.namedQueryResultsCacheMap:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacySecondLevelCacheNames:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: aload 4
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 11 1 regionName Ljava/lang/String;
4 11 2 region Lorg/hibernate/cache/spi/QueryResultsRegion;
8 11 4 regionAccess Lorg/hibernate/cache/internal/QueryResultsCacheImpl;
MethodParameters:
Name Flags
regionName
protected org.hibernate.cache.spi.QueryResultsRegion makeQueryResultsRegion(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cache/spi/QueryResultsRegion;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.Region
astore 2
start local 2 1: aload 2
ifnull 5
2: ldc Lorg/hibernate/cache/spi/QueryResultsRegion;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot store both domain-data and query-result-data in the same region ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.hibernate.cache.spi.Region
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Illegal call to create QueryResultsRegion - one already existed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
aload 1
aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.cache.spi.RegionFactory.buildQueryResultsRegion:(Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/cache/spi/QueryResultsRegion;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 6 1 regionName Ljava/lang/String;
1 6 2 existing Lorg/hibernate/cache/spi/Region;
MethodParameters:
Name Flags
regionName
public java.util.Set<java.lang.String> getCacheRegionNames();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void evictRegion(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
invokevirtual org.hibernate.cache.internal.EnabledCaching.getRegion:(Ljava/lang/String;)Lorg/hibernate/cache/spi/Region;
invokeinterface org.hibernate.cache.spi.Region.clear:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 regionName Ljava/lang/String;
MethodParameters:
Name Flags
regionName
public <T> T unwrap(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/hibernate/Cache;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
ldc Lorg/hibernate/cache/spi/RegionFactory;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
3: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionFactory:Lorg/hibernate/cache/spi/RegionFactory;
areturn
4: StackMap locals:
StackMap stack:
new javax.persistence.PersistenceException
dup
new java.lang.StringBuilder
dup
ldc "Hibernate cannot unwrap Cache as "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.persistence.PersistenceException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 5 1 cls Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
cls
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.regionsByName:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.hibernate.cache.internal.EnabledCaching top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cache.spi.Region
astore 1
start local 1 2: aload 1
invokeinterface org.hibernate.cache.spi.Region.destroy:()V
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/hibernate/cache/internal/EnabledCaching;
2 3 1 region Lorg/hibernate/cache/spi/Region;
public boolean contains(java.lang.Class, java.lang.Object);
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
checkcast java.io.Serializable
invokevirtual org.hibernate.cache.internal.EnabledCaching.containsEntity:(Ljava/lang/Class;Ljava/io/Serializable;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 cls Ljava/lang/Class;
0 1 2 primaryKey Ljava/lang/Object;
MethodParameters:
Name Flags
cls
primaryKey
public void evict(java.lang.Class, java.lang.Object);
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
checkcast java.io.Serializable
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictEntityData:(Ljava/lang/Class;Ljava/io/Serializable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 cls Ljava/lang/Class;
0 2 2 primaryKey Ljava/lang/Object;
MethodParameters:
Name Flags
cls
primaryKey
public void evict(java.lang.Class);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.cache.internal.EnabledCaching.evictEntityData:(Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 2 1 cls Ljava/lang/Class;
MethodParameters:
Name Flags
cls
public org.hibernate.cache.spi.access.EntityDataAccess getEntityRegionAccess(org.hibernate.metamodel.model.domain.NavigableRole);
descriptor: (Lorg/hibernate/metamodel/model/domain/NavigableRole;)Lorg/hibernate/cache/spi/access/EntityDataAccess;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.entityAccessMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.access.EntityDataAccess
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 rootEntityName Lorg/hibernate/metamodel/model/domain/NavigableRole;
MethodParameters:
Name Flags
rootEntityName
public org.hibernate.cache.spi.access.NaturalIdDataAccess getNaturalIdCacheRegionAccessStrategy(org.hibernate.metamodel.model.domain.NavigableRole);
descriptor: (Lorg/hibernate/metamodel/model/domain/NavigableRole;)Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.naturalIdAccessMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.access.NaturalIdDataAccess
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 rootEntityName Lorg/hibernate/metamodel/model/domain/NavigableRole;
MethodParameters:
Name Flags
rootEntityName
public org.hibernate.cache.spi.access.CollectionDataAccess getCollectionRegionAccess(org.hibernate.metamodel.model.domain.NavigableRole);
descriptor: (Lorg/hibernate/metamodel/model/domain/NavigableRole;)Lorg/hibernate/cache/spi/access/CollectionDataAccess;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.collectionAccessMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.cache.spi.access.CollectionDataAccess
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 collectionRole Lorg/hibernate/metamodel/model/domain/NavigableRole;
MethodParameters:
Name Flags
collectionRole
public java.lang.String[] getSecondLevelCacheRegionNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacySecondLevelCacheNames:Ljava/util/Set;
invokestatic org.hibernate.internal.util.collections.ArrayHelper.toStringArray:(Ljava/util/Collection;)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
public java.util.Set<org.hibernate.cache.spi.access.NaturalIdDataAccess> getNaturalIdAccessesInRegion(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.cache.internal.EnabledCaching.legacyNaturalIdAccessesForRegion:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/EnabledCaching;
0 1 1 regionName Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Set<Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;>;
MethodParameters:
Name Flags
regionName
public org.hibernate.SessionFactory getSessionFactory();
descriptor: ()Lorg/hibernate/SessionFactory;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.hibernate.cache.internal.EnabledCaching.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "EnabledCaching.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles