public class io.undertow.conduits.RateLimitingStreamSinkConduit extends org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.undertow.conduits.RateLimitingStreamSinkConduit
  super_class: org.xnio.conduits.AbstractStreamSinkConduit
{
  private final long time;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int bytes;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean writesResumed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

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

  private long startTime;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long nextSendTime;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private boolean scheduled;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.xnio.conduits.StreamSinkConduit, int, long, java.util.concurrent.TimeUnit);
    descriptor: (Lorg/xnio/conduits/StreamSinkConduit;IJLjava/util/concurrent/TimeUnit;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // org.xnio.conduits.StreamSinkConduit next
        start local 2 // int bytes
        start local 3 // long time
        start local 5 // java.util.concurrent.TimeUnit timeUnit
         0: .line 62
            aload 0 /* this */
            aload 1 /* next */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.<init>:(Lorg/xnio/conduits/StreamSinkConduit;)V
         1: .line 47
            aload 0 /* this */
            iconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
         2: .line 49
            aload 0 /* this */
            iconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
         3: .line 50
            aload 0 /* this */
            lconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
         4: .line 51
            aload 0 /* this */
            lconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
         5: .line 53
            aload 0 /* this */
            iconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.scheduled:Z
         6: .line 63
            aload 0 /* this */
            aload 1 /* next */
            invokeinterface org.xnio.conduits.StreamSinkConduit.isWriteResumed:()Z
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
         7: .line 64
            aload 0 /* this */
            aload 5 /* timeUnit */
            lload 3 /* time */
            invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.time:J
         8: .line 65
            aload 0 /* this */
            iload 2 /* bytes */
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
         9: .line 66
            return
        end local 5 // java.util.concurrent.TimeUnit timeUnit
        end local 3 // long time
        end local 2 // int bytes
        end local 1 // org.xnio.conduits.StreamSinkConduit next
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   10     1      next  Lorg/xnio/conduits/StreamSinkConduit;
            0   10     2     bytes  I
            0   10     3      time  J
            0   10     5  timeUnit  Ljava/util/concurrent/TimeUnit;
    MethodParameters:
          Name  Flags
      next      
      bytes     
      time      
      timeUnit  

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // java.nio.ByteBuffer src
         0: .line 70
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifne 2
         1: .line 71
            iconst_0
            ireturn
         2: .line 73
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            isub
            istore 2 /* bytes */
        start local 2 // int bytes
         3: .line 74
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 3 /* old */
        start local 3 // int old
         4: .line 75
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 2 /* bytes */
            if_icmple 6
         5: .line 76
            aload 1 /* src */
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 2 /* bytes */
            iadd
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
         6: .line 79
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* src */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.write:(Ljava/nio/ByteBuffer;)I
            istore 4 /* written */
        start local 4 // int written
         7: .line 80
            aload 0 /* this */
            iload 4 /* written */
            i2l
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritten:(J)V
         8: .line 81
            iload 4 /* written */
            istore 6
         9: .line 83
            aload 1 /* src */
            iload 3 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        10: .line 81
            iload 6
            ireturn
        end local 4 // int written
        11: .line 82
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        12: .line 83
            aload 1 /* src */
            iload 3 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        13: .line 84
            aload 5
            athrow
        end local 3 // int old
        end local 2 // int bytes
        end local 1 // java.nio.ByteBuffer src
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   14     1      src  Ljava/nio/ByteBuffer;
            3   14     2    bytes  I
            4   14     3      old  I
            7   11     4  written  I
      Exception table:
        from    to  target  type
           6     9      11  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public long transferFrom(java.nio.channels.FileChannel, long, long);
    descriptor: (Ljava/nio/channels/FileChannel;JJ)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=9, args_size=4
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // java.nio.channels.FileChannel src
        start local 2 // long position
        start local 4 // long count
         0: .line 89
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifne 2
         1: .line 90
            lconst_0
            lreturn
         2: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            isub
            istore 6 /* bytes */
        start local 6 // int bytes
         3: .line 93
            aload 0 /* this */
            aload 1 /* src */
            lload 2 /* position */
            lload 4 /* count */
            iload 6 /* bytes */
            i2l
            invokestatic java.lang.Math.min:(JJ)J
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.transferFrom:(Ljava/nio/channels/FileChannel;JJ)J
            lstore 7 /* written */
        start local 7 // long written
         4: .line 94
            aload 0 /* this */
            lload 7 /* written */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritten:(J)V
         5: .line 95
            lload 7 /* written */
            lreturn
        end local 7 // long written
        end local 6 // int bytes
        end local 4 // long count
        end local 2 // long position
        end local 1 // java.nio.channels.FileChannel src
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0    6     1       src  Ljava/nio/channels/FileChannel;
            0    6     2  position  J
            0    6     4     count  J
            3    6     6     bytes  I
            4    6     7   written  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      src       
      position  
      count     

  public long transferFrom(org.xnio.channels.StreamSourceChannel, long, java.nio.ByteBuffer);
    descriptor: (Lorg/xnio/channels/StreamSourceChannel;JLjava/nio/ByteBuffer;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=8, args_size=4
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // org.xnio.channels.StreamSourceChannel source
        start local 2 // long count
        start local 4 // java.nio.ByteBuffer throughBuffer
         0: .line 100
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifne 2
         1: .line 101
            lconst_0
            lreturn
         2: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            isub
            istore 5 /* bytes */
        start local 5 // int bytes
         3: .line 104
            aload 0 /* this */
            aload 1 /* source */
            lload 2 /* count */
            iload 5 /* bytes */
            i2l
            invokestatic java.lang.Math.min:(JJ)J
            aload 4 /* throughBuffer */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.transferFrom:(Lorg/xnio/channels/StreamSourceChannel;JLjava/nio/ByteBuffer;)J
            lstore 6 /* written */
        start local 6 // long written
         4: .line 105
            aload 0 /* this */
            lload 6 /* written */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritten:(J)V
         5: .line 106
            lload 6 /* written */
            lreturn
        end local 6 // long written
        end local 5 // int bytes
        end local 4 // java.nio.ByteBuffer throughBuffer
        end local 2 // long count
        end local 1 // org.xnio.channels.StreamSourceChannel source
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0           this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0    6     1         source  Lorg/xnio/channels/StreamSourceChannel;
            0    6     2          count  J
            0    6     4  throughBuffer  Ljava/nio/ByteBuffer;
            3    6     5          bytes  I
            4    6     6        written  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      source         
      count          
      throughBuffer  

  public long write(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=14, args_size=4
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // java.nio.ByteBuffer[] srcs
        start local 2 // int offs
        start local 3 // int len
         0: .line 111
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifne 2
         1: .line 112
            lconst_0
            lreturn
         2: .line 114
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* old */
        start local 4 // int old
         3: .line 115
            iconst_m1
            istore 5 /* adjPos */
        start local 5 // int adjPos
         4: .line 116
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            isub
            i2l
            lstore 6 /* rem */
        start local 6 // long rem
         5: .line 117
            iload 2 /* offs */
            istore 8 /* i */
        start local 8 // int i
         6: goto 15
         7: .line 118
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long int
      StackMap stack:
            aload 1 /* srcs */
            iload 8 /* i */
            aaload
            astore 9 /* buf */
        start local 9 // java.nio.ByteBuffer buf
         8: .line 119
            lload 6 /* rem */
            aload 9 /* buf */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            i2l
            lsub
            lstore 6 /* rem */
         9: .line 120
            lload 6 /* rem */
            lconst_0
            lcmp
            ifge 14
        10: .line 121
            iload 8 /* i */
            istore 5 /* adjPos */
        11: .line 122
            aload 9 /* buf */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 4 /* old */
        12: .line 123
            aload 9 /* buf */
            aload 9 /* buf */
            invokevirtual java.nio.ByteBuffer.limit:()I
            i2l
            lload 6 /* rem */
            ladd
            l2i
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        13: .line 124
            goto 16
        end local 9 // java.nio.ByteBuffer buf
        14: .line 117
      StackMap locals:
      StackMap stack:
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 8 /* i */
            iload 2 /* offs */
            iload 3 /* len */
            iadd
            if_icmplt 7
        end local 8 // int i
        16: .line 129
      StackMap locals:
      StackMap stack:
            iload 5 /* adjPos */
            iconst_m1
            if_icmpne 19
        17: .line 130
            aload 0 /* this */
            aload 1 /* srcs */
            iload 2 /* offs */
            iload 3 /* len */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.write:([Ljava/nio/ByteBuffer;II)J
            lstore 8 /* written */
        start local 8 // long written
        18: .line 131
            goto 20
        end local 8 // long written
        19: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* srcs */
            iload 2 /* offs */
            iload 5 /* adjPos */
            iload 2 /* offs */
            isub
            iconst_1
            iadd
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.write:([Ljava/nio/ByteBuffer;II)J
            lstore 8 /* written */
        start local 8 // long written
        20: .line 134
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            lload 8 /* written */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritten:(J)V
        21: .line 135
            lload 8 /* written */
            lstore 11
        22: .line 137
            iload 5 /* adjPos */
            iconst_m1
            if_icmpeq 25
        23: .line 138
            aload 1 /* srcs */
            iload 5 /* adjPos */
            aaload
            astore 13 /* buf */
        start local 13 // java.nio.ByteBuffer buf
        24: .line 139
            aload 13 /* buf */
            iload 4 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        end local 13 // java.nio.ByteBuffer buf
        25: .line 135
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long long top long
      StackMap stack:
            lload 11
            lreturn
        end local 8 // long written
        26: .line 136
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long
      StackMap stack: java.lang.Throwable
            astore 10
        27: .line 137
            iload 5 /* adjPos */
            iconst_m1
            if_icmpeq 30
        28: .line 138
            aload 1 /* srcs */
            iload 5 /* adjPos */
            aaload
            astore 13 /* buf */
        start local 13 // java.nio.ByteBuffer buf
        29: .line 139
            aload 13 /* buf */
            iload 4 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        end local 13 // java.nio.ByteBuffer buf
        30: .line 141
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long top top java.lang.Throwable
      StackMap stack:
            aload 10
            athrow
        end local 6 // long rem
        end local 5 // int adjPos
        end local 4 // int old
        end local 3 // int len
        end local 2 // int offs
        end local 1 // java.nio.ByteBuffer[] srcs
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   31     0     this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   31     1     srcs  [Ljava/nio/ByteBuffer;
            0   31     2     offs  I
            0   31     3      len  I
            3   31     4      old  I
            4   31     5   adjPos  I
            5   31     6      rem  J
            6   16     8        i  I
            8   14     9      buf  Ljava/nio/ByteBuffer;
           18   19     8  written  J
           20   26     8  written  J
           24   25    13      buf  Ljava/nio/ByteBuffer;
           29   30    13      buf  Ljava/nio/ByteBuffer;
      Exception table:
        from    to  target  type
          16    22      26  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      srcs  
      offs  
      len   

  public int writeFinal(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // java.nio.ByteBuffer src
         0: .line 146
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifne 2
         1: .line 147
            iconst_0
            ireturn
         2: .line 149
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            isub
            istore 2 /* bytes */
        start local 2 // int bytes
         3: .line 150
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 3 /* old */
        start local 3 // int old
         4: .line 151
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 2 /* bytes */
            if_icmple 6
         5: .line 152
            aload 1 /* src */
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 2 /* bytes */
            iadd
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
         6: .line 155
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* src */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.writeFinal:(Ljava/nio/ByteBuffer;)I
            istore 4 /* written */
        start local 4 // int written
         7: .line 156
            aload 0 /* this */
            iload 4 /* written */
            i2l
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritten:(J)V
         8: .line 157
            iload 4 /* written */
            istore 6
         9: .line 159
            aload 1 /* src */
            iload 3 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        10: .line 157
            iload 6
            ireturn
        end local 4 // int written
        11: .line 158
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        12: .line 159
            aload 1 /* src */
            iload 3 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        13: .line 160
            aload 5
            athrow
        end local 3 // int old
        end local 2 // int bytes
        end local 1 // java.nio.ByteBuffer src
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   14     1      src  Ljava/nio/ByteBuffer;
            3   14     2    bytes  I
            4   14     3      old  I
            7   11     4  written  I
      Exception table:
        from    to  target  type
           6     9      11  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public long writeFinal(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=14, args_size=4
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // java.nio.ByteBuffer[] srcs
        start local 2 // int offs
        start local 3 // int len
         0: .line 165
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifne 2
         1: .line 166
            lconst_0
            lreturn
         2: .line 168
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* old */
        start local 4 // int old
         3: .line 169
            iconst_m1
            istore 5 /* adjPos */
        start local 5 // int adjPos
         4: .line 170
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            isub
            i2l
            lstore 6 /* rem */
        start local 6 // long rem
         5: .line 171
            iload 2 /* offs */
            istore 8 /* i */
        start local 8 // int i
         6: goto 15
         7: .line 172
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long int
      StackMap stack:
            aload 1 /* srcs */
            iload 8 /* i */
            aaload
            astore 9 /* buf */
        start local 9 // java.nio.ByteBuffer buf
         8: .line 173
            lload 6 /* rem */
            aload 9 /* buf */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            i2l
            lsub
            lstore 6 /* rem */
         9: .line 174
            lload 6 /* rem */
            lconst_0
            lcmp
            ifge 14
        10: .line 175
            iload 8 /* i */
            istore 5 /* adjPos */
        11: .line 176
            aload 9 /* buf */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 4 /* old */
        12: .line 177
            aload 9 /* buf */
            aload 9 /* buf */
            invokevirtual java.nio.ByteBuffer.limit:()I
            i2l
            lload 6 /* rem */
            ladd
            l2i
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        13: .line 178
            goto 16
        end local 9 // java.nio.ByteBuffer buf
        14: .line 171
      StackMap locals:
      StackMap stack:
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 8 /* i */
            iload 2 /* offs */
            iload 3 /* len */
            iadd
            if_icmplt 7
        end local 8 // int i
        16: .line 183
      StackMap locals:
      StackMap stack:
            iload 5 /* adjPos */
            iconst_m1
            if_icmpne 19
        17: .line 184
            aload 0 /* this */
            aload 1 /* srcs */
            iload 2 /* offs */
            iload 3 /* len */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.writeFinal:([Ljava/nio/ByteBuffer;II)J
            lstore 8 /* written */
        start local 8 // long written
        18: .line 185
            goto 20
        end local 8 // long written
        19: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* srcs */
            iload 2 /* offs */
            iload 5 /* adjPos */
            iload 2 /* offs */
            isub
            iconst_1
            iadd
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.writeFinal:([Ljava/nio/ByteBuffer;II)J
            lstore 8 /* written */
        start local 8 // long written
        20: .line 188
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            lload 8 /* written */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritten:(J)V
        21: .line 189
            lload 8 /* written */
            lstore 11
        22: .line 191
            iload 5 /* adjPos */
            iconst_m1
            if_icmpeq 25
        23: .line 192
            aload 1 /* srcs */
            iload 5 /* adjPos */
            aaload
            astore 13 /* buf */
        start local 13 // java.nio.ByteBuffer buf
        24: .line 193
            aload 13 /* buf */
            iload 4 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        end local 13 // java.nio.ByteBuffer buf
        25: .line 189
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long long top long
      StackMap stack:
            lload 11
            lreturn
        end local 8 // long written
        26: .line 190
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long
      StackMap stack: java.lang.Throwable
            astore 10
        27: .line 191
            iload 5 /* adjPos */
            iconst_m1
            if_icmpeq 30
        28: .line 192
            aload 1 /* srcs */
            iload 5 /* adjPos */
            aaload
            astore 13 /* buf */
        start local 13 // java.nio.ByteBuffer buf
        29: .line 193
            aload 13 /* buf */
            iload 4 /* old */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        end local 13 // java.nio.ByteBuffer buf
        30: .line 195
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit java.nio.ByteBuffer[] int int int int long top top java.lang.Throwable
      StackMap stack:
            aload 10
            athrow
        end local 6 // long rem
        end local 5 // int adjPos
        end local 4 // int old
        end local 3 // int len
        end local 2 // int offs
        end local 1 // java.nio.ByteBuffer[] srcs
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   31     0     this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   31     1     srcs  [Ljava/nio/ByteBuffer;
            0   31     2     offs  I
            0   31     3      len  I
            3   31     4      old  I
            4   31     5   adjPos  I
            5   31     6      rem  J
            6   16     8        i  I
            8   14     9      buf  Ljava/nio/ByteBuffer;
           18   19     8  written  J
           20   26     8  written  J
           24   25    13      buf  Ljava/nio/ByteBuffer;
           29   30    13      buf  Ljava/nio/ByteBuffer;
      Exception table:
        from    to  target  type
          16    22      26  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      srcs  
      offs  
      len   

  public void resumeWrites();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 200
            aload 0 /* this */
            iconst_1
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
         1: .line 201
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifeq 3
         2: .line 202
            aload 0 /* this */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.resumeWrites:()V
         3: .line 204
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;

  public void suspendWrites();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 208
            aload 0 /* this */
            iconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
         1: .line 209
            aload 0 /* this */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.suspendWrites:()V
         2: .line 210
            return
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;

  public void wakeupWrites();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 214
            aload 0 /* this */
            iconst_1
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
         1: .line 215
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.canSend:()Z
            ifeq 3
         2: .line 216
            aload 0 /* this */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.wakeupWrites:()V
         3: .line 218
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;

  public boolean isWriteResumed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 222
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
            ireturn
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;

  public void awaitWritable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 227
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
            invokestatic java.lang.System.currentTimeMillis:()J
            lsub
            lstore 1 /* toGo */
        start local 1 // long toGo
         1: .line 228
            lload 1 /* toGo */
            lconst_0
            lcmp
            ifle 7
         2: .line 230
            lload 1 /* toGo */
            invokestatic java.lang.Thread.sleep:(J)V
         3: .line 231
            goto 7
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit long
      StackMap stack: java.lang.InterruptedException
         4: pop
         5: .line 232
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         6: .line 233
            new java.io.InterruptedIOException
            dup
            invokespecial java.io.InterruptedIOException.<init>:()V
            athrow
         7: .line 236
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.awaitWritable:()V
         8: .line 237
            return
        end local 1 // long toGo
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            1    9     1  toGo  J
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException

  public void awaitWritable(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // long time
        start local 3 // java.util.concurrent.TimeUnit timeUnit
         0: .line 242
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
            invokestatic java.lang.System.currentTimeMillis:()J
            lsub
            lstore 4 /* toGo */
        start local 4 // long toGo
         1: .line 243
            lload 4 /* toGo */
            lconst_0
            lcmp
            ifle 8
         2: .line 245
            lload 4 /* toGo */
            aload 3 /* timeUnit */
            lload 1 /* time */
            invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
            invokestatic java.lang.Math.min:(JJ)J
            invokestatic java.lang.Thread.sleep:(J)V
         3: .line 246
            goto 7
      StackMap locals: io.undertow.conduits.RateLimitingStreamSinkConduit long java.util.concurrent.TimeUnit long
      StackMap stack: java.lang.InterruptedException
         4: pop
         5: .line 247
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         6: .line 248
            new java.io.InterruptedIOException
            dup
            invokespecial java.io.InterruptedIOException.<init>:()V
            athrow
         7: .line 250
      StackMap locals:
      StackMap stack:
            return
         8: .line 252
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* time */
            aload 3 /* timeUnit */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.awaitWritable:(JLjava/util/concurrent/TimeUnit;)V
         9: .line 253
            return
        end local 4 // long toGo
        end local 3 // java.util.concurrent.TimeUnit timeUnit
        end local 1 // long time
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   10     1      time  J
            0   10     3  timeUnit  Ljava/util/concurrent/TimeUnit;
            1   10     4      toGo  J
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      time      
      timeUnit  

  private boolean canSend();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 256
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            if_icmpge 2
         1: .line 257
            iconst_1
            ireturn
         2: .line 259
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.System.currentTimeMillis:()J
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
            lcmp
            ifle 7
         3: .line 260
            aload 0 /* this */
            iconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
         4: .line 261
            aload 0 /* this */
            lconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
         5: .line 262
            aload 0 /* this */
            lconst_0
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
         6: .line 263
            iconst_1
            ireturn
         7: .line 265
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
            ifeq 9
         8: .line 266
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritesResumedWhenBlocked:()V
         9: .line 268
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;

  private void handleWritten(long);
    descriptor: (J)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
        start local 1 // long written
         0: .line 272
            lload 1 /* written */
            lconst_0
            lcmp
            ifne 2
         1: .line 273
            return
         2: .line 275
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            i2l
            lload 1 /* written */
            ladd
            l2i
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
         3: .line 276
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.byteCount:I
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.bytes:I
            if_icmpge 8
         4: .line 278
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
            lconst_0
            lcmp
            ifne 13
         5: .line 279
            aload 0 /* this */
            invokestatic java.lang.System.currentTimeMillis:()J
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
         6: .line 280
            aload 0 /* this */
            invokestatic java.lang.System.currentTimeMillis:()J
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.time:J
            ladd
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
         7: .line 282
            goto 13
         8: .line 284
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
            lconst_0
            lcmp
            ifne 10
         9: .line 285
            aload 0 /* this */
            invokestatic java.lang.System.currentTimeMillis:()J
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
        10: .line 287
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.startTime:J
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.time:J
            ladd
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
        11: .line 288
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.writesResumed:Z
            ifeq 13
        12: .line 289
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.handleWritesResumedWhenBlocked:()V
        13: .line 292
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long written
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            0   14     1  written  J
    MethodParameters:
         Name  Flags
      written  

  private void handleWritesResumedWhenBlocked();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
         0: .line 295
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.scheduled:Z
            ifeq 2
         1: .line 296
            return
         2: .line 298
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield io.undertow.conduits.RateLimitingStreamSinkConduit.scheduled:Z
         3: .line 299
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.next:Lorg/xnio/conduits/Conduit;
            checkcast org.xnio.conduits.StreamSinkConduit
            invokeinterface org.xnio.conduits.StreamSinkConduit.suspendWrites:()V
         4: .line 300
            aload 0 /* this */
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.nextSendTime:J
            invokestatic java.lang.System.currentTimeMillis:()J
            lsub
            lstore 1 /* millis */
        start local 1 // long millis
         5: .line 301
            aload 0 /* this */
            invokevirtual io.undertow.conduits.RateLimitingStreamSinkConduit.getWriteThread:()Lorg/xnio/XnioIoThread;
            new io.undertow.conduits.RateLimitingStreamSinkConduit$1
            dup
            aload 0 /* this */
            invokespecial io.undertow.conduits.RateLimitingStreamSinkConduit$1.<init>:(Lio/undertow/conduits/RateLimitingStreamSinkConduit;)V
         6: .line 309
            lload 1 /* millis */
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
         7: .line 301
            invokestatic io.undertow.util.WorkerUtils.executeAfter:(Lorg/xnio/XnioIoThread;Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lorg/xnio/XnioExecutor$Key;
            pop
         8: .line 310
            return
        end local 1 // long millis
        end local 0 // io.undertow.conduits.RateLimitingStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lio/undertow/conduits/RateLimitingStreamSinkConduit;
            5    9     1  millis  J

  static org.xnio.conduits.Conduit access$0(io.undertow.conduits.RateLimitingStreamSinkConduit);
    descriptor: (Lio/undertow/conduits/RateLimitingStreamSinkConduit;)Lorg/xnio/conduits/Conduit;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 43
            aload 0
            getfield io.undertow.conduits.RateLimitingStreamSinkConduit.next:Lorg/xnio/conduits/Conduit;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Lorg/xnio/conduits/AbstractStreamSinkConduit<Lorg/xnio/conduits/StreamSinkConduit;>;
SourceFile: "RateLimitingStreamSinkConduit.java"
NestMembers:
  io.undertow.conduits.RateLimitingStreamSinkConduit$1
InnerClasses:
  io.undertow.conduits.RateLimitingStreamSinkConduit$1
  public abstract Key = org.xnio.XnioExecutor$Key of org.xnio.XnioExecutor