public class org.hibernate.engine.spi.BatchFetchQueue
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.spi.BatchFetchQueue
super_class: java.lang.Object
{
private static final org.jboss.logging.Logger LOG;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.engine.spi.PersistenceContext context;
descriptor: Lorg/hibernate/engine/spi/PersistenceContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<org.hibernate.engine.spi.EntityKey, org.hibernate.engine.spi.SubselectFetch> subselectsByEntityKey;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/hibernate/engine/spi/EntityKey;Lorg/hibernate/engine/spi/SubselectFetch;>;
private final java.util.Map<java.lang.String, java.util.LinkedHashSet<org.hibernate.engine.spi.EntityKey>> batchLoadableEntityKeys;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/LinkedHashSet<Lorg/hibernate/engine/spi/EntityKey;>;>;
private final java.util.Map<java.lang.String, java.util.LinkedHashMap<org.hibernate.engine.spi.CollectionEntry, org.hibernate.collection.spi.PersistentCollection>> batchLoadableCollections;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/LinkedHashMap<Lorg/hibernate/engine/spi/CollectionEntry;Lorg/hibernate/collection/spi/PersistentCollection;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/engine/spi/BatchFetchQueue;
invokestatic org.hibernate.internal.CoreLogging.logger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.engine.spi.BatchFetchQueue.LOG:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.engine.spi.PersistenceContext);
descriptor: (Lorg/hibernate/engine/spi/PersistenceContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
bipush 8
invokespecial java.util.HashMap.<init>:(I)V
putfield org.hibernate.engine.spi.BatchFetchQueue.subselectsByEntityKey:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
bipush 8
invokespecial java.util.HashMap.<init>:(I)V
putfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableEntityKeys:Ljava/util/Map;
3: aload 0
4: new java.util.HashMap
dup
bipush 8
invokespecial java.util.HashMap.<init>:(I)V
putfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableCollections:Ljava/util/Map;
5: aload 0
aload 1
putfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 7 1 context Lorg/hibernate/engine/spi/PersistenceContext;
MethodParameters:
Name Flags
context
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableEntityKeys:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableCollections:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.subselectsByEntityKey:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
public org.hibernate.engine.spi.SubselectFetch getSubselect(org.hibernate.engine.spi.EntityKey);
descriptor: (Lorg/hibernate/engine/spi/EntityKey;)Lorg/hibernate/engine/spi/SubselectFetch;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.subselectsByEntityKey:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.engine.spi.SubselectFetch
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 1 1 key Lorg/hibernate/engine/spi/EntityKey;
MethodParameters:
Name Flags
key
public void addSubselect(org.hibernate.engine.spi.EntityKey, org.hibernate.engine.spi.SubselectFetch);
descriptor: (Lorg/hibernate/engine/spi/EntityKey;Lorg/hibernate/engine/spi/SubselectFetch;)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
getfield org.hibernate.engine.spi.BatchFetchQueue.subselectsByEntityKey:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 2 1 key Lorg/hibernate/engine/spi/EntityKey;
0 2 2 subquery Lorg/hibernate/engine/spi/SubselectFetch;
MethodParameters:
Name Flags
key
subquery
public void removeSubselect(org.hibernate.engine.spi.EntityKey);
descriptor: (Lorg/hibernate/engine/spi/EntityKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.subselectsByEntityKey:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 2 1 key Lorg/hibernate/engine/spi/EntityKey;
MethodParameters:
Name Flags
key
public void addBatchLoadableEntityKey(org.hibernate.engine.spi.EntityKey);
descriptor: (Lorg/hibernate/engine/spi/EntityKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.engine.spi.EntityKey.isBatchLoadable:()Z
ifeq 6
1: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableEntityKeys:Ljava/util/Map;
aload 1
invokevirtual org.hibernate.engine.spi.EntityKey.getEntityName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedHashSet
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.util.LinkedHashSet
dup
bipush 8
invokespecial java.util.LinkedHashSet.<init>:(I)V
astore 2
4: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableEntityKeys:Ljava/util/Map;
aload 1
invokevirtual org.hibernate.engine.spi.EntityKey.getEntityName:()Ljava/lang/String;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.LinkedHashSet
StackMap stack:
aload 2
aload 1
invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 7 1 key Lorg/hibernate/engine/spi/EntityKey;
2 6 2 set Ljava/util/LinkedHashSet<Lorg/hibernate/engine/spi/EntityKey;>;
MethodParameters:
Name Flags
key
public void removeBatchLoadableEntityKey(org.hibernate.engine.spi.EntityKey);
descriptor: (Lorg/hibernate/engine/spi/EntityKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.engine.spi.EntityKey.isBatchLoadable:()Z
ifeq 4
1: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableEntityKeys:Ljava/util/Map;
aload 1
invokevirtual org.hibernate.engine.spi.EntityKey.getEntityName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedHashSet
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
aload 1
invokevirtual java.util.LinkedHashSet.remove:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 5 1 key Lorg/hibernate/engine/spi/EntityKey;
2 4 2 set Ljava/util/LinkedHashSet<Lorg/hibernate/engine/spi/EntityKey;>;
MethodParameters:
Name Flags
key
public java.io.Serializable[] getEntityBatch(org.hibernate.persister.entity.EntityPersister, java.io.Serializable, int, org.hibernate.EntityMode);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;Ljava/io/Serializable;ILorg/hibernate/EntityMode;)[Ljava/io/Serializable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
anewarray java.io.Serializable
astore 5
start local 5 1: aload 5
iconst_0
aload 2
aastore
2: iconst_1
istore 6
start local 6 3: iconst_m1
istore 7
start local 7 4: iconst_0
istore 8
start local 8 5: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableEntityKeys:Ljava/util/Map;
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedHashSet
astore 9
start local 9 6: aload 9
ifnull 21
7: aload 9
invokevirtual java.util.LinkedHashSet.iterator:()Ljava/util/Iterator;
astore 11
goto 20
StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.entity.EntityPersister java.io.Serializable int org.hibernate.EntityMode java.io.Serializable[] int int int java.util.LinkedHashSet top java.util.Iterator
StackMap stack:
8: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.engine.spi.EntityKey
astore 10
start local 10 9: iload 8
ifeq 11
iload 6
iload 7
if_icmpne 11
10: aload 5
areturn
11: StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.entity.EntityPersister java.io.Serializable int org.hibernate.EntityMode java.io.Serializable[] int int int java.util.LinkedHashSet org.hibernate.engine.spi.EntityKey java.util.Iterator
StackMap stack:
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifierType:()Lorg/hibernate/type/Type;
aload 2
aload 10
invokevirtual org.hibernate.engine.spi.EntityKey.getIdentifier:()Ljava/io/Serializable;
invokeinterface org.hibernate.type.Type.isEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 14
12: iload 6
istore 7
13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
aload 10
aload 1
invokevirtual org.hibernate.engine.spi.BatchFetchQueue.isCached:(Lorg/hibernate/engine/spi/EntityKey;Lorg/hibernate/persister/entity/EntityPersister;)Z
ifne 16
15: aload 5
iload 6
iinc 6 1
aload 10
invokevirtual org.hibernate.engine.spi.EntityKey.getIdentifier:()Ljava/io/Serializable;
aastore
16: StackMap locals:
StackMap stack:
iload 6
iload 3
if_icmpne 20
17: iconst_1
istore 6
18: iload 7
iconst_m1
if_icmpeq 20
19: iconst_1
istore 8
end local 10 20: StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.entity.EntityPersister java.io.Serializable int org.hibernate.EntityMode java.io.Serializable[] int int int java.util.LinkedHashSet top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
21: StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.entity.EntityPersister java.io.Serializable int org.hibernate.EntityMode java.io.Serializable[] int int int java.util.LinkedHashSet
StackMap stack:
aload 5
areturn
end local 9 end local 8 end local 7 end local 6 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 22 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 22 1 persister Lorg/hibernate/persister/entity/EntityPersister;
0 22 2 id Ljava/io/Serializable;
0 22 3 batchSize I
0 22 4 entityMode Lorg/hibernate/EntityMode;
1 22 5 ids [Ljava/io/Serializable;
3 22 6 i I
4 22 7 end I
5 22 8 checkForEnd Z
6 22 9 set Ljava/util/LinkedHashSet<Lorg/hibernate/engine/spi/EntityKey;>;
9 20 10 key Lorg/hibernate/engine/spi/EntityKey;
MethodParameters:
Name Flags
persister final
id final
batchSize final
entityMode final
private boolean isCached(org.hibernate.engine.spi.EntityKey, org.hibernate.persister.entity.EntityPersister);
descriptor: (Lorg/hibernate/engine/spi/EntityKey;Lorg/hibernate/persister/entity/EntityPersister;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getCacheMode:()Lorg/hibernate/CacheMode;
invokevirtual org.hibernate.CacheMode.isGetEnabled:()Z
ifeq 8
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.hasCache:()Z
ifeq 8
1: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
2: aload 1
invokevirtual org.hibernate.engine.spi.EntityKey.getIdentifier:()Ljava/io/Serializable;
3: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifierType:()Lorg/hibernate/type/Type;
4: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getRootEntityName:()Ljava/lang/String;
5: invokeinterface org.hibernate.engine.spi.SessionImplementor.generateCacheKey:(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;)Lorg/hibernate/cache/spi/CacheKey;
astore 3
start local 3 6: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
aload 3
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityRegionAccessStrategy;
invokestatic org.hibernate.engine.internal.CacheHelper.fromSharedCache:(Lorg/hibernate/engine/spi/SessionImplementor;Lorg/hibernate/cache/spi/CacheKey;Lorg/hibernate/cache/spi/access/RegionAccessStrategy;)Ljava/io/Serializable;
ifnull 7
iconst_1
ireturn
StackMap locals: org.hibernate.cache.spi.CacheKey
StackMap stack:
7: iconst_0
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 9 1 entityKey Lorg/hibernate/engine/spi/EntityKey;
0 9 2 persister Lorg/hibernate/persister/entity/EntityPersister;
6 8 3 key Lorg/hibernate/cache/spi/CacheKey;
MethodParameters:
Name Flags
entityKey
persister
public void addBatchLoadableCollection(org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.spi.CollectionEntry);
descriptor: (Lorg/hibernate/collection/spi/PersistentCollection;Lorg/hibernate/engine/spi/CollectionEntry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.hibernate.engine.spi.CollectionEntry.getLoadedPersister:()Lorg/hibernate/persister/collection/CollectionPersister;
astore 3
start local 3 1: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableCollections:Ljava/util/Map;
aload 3
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedHashMap
astore 4
start local 4 2: aload 4
ifnonnull 5
3: new java.util.LinkedHashMap
dup
bipush 16
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 4
4: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableCollections:Ljava/util/Map;
aload 3
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: org.hibernate.persister.collection.CollectionPersister java.util.LinkedHashMap
StackMap stack:
aload 4
aload 2
aload 1
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 7 1 collection Lorg/hibernate/collection/spi/PersistentCollection;
0 7 2 ce Lorg/hibernate/engine/spi/CollectionEntry;
1 7 3 persister Lorg/hibernate/persister/collection/CollectionPersister;
2 7 4 map Ljava/util/LinkedHashMap<Lorg/hibernate/engine/spi/CollectionEntry;Lorg/hibernate/collection/spi/PersistentCollection;>;
MethodParameters:
Name Flags
collection
ce
public void removeBatchLoadableCollection(org.hibernate.engine.spi.CollectionEntry);
descriptor: (Lorg/hibernate/engine/spi/CollectionEntry;)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.engine.spi.BatchFetchQueue.batchLoadableCollections:Ljava/util/Map;
aload 1
invokevirtual org.hibernate.engine.spi.CollectionEntry.getLoadedPersister:()Lorg/hibernate/persister/collection/CollectionPersister;
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedHashMap
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual java.util.LinkedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.util.LinkedHashMap
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 4 1 ce Lorg/hibernate/engine/spi/CollectionEntry;
1 4 2 map Ljava/util/LinkedHashMap<Lorg/hibernate/engine/spi/CollectionEntry;Lorg/hibernate/collection/spi/PersistentCollection;>;
MethodParameters:
Name Flags
ce
public java.io.Serializable[] getCollectionBatch(org.hibernate.persister.collection.CollectionPersister, java.io.Serializable, int);
descriptor: (Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;I)[Ljava/io/Serializable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
anewarray java.io.Serializable
astore 4
start local 4 1: aload 4
iconst_0
aload 2
aastore
2: iconst_1
istore 5
start local 5 3: iconst_m1
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.batchLoadableCollections:Ljava/util/Map;
aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedHashMap
astore 8
start local 8 6: aload 8
ifnull 33
7: aload 8
invokevirtual java.util.LinkedHashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 32
StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.collection.CollectionPersister java.io.Serializable int java.io.Serializable[] int int int java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
8: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 9
start local 9 9: aload 9
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.hibernate.engine.spi.CollectionEntry
astore 11
start local 11 10: aload 9
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.hibernate.collection.spi.PersistentCollection
astore 12
start local 12 11: aload 11
invokevirtual org.hibernate.engine.spi.CollectionEntry.getLoadedKey:()Ljava/io/Serializable;
ifnonnull 13
12: goto 32
13: StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.collection.CollectionPersister java.io.Serializable int java.io.Serializable[] int int int java.util.LinkedHashMap java.util.Map$Entry java.util.Iterator org.hibernate.engine.spi.CollectionEntry org.hibernate.collection.spi.PersistentCollection
StackMap stack:
aload 12
invokeinterface org.hibernate.collection.spi.PersistentCollection.wasInitialized:()Z
ifeq 16
14: getstatic org.hibernate.engine.spi.BatchFetchQueue.LOG:Lorg/jboss/logging/Logger;
ldc "Encountered initialized collection in BatchFetchQueue, this should not happen."
invokevirtual org.jboss.logging.Logger.warn:(Ljava/lang/Object;)V
15: goto 32
16: StackMap locals:
StackMap stack:
iload 7
ifeq 18
iload 5
iload 6
if_icmpne 18
17: aload 4
areturn
18: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getKeyType:()Lorg/hibernate/type/Type;
19: aload 2
20: aload 11
invokevirtual org.hibernate.engine.spi.CollectionEntry.getLoadedKey:()Ljava/io/Serializable;
21: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
22: invokeinterface org.hibernate.type.Type.isEqual:(Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Z
istore 13
start local 13 23: iload 13
ifeq 26
24: iload 5
istore 6
25: goto 28
26: StackMap locals: int
StackMap stack:
aload 0
aload 11
invokevirtual org.hibernate.engine.spi.CollectionEntry.getLoadedKey:()Ljava/io/Serializable;
aload 1
invokevirtual org.hibernate.engine.spi.BatchFetchQueue.isCached:(Ljava/io/Serializable;Lorg/hibernate/persister/collection/CollectionPersister;)Z
ifne 28
27: aload 4
iload 5
iinc 5 1
aload 11
invokevirtual org.hibernate.engine.spi.CollectionEntry.getLoadedKey:()Ljava/io/Serializable;
aastore
28: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmpne 32
29: iconst_1
istore 5
30: iload 6
iconst_m1
if_icmpeq 32
31: iconst_1
istore 7
end local 13 end local 12 end local 11 end local 9 32: StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.collection.CollectionPersister java.io.Serializable int java.io.Serializable[] int int int java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
33: StackMap locals: org.hibernate.engine.spi.BatchFetchQueue org.hibernate.persister.collection.CollectionPersister java.io.Serializable int java.io.Serializable[] int int int java.util.LinkedHashMap
StackMap stack:
aload 4
areturn
end local 8 end local 7 end local 6 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 34 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 34 1 collectionPersister Lorg/hibernate/persister/collection/CollectionPersister;
0 34 2 id Ljava/io/Serializable;
0 34 3 batchSize I
1 34 4 keys [Ljava/io/Serializable;
3 34 5 i I
4 34 6 end I
5 34 7 checkForEnd Z
6 34 8 map Ljava/util/LinkedHashMap<Lorg/hibernate/engine/spi/CollectionEntry;Lorg/hibernate/collection/spi/PersistentCollection;>;
9 32 9 me Ljava/util/Map$Entry<Lorg/hibernate/engine/spi/CollectionEntry;Lorg/hibernate/collection/spi/PersistentCollection;>;
10 32 11 ce Lorg/hibernate/engine/spi/CollectionEntry;
11 32 12 collection Lorg/hibernate/collection/spi/PersistentCollection;
23 32 13 isEqual Z
MethodParameters:
Name Flags
collectionPersister final
id final
batchSize final
private boolean isCached(java.io.Serializable, org.hibernate.persister.collection.CollectionPersister);
descriptor: (Ljava/io/Serializable;Lorg/hibernate/persister/collection/CollectionPersister;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getCacheMode:()Lorg/hibernate/CacheMode;
invokevirtual org.hibernate.CacheMode.isGetEnabled:()Z
ifeq 8
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.hasCache:()Z
ifeq 8
1: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
2: aload 1
3: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getKeyType:()Lorg/hibernate/type/Type;
4: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
5: invokeinterface org.hibernate.engine.spi.SessionImplementor.generateCacheKey:(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;)Lorg/hibernate/cache/spi/CacheKey;
astore 3
start local 3 6: aload 0
getfield org.hibernate.engine.spi.BatchFetchQueue.context:Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
aload 3
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/CollectionRegionAccessStrategy;
invokestatic org.hibernate.engine.internal.CacheHelper.fromSharedCache:(Lorg/hibernate/engine/spi/SessionImplementor;Lorg/hibernate/cache/spi/CacheKey;Lorg/hibernate/cache/spi/access/RegionAccessStrategy;)Ljava/io/Serializable;
ifnull 7
iconst_1
ireturn
StackMap locals: org.hibernate.cache.spi.CacheKey
StackMap stack:
7: iconst_0
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/engine/spi/BatchFetchQueue;
0 9 1 collectionKey Ljava/io/Serializable;
0 9 2 persister Lorg/hibernate/persister/collection/CollectionPersister;
6 8 3 cacheKey Lorg/hibernate/cache/spi/CacheKey;
MethodParameters:
Name Flags
collectionKey
persister
}
SourceFile: "BatchFetchQueue.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map