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 28
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 29
            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 28
            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 9
         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 50
            aload 2 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
            astore 3 /* completionHandler */
        start local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
         4: .line 51
            aload 2 /* record */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
         5: .line 53
            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
         6: .line 54
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         7: pop
         8: .line 47
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 1 /* i */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmplt 2
        end local 1 // int i
        10: .line 58
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
        11: .line 59
            return
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   12     0               this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            1   10     1                  i  I
            3    6     2             record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            4    6     3  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
      Exception table:
        from    to  target  type
           2     6       7  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 63
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 9
         2: .line 65
      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 66
            aload 3 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
            astore 4 /* completionHandler */
        start local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
         4: .line 67
            aload 3 /* record */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
         5: .line 69
            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
         6: .line 70
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         7: pop
         8: .line 63
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 2 /* i */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmplt 2
        end local 2 // int i
        10: .line 74
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
        11: .line 75
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // org.glassfish.grizzly.http2.AggrCompletionHandler this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   12     0               this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            0   12     1          throwable  Ljava/lang/Throwable;
            1   10     2                  i  I
            3    6     3             record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            4    6     4  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
      Exception table:
        from    to  target  type
           2     6       7  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 79
            aload 1 /* result */
            invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
            lstore 2 /* originalWrittenSize */
        start local 2 // long originalWrittenSize
         1: .line 81
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         2: goto 12
         3: .line 83
      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 84
            aload 5 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
            astore 6 /* completionHandler */
        start local 6 // org.glassfish.grizzly.CompletionHandler completionHandler
         5: .line 85
            aload 5 /* record */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.bytesWrittenToReport:I
            istore 7 /* bytesWrittenToReport */
        start local 7 // int bytesWrittenToReport
         6: .line 87
            aload 5 /* record */
            invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
         7: .line 89
            aload 1 /* result */
            iload 7 /* bytesWrittenToReport */
            i2l
            invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
         8: .line 90
            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
         9: .line 91
            goto 11
      StackMap locals:
      StackMap stack: java.lang.Exception
        10: pop
        11: .line 81
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 4 /* i */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            if_icmplt 3
        end local 4 // int i
        13: .line 95
            aload 1 /* result */
            lload 2 /* originalWrittenSize */
            invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
        14: .line 96
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
        15: .line 97
            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   16     0                  this  Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
            0   16     1                result  Lorg/glassfish/grizzly/WriteResult;
            1   16     2   originalWrittenSize  J
            2   13     4                     i  I
            4    9     5                record  Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
            5    9     6     completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            6    9     7  bytesWrittenToReport  I
      Exception table:
        from    to  target  type
           3     9      10  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 102
            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 105
            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 2
         1: .line 106
            aload 0 /* this */
            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 0 /* this */
            getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
            iconst_1
            ishr
            iadd
            iconst_1
            iadd
            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;
         2: .line 108
      StackMap locals:
      StackMap stack:
            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 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