public class org.hibernate.id.enhanced.PooledLoOptimizer extends org.hibernate.id.enhanced.AbstractOptimizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.id.enhanced.PooledLoOptimizer
super_class: org.hibernate.id.enhanced.AbstractOptimizer
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState noTenantState;
descriptor: Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState> tenantSpecificState;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/CoreMessageLogger;
1: ldc Lorg/hibernate/id/enhanced/PooledLoOptimizer;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
2: invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.id.enhanced.PooledLoOptimizer.LOG:Lorg/hibernate/internal/CoreMessageLogger;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Class, int);
descriptor: (Ljava/lang/Class;I)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
iload 2
invokespecial org.hibernate.id.enhanced.AbstractOptimizer.<init>:(Ljava/lang/Class;I)V
1: iload 2
iconst_1
if_icmpge 3
2: new org.hibernate.HibernateException
dup
ldc "increment size cannot be less than 1"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.hibernate.id.enhanced.PooledLoOptimizer java.lang.Class int
StackMap stack:
getstatic org.hibernate.id.enhanced.PooledLoOptimizer.LOG:Lorg/hibernate/internal/CoreMessageLogger;
iload 2
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.creatingPooledLoOptimizer:(ILjava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/id/enhanced/PooledLoOptimizer;
0 5 1 returnClass Ljava/lang/Class;
0 5 2 incrementSize I
MethodParameters:
Name Flags
returnClass
incrementSize
public synchronized java.io.Serializable generate(org.hibernate.id.enhanced.AccessCallback);
descriptor: (Lorg/hibernate/id/enhanced/AccessCallback;)Ljava/io/Serializable;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.hibernate.id.enhanced.AccessCallback.getTenantIdentifier:()Ljava/lang/String;
invokevirtual org.hibernate.id.enhanced.PooledLoOptimizer.locateGenerationState:(Ljava/lang/String;)Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
astore 2
start local 2 1: aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
ifnull 3
2: aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.upperLimitValue:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.lt:(Lorg/hibernate/id/IntegralDataTypeHolder;)Z
ifne 9
3: StackMap locals: org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
StackMap stack:
aload 2
aload 1
invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
4: aload 2
aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.incrementSize:I
i2l
invokeinterface org.hibernate.id.IntegralDataTypeHolder.add:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.upperLimitValue:Lorg/hibernate/id/IntegralDataTypeHolder;
5: aload 2
aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
6: goto 8
7: StackMap locals:
StackMap stack:
aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.increment:()Lorg/hibernate/id/IntegralDataTypeHolder;
pop
8: StackMap locals:
StackMap stack:
aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
lconst_1
invokeinterface org.hibernate.id.IntegralDataTypeHolder.lt:(J)Z
ifne 7
9: StackMap locals:
StackMap stack:
aload 2
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.makeValueThenIncrement:()Ljava/lang/Number;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/id/enhanced/PooledLoOptimizer;
0 10 1 callback Lorg/hibernate/id/enhanced/AccessCallback;
1 10 2 generationState Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
MethodParameters:
Name Flags
callback
private org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState locateGenerationState(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
ifnonnull 3
2: aload 0
new org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
dup
invokespecial org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.<init>:()V
putfield org.hibernate.id.enhanced.PooledLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.tenantSpecificState:Ljava/util/Map;
ifnonnull 9
5: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.id.enhanced.PooledLoOptimizer.tenantSpecificState:Ljava/util/Map;
6: new org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
dup
invokespecial org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.<init>:()V
astore 2
start local 2 7: aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.tenantSpecificState:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 13
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.tenantSpecificState:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
astore 2
start local 2 10: aload 2
ifnonnull 13
11: new org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
dup
invokespecial org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.<init>:()V
astore 2
12: aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.tenantSpecificState:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals: org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/hibernate/id/enhanced/PooledLoOptimizer;
0 14 1 tenantIdentifier Ljava/lang/String;
7 9 2 state Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
10 14 2 state Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
MethodParameters:
Name Flags
tenantIdentifier
private org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState noTenantGenerationState();
descriptor: ()Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Could not locate previous generation state for no-tenant"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/id/enhanced/PooledLoOptimizer;
public org.hibernate.id.IntegralDataTypeHolder getLastSourceValue();
descriptor: ()Lorg/hibernate/id/IntegralDataTypeHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.id.enhanced.PooledLoOptimizer.noTenantGenerationState:()Lorg/hibernate/id/enhanced/PooledLoOptimizer$GenerationState;
getfield org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/PooledLoOptimizer;
public boolean applyIncrementSizeToSourceValues();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/PooledLoOptimizer;
}
SourceFile: "PooledLoOptimizer.java"
NestMembers:
org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState
InnerClasses:
private GenerationState = org.hibernate.id.enhanced.PooledLoOptimizer$GenerationState of org.hibernate.id.enhanced.PooledLoOptimizer