public class org.hibernate.id.enhanced.HiLoOptimizer 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.HiLoOptimizer
  super_class: org.hibernate.id.enhanced.AbstractOptimizer
{
  private static final org.jboss.logging.Logger log;
    descriptor: Lorg/jboss/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private org.hibernate.id.enhanced.HiLoOptimizer$GenerationState noTenantState;
    descriptor: Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
    flags: (0x0002) ACC_PRIVATE

  private java.util.Map<java.lang.String, org.hibernate.id.enhanced.HiLoOptimizer$GenerationState> tenantSpecificState;
    descriptor: Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Map<Ljava/lang/String;Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 54
            ldc Lorg/hibernate/id/enhanced/HiLoOptimizer;
            invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
            putstatic org.hibernate.id.enhanced.HiLoOptimizer.log:Lorg/jboss/logging/Logger;
            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 // org.hibernate.id.enhanced.HiLoOptimizer this
        start local 1 // java.lang.Class returnClass
        start local 2 // int incrementSize
         0: .line 70
            aload 0 /* this */
            aload 1 /* returnClass */
            iload 2 /* incrementSize */
            invokespecial org.hibernate.id.enhanced.AbstractOptimizer.<init>:(Ljava/lang/Class;I)V
         1: .line 71
            iload 2 /* incrementSize */
            iconst_1
            if_icmpge 3
         2: .line 72
            new org.hibernate.HibernateException
            dup
            ldc "increment size cannot be less than 1"
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 74
      StackMap locals: org.hibernate.id.enhanced.HiLoOptimizer java.lang.Class int
      StackMap stack:
            getstatic org.hibernate.id.enhanced.HiLoOptimizer.log:Lorg/jboss/logging/Logger;
            invokevirtual org.jboss.logging.Logger.isTraceEnabled:()Z
            ifeq 5
         4: .line 75
            getstatic org.hibernate.id.enhanced.HiLoOptimizer.log:Lorg/jboss/logging/Logger;
            ldc "Creating hilo optimizer with [incrementSize={0}; returnClass={1}]"
            iload 2 /* incrementSize */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 1 /* returnClass */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual org.jboss.logging.Logger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 77
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int incrementSize
        end local 1 // java.lang.Class returnClass
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0           this  Lorg/hibernate/id/enhanced/HiLoOptimizer;
            0    6     1    returnClass  Ljava/lang/Class;
            0    6     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 // org.hibernate.id.enhanced.HiLoOptimizer this
        start local 1 // org.hibernate.id.enhanced.AccessCallback callback
         0: .line 81
            aload 0 /* this */
            aload 1 /* callback */
            invokeinterface org.hibernate.id.enhanced.AccessCallback.getTenantIdentifier:()Ljava/lang/String;
            invokevirtual org.hibernate.id.enhanced.HiLoOptimizer.locateGenerationState:(Ljava/lang/String;)Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            astore 2 /* generationState */
        start local 2 // org.hibernate.id.enhanced.HiLoOptimizer$GenerationState generationState
         1: .line 83
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
            ifnonnull 9
         2: .line 86
            aload 2 /* generationState */
            aload 1 /* callback */
            invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
         3: .line 87
            goto 5
         4: .line 88
      StackMap locals: org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
      StackMap stack:
            aload 2 /* generationState */
            aload 1 /* callback */
            invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
         5: .line 87
      StackMap locals:
      StackMap stack:
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
            lconst_1
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.lt:(J)Z
            ifne 4
         6: .line 91
            aload 2 /* generationState */
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.incrementSize:I
            i2l
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.multiplyBy:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.increment:()Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.upperLimit:Lorg/hibernate/id/IntegralDataTypeHolder;
         7: .line 93
            aload 2 /* generationState */
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.upperLimit:Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.incrementSize:I
            i2l
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.subtract:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
         8: .line 94
            goto 13
         9: .line 95
      StackMap locals:
      StackMap stack:
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.upperLimit:Lorg/hibernate/id/IntegralDataTypeHolder;
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.gt:(Lorg/hibernate/id/IntegralDataTypeHolder;)Z
            ifne 13
        10: .line 96
            aload 2 /* generationState */
            aload 1 /* callback */
            invokeinterface org.hibernate.id.enhanced.AccessCallback.getNextValue:()Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
        11: .line 97
            aload 2 /* generationState */
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.incrementSize:I
            i2l
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.multiplyBy:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.increment:()Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.upperLimit:Lorg/hibernate/id/IntegralDataTypeHolder;
        12: .line 98
            aload 2 /* generationState */
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.upperLimit:Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.copy:()Lorg/hibernate/id/IntegralDataTypeHolder;
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.incrementSize:I
            i2l
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.subtract:(J)Lorg/hibernate/id/IntegralDataTypeHolder;
            putfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
        13: .line 100
      StackMap locals:
      StackMap stack:
            aload 2 /* generationState */
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.value:Lorg/hibernate/id/IntegralDataTypeHolder;
            invokeinterface org.hibernate.id.IntegralDataTypeHolder.makeValueThenIncrement:()Ljava/lang/Number;
            areturn
        end local 2 // org.hibernate.id.enhanced.HiLoOptimizer$GenerationState generationState
        end local 1 // org.hibernate.id.enhanced.AccessCallback callback
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   14     0             this  Lorg/hibernate/id/enhanced/HiLoOptimizer;
            0   14     1         callback  Lorg/hibernate/id/enhanced/AccessCallback;
            1   14     2  generationState  Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
    MethodParameters:
          Name  Flags
      callback  

  private org.hibernate.id.enhanced.HiLoOptimizer$GenerationState locateGenerationState(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
        start local 1 // java.lang.String tenantIdentifier
         0: .line 107
            aload 1 /* tenantIdentifier */
            ifnonnull 4
         1: .line 108
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            ifnonnull 3
         2: .line 109
            aload 0 /* this */
            new org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
            dup
            invokespecial org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.<init>:()V
            putfield org.hibernate.id.enhanced.HiLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
         3: .line 111
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            areturn
         4: .line 115
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.tenantSpecificState:Ljava/util/Map;
            ifnonnull 9
         5: .line 116
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.id.enhanced.HiLoOptimizer.tenantSpecificState:Ljava/util/Map;
         6: .line 117
            new org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
            dup
            invokespecial org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.<init>:()V
            astore 2 /* state */
        start local 2 // org.hibernate.id.enhanced.HiLoOptimizer$GenerationState state
         7: .line 118
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.tenantSpecificState:Ljava/util/Map;
            aload 1 /* tenantIdentifier */
            aload 2 /* state */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 119
            goto 13
        end local 2 // org.hibernate.id.enhanced.HiLoOptimizer$GenerationState state
         9: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.tenantSpecificState:Ljava/util/Map;
            aload 1 /* tenantIdentifier */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
            astore 2 /* state */
        start local 2 // org.hibernate.id.enhanced.HiLoOptimizer$GenerationState state
        10: .line 122
            aload 2 /* state */
            ifnonnull 13
        11: .line 123
            new org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
            dup
            invokespecial org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.<init>:()V
            astore 2 /* state */
        12: .line 124
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.tenantSpecificState:Ljava/util/Map;
            aload 1 /* tenantIdentifier */
            aload 2 /* state */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        13: .line 127
      StackMap locals: org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
      StackMap stack:
            aload 2 /* state */
            areturn
        end local 2 // org.hibernate.id.enhanced.HiLoOptimizer$GenerationState state
        end local 1 // java.lang.String tenantIdentifier
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   14     0              this  Lorg/hibernate/id/enhanced/HiLoOptimizer;
            0   14     1  tenantIdentifier  Ljava/lang/String;
            7    9     2             state  Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
           10   14     2             state  Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
    MethodParameters:
                  Name  Flags
      tenantIdentifier  

  private org.hibernate.id.enhanced.HiLoOptimizer$GenerationState noTenantGenerationState();
    descriptor: ()Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
         0: .line 132
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            ifnonnull 2
         1: .line 133
            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: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.id.enhanced.HiLoOptimizer.noTenantState:Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            areturn
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/hibernate/id/enhanced/HiLoOptimizer;

  public synchronized org.hibernate.id.IntegralDataTypeHolder getLastSourceValue();
    descriptor: ()Lorg/hibernate/id/IntegralDataTypeHolder;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
         0: .line 140
            aload 0 /* this */
            invokevirtual org.hibernate.id.enhanced.HiLoOptimizer.noTenantGenerationState:()Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.lastSourceValue:Lorg/hibernate/id/IntegralDataTypeHolder;
            areturn
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/id/enhanced/HiLoOptimizer;

  public boolean applyIncrementSizeToSourceValues();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
         0: .line 145
            iconst_0
            ireturn
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/id/enhanced/HiLoOptimizer;

  public synchronized org.hibernate.id.IntegralDataTypeHolder getLastValue();
    descriptor: ()Lorg/hibernate/id/IntegralDataTypeHolder;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
         0: .line 156
            aload 0 /* this */
            invokevirtual org.hibernate.id.enhanced.HiLoOptimizer.noTenantGenerationState:()Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            getfield org.hibernate.id.enhanced.HiLoOptimizer$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 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/id/enhanced/HiLoOptimizer;

  public synchronized org.hibernate.id.IntegralDataTypeHolder getHiValue();
    descriptor: ()Lorg/hibernate/id/IntegralDataTypeHolder;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
         0: .line 167
            aload 0 /* this */
            invokevirtual org.hibernate.id.enhanced.HiLoOptimizer.noTenantGenerationState:()Lorg/hibernate/id/enhanced/HiLoOptimizer$GenerationState;
            getfield org.hibernate.id.enhanced.HiLoOptimizer$GenerationState.upperLimit:Lorg/hibernate/id/IntegralDataTypeHolder;
            areturn
        end local 0 // org.hibernate.id.enhanced.HiLoOptimizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/id/enhanced/HiLoOptimizer;
}
SourceFile: "HiLoOptimizer.java"
NestMembers:
  org.hibernate.id.enhanced.HiLoOptimizer$GenerationState
InnerClasses:
  private GenerationState = org.hibernate.id.enhanced.HiLoOptimizer$GenerationState of org.hibernate.id.enhanced.HiLoOptimizer