class org.glassfish.grizzly.http2.AggrCompletionHandler implements org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.glassfish.grizzly.http2.AggrCompletionHandler
  super_class: java.lang.Object
{
  private org.glassfish.grizzly.http2.AggrCompletionHandler$Record[] completionHandlerRecords;
    descriptor: [Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
    flags: (0x0002) ACC_PRIVATE

  private int recordsCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
         0: .line 27
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            iconst_2
            anewarray org.glassfish.grizzly.http2.AggrCompletionHandler$Record
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
         2: .line 27
            return
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;

  public void register(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, );
    descriptor: (Lorg/glassfish/grizzly/CompletionHandler;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
        start local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 2 // int bytesWrittenToReport
         0: .line 33
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler.ensureCapacity:()V
         1: .line 34
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            aaload
            astore 3 /* record */
        start local 3 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
         2: .line 35
            aload 3 /* record */
            ifnonnull 6
         3: .line 36
            new org.glassfish.grizzly.http2.AggrCompletionHandler$Record
            dup
            aload 1 /* completionHandler */
            iload 2 /* bytesWrittenToReport */
            invokespecial org.glassfish.grizzly.http2.AggrCompletionHandler$Record.<init>:(Lorg/glassfish/grizzly/CompletionHandler;I)V
            astore 3 /* record */
         4: .line 37
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            aload 3 /* record */
            aastore
         5: .line 38
            goto 7
         6: .line 39
      StackMap locals: org.glassfish.grizzly.http2.AggrCompletionHandler$Record
      StackMap stack:
            aload 3 /* record */
            aload 1 /* completionHandler */
            iload 2 /* bytesWrittenToReport */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.set:(Lorg/glassfish/grizzly/CompletionHandler;I)V
         7: .line 42
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            iconst_1
            iadd
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
         8: .line 43
            return
        end local 3 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
        end local 2 // int bytesWrittenToReport
        end local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    9     0                  this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            0    9     1     completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            0    9     2  bytesWrittenToReport  I
            2    9     3                record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
    Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;I)V
    MethodParameters:
                      Name  Flags
      completionHandler     final
      bytesWrittenToReport  final

  public void cancelled();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
         0: .line 47
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 10
         2: .line 49
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            iload 1 /* i */
            aaload
            astore 2 /* record */
        start local 2 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
         3: .line 51
            aload 2 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
         4: .line 50
            astore 3 /* completionHandler */
        start local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
         5: .line 52
            aload 2 /* record */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
         6: .line 54
            aload 3 /* completionHandler */
            invokeinterface org.glassfish.grizzly.CompletionHandler.cancelled:()V
        end local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 2 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
         7: .line 55
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Exception
         8: pop
         9: .line 47
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 1 /* i */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmplt 2
        end local 1 // int i
        11: .line 59
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
        12: .line 60
            return
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   13     0               this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            1   11     1                  i  I
            3    7     2             record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            5    7     3  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
      Exception table:
        from    to  target  type
           2     7       8  Class java.lang.Exception

  public void failed(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
        start local 1 // java.lang.Throwable throwable
         0: .line 64
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 10
         2: .line 66
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            iload 2 /* i */
            aaload
            astore 3 /* record */
        start local 3 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
         3: .line 68
            aload 3 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
         4: .line 67
            astore 4 /* completionHandler */
        start local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
         5: .line 69
            aload 3 /* record */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
         6: .line 71
            aload 4 /* completionHandler */
            aload 1 /* throwable */
            invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
        end local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 3 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
         7: .line 72
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Exception
         8: pop
         9: .line 64
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 2 /* i */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmplt 2
        end local 2 // int i
        11: .line 76
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
        12: .line 77
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   13     0               this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            0   13     1          throwable  Ljava/lang/Throwable;
            1   11     2                  i  I
            3    7     3             record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            5    7     4  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
      Exception table:
        from    to  target  type
           2     7       8  Class java.lang.Exception
    MethodParameters:
           Name  Flags
      throwable  final

  public void completed(org.glassfish.grizzly.WriteResult);
    descriptor: (Lorg/glassfish/grizzly/WriteResult;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=8, args_size=2
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
        start local 1 // org.glassfish.grizzly.WriteResult result
         0: .line 81
            aload 1 /* result */
            invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
            lstore 2 /* originalWrittenSize */
        start local 2 // long originalWrittenSize
         1: .line 83
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         2: goto 13
         3: .line 85
      StackMap locals: long int
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            iload 4 /* i */
            aaload
            astore 5 /* record */
        start local 5 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
         4: .line 87
            aload 5 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
         5: .line 86
            astore 6 /* completionHandler */
        start local 6 // org.glassfish.grizzly.CompletionHandler completionHandler
         6: .line 88
            aload 5 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.bytesWrittenToReport:I
            istore 7 /* bytesWrittenToReport */
        start local 7 // int bytesWrittenToReport
         7: .line 90
            aload 5 /* record */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
         8: .line 92
            aload 1 /* result */
            iload 7 /* bytesWrittenToReport */
            i2l
            invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
         9: .line 93
            aload 6 /* completionHandler */
            aload 1 /* result */
            invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
        end local 7 // int bytesWrittenToReport
        end local 6 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 5 // org.glassfish.grizzly.http2.AggrCompletionHandler$Record record
        10: .line 94
            goto 12
      StackMap locals:
      StackMap stack: java.lang.Exception
        11: pop
        12: .line 83
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 4 /* i */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmplt 3
        end local 4 // int i
        14: .line 98
            aload 1 /* result */
            lload 2 /* originalWrittenSize */
            invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
        15: .line 99
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
        16: .line 100
            return
        end local 2 // long originalWrittenSize
        end local 1 // org.glassfish.grizzly.WriteResult result
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   17     0                  this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            0   17     1                result  Lorg/glassfish/grizzly/WriteResult;
            1   17     2   originalWrittenSize  J
            2   14     4                     i  I
            4   10     5                record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            6   10     6     completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            7   10     7  bytesWrittenToReport  I
      Exception table:
        from    to  target  type
           3    10      11  Class java.lang.Exception
    MethodParameters:
        Name  Flags
      result  final

  public void updated(org.glassfish.grizzly.WriteResult);
    descriptor: (Lorg/glassfish/grizzly/WriteResult;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
        start local 1 // org.glassfish.grizzly.WriteResult result
         0: .line 105
            return
        end local 1 // org.glassfish.grizzly.WriteResult result
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            0    1     1  result  Lorg/glassfish/grizzly/WriteResult;
    MethodParameters:
        Name  Flags
      result  

  private void ensureCapacity();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
         0: .line 108
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            arraylength
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmpne 4
         1: .line 109
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
         2: .line 110
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            iconst_1
            ishr
            iadd
            iconst_1
            iadd
         3: .line 109
            invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
            checkcast org.glassfish.grizzly.http2.AggrCompletionHandler$Record[]
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
         4: .line 112
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;

  public void updated(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast org.glassfish.grizzly.WriteResult
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler.updated:(Lorg/glassfish/grizzly/WriteResult;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void completed(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast org.glassfish.grizzly.WriteResult
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler.completed:(Lorg/glassfish/grizzly/WriteResult;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
SourceFile: "AggrCompletionHandler.java"
NestMembers:
  org.glassfish.grizzly.http2.AggrCompletionHandler$Record
InnerClasses:
  private Record = org.glassfish.grizzly.http2.AggrCompletionHandler$Record of org.glassfish.grizzly.http2.AggrCompletionHandler