public class org.hibernate.id.enhanced.PooledOptimizer extends org.hibernate.id.enhanced.AbstractOptimizer implements org.hibernate.id.enhanced.InitialValueAwareOptimizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.id.enhanced.PooledOptimizer
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 long initialValue;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.hibernate.id.enhanced.PooledOptimizer$GenerationState noTenantState;
descriptor: Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, org.hibernate.id.enhanced.PooledOptimizer$GenerationState> tenantSpecificState;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/hibernate/id/enhanced/PooledOptimizer$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/PooledOptimizer;
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.PooledOptimizer.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=4, 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: aload 0
ldc -1
putfield org.hibernate.id.enhanced.PooledOptimizer.initialValue:J
2: iload 2
iconst_1
if_icmpge 4
3: new org.hibernate.HibernateException
dup
ldc "increment size cannot be less than 1"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.hibernate.id.enhanced.PooledOptimizer java.lang.Class int
StackMap stack:
getstatic org.hibernate.id.enhanced.PooledOptimizer.log:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
ifeq 10
5: getstatic org.hibernate.id.enhanced.PooledOptimizer.log:Lorg/hibernate/internal/CoreMessageLogger;
6: ldc "Creating pooled optimizer with [incrementSize={0}; returnClass={1}]"
7: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
8: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
9: invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/id/enhanced/PooledOptimizer;
0 11 1 returnClass Ljava/lang/Class;
0 11 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.PooledOptimizer.locateGenerationState:(Ljava/lang/String;)Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
astore 2
start local 2 1: aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
ifnonnull 13
2: aload 2
aload 1
invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
3: aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
lconst_1
invokeinterface org.hibernate.id.IntegralDataTypeHolder.lt:(J)Z
ifeq 5
4: getstatic org.hibernate.id.enhanced.PooledOptimizer.log:Lorg/hibernate/internal/CoreMessageLogger;
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.internal.CoreMessageLogger.pooledOptimizerReportedInitialValue:(Lorg/hibernate/id/IntegralDataTypeHolder;)V
5: StackMap locals: org.hibernate.id.enhanced.PooledOptimizer$GenerationState
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.initialValue:J
ldc -1
lcmp
ifne 7
6: aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.incrementSize:I
i2l
invokeinterface org.hibernate.id.IntegralDataTypeHolder.lt:(J)Z
ifne 8
7: StackMap locals:
StackMap stack:
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.initialValue:J
invokeinterface org.hibernate.id.IntegralDataTypeHolder.eq:(J)Z
ifeq 10
8: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
9: goto 16
10: StackMap locals:
StackMap stack:
aload 2
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
11: aload 2
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.incrementSize:I
iconst_1
isub
i2l
invokeinterface org.hibernate.id.IntegralDataTypeHolder.subtract:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
12: goto 16
13: StackMap locals:
StackMap stack:
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.gt:(Lorg/hibernate/id/IntegralDataTypeHolder;)Z
ifeq 16
14: aload 2
aload 1
invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
15: aload 2
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.incrementSize:I
iconst_1
isub
i2l
invokeinterface org.hibernate.id.IntegralDataTypeHolder.subtract:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
putfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
16: StackMap locals:
StackMap stack:
aload 2
getfield org.hibernate.id.enhanced.PooledOptimizer$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 17 0 this Lorg/hibernate/id/enhanced/PooledOptimizer;
0 17 1 callback Lorg/hibernate/id/enhanced/AccessCallback;
1 17 2 generationState Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
MethodParameters:
Name Flags
callback
private org.hibernate.id.enhanced.PooledOptimizer$GenerationState locateGenerationState(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/id/enhanced/PooledOptimizer$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.PooledOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
ifnonnull 3
2: aload 0
new org.hibernate.id.enhanced.PooledOptimizer$GenerationState
dup
invokespecial org.hibernate.id.enhanced.PooledOptimizer$GenerationState.<init>:()V
putfield org.hibernate.id.enhanced.PooledOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.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.PooledOptimizer.tenantSpecificState:Ljava/util/Map;
6: new org.hibernate.id.enhanced.PooledOptimizer$GenerationState
dup
invokespecial org.hibernate.id.enhanced.PooledOptimizer$GenerationState.<init>:()V
astore 2
start local 2 7: aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.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.PooledOptimizer.tenantSpecificState:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.id.enhanced.PooledOptimizer$GenerationState
astore 2
start local 2 10: aload 2
ifnonnull 13
11: new org.hibernate.id.enhanced.PooledOptimizer$GenerationState
dup
invokespecial org.hibernate.id.enhanced.PooledOptimizer$GenerationState.<init>:()V
astore 2
12: aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.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.PooledOptimizer$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/PooledOptimizer;
0 14 1 tenantIdentifier Ljava/lang/String;
7 9 2 state Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
10 14 2 state Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
MethodParameters:
Name Flags
tenantIdentifier
private org.hibernate.id.enhanced.PooledOptimizer$GenerationState noTenantGenerationState();
descriptor: ()Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.PooledOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledOptimizer$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.PooledOptimizer.noTenantState:Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/id/enhanced/PooledOptimizer;
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.PooledOptimizer.noTenantGenerationState:()Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.hiValue:Lorg/hibernate/id/IntegralDataTypeHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/PooledOptimizer;
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/PooledOptimizer;
public org.hibernate.id.IntegralDataTypeHolder getLastValue();
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.PooledOptimizer.noTenantGenerationState:()Lorg/hibernate/id/enhanced/PooledOptimizer$GenerationState;
getfield org.hibernate.id.enhanced.PooledOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
invokeinterface org.hibernate.id.IntegralDataTypeHolder.decrement:()Lorg/hibernate/id/IntegralDataTypeHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/PooledOptimizer;
public void injectInitialValue(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.hibernate.id.enhanced.PooledOptimizer.initialValue:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/id/enhanced/PooledOptimizer;
0 2 1 initialValue J
MethodParameters:
Name Flags
initialValue
}
SourceFile: "PooledOptimizer.java"
NestMembers:
org.hibernate.id.enhanced.PooledOptimizer$GenerationState
InnerClasses:
private GenerationState = org.hibernate.id.enhanced.PooledOptimizer$GenerationState of org.hibernate.id.enhanced.PooledOptimizer