public final class org.apache.lucene.store.RateLimitedIndexOutput extends org.apache.lucene.store.IndexOutput
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.store.RateLimitedIndexOutput
  super_class: org.apache.lucene.store.IndexOutput
{
  private final org.apache.lucene.store.IndexOutput delegate;
    descriptor: Lorg/apache/lucene/store/IndexOutput;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.apache.lucene.store.RateLimiter rateLimiter;
    descriptor: Lorg/apache/lucene/store/RateLimiter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  public void <init>(org.apache.lucene.store.RateLimiter, org.apache.lucene.store.IndexOutput);
    descriptor: (Lorg/apache/lucene/store/RateLimiter;Lorg/apache/lucene/store/IndexOutput;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
        start local 1 // org.apache.lucene.store.RateLimiter rateLimiter
        start local 2 // org.apache.lucene.store.IndexOutput delegate
         0: .line 41
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "RateLimitedIndexOutput("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* delegate */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* delegate */
            invokevirtual org.apache.lucene.store.IndexOutput.getName:()Ljava/lang/String;
            invokespecial org.apache.lucene.store.IndexOutput.<init>:(Ljava/lang/String;Ljava/lang/String;)V
         1: .line 42
            aload 0 /* this */
            aload 2 /* delegate */
            putfield org.apache.lucene.store.RateLimitedIndexOutput.delegate:Lorg/apache/lucene/store/IndexOutput;
         2: .line 43
            aload 0 /* this */
            aload 1 /* rateLimiter */
            putfield org.apache.lucene.store.RateLimitedIndexOutput.rateLimiter:Lorg/apache/lucene/store/RateLimiter;
         3: .line 44
            aload 0 /* this */
            aload 1 /* rateLimiter */
            invokevirtual org.apache.lucene.store.RateLimiter.getMinPauseCheckBytes:()J
            putfield org.apache.lucene.store.RateLimitedIndexOutput.currentMinPauseCheckBytes:J
         4: .line 45
            return
        end local 2 // org.apache.lucene.store.IndexOutput delegate
        end local 1 // org.apache.lucene.store.RateLimiter rateLimiter
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lorg/apache/lucene/store/RateLimitedIndexOutput;
            0    5     1  rateLimiter  Lorg/apache/lucene/store/RateLimiter;
            0    5     2     delegate  Lorg/apache/lucene/store/IndexOutput;
    MethodParameters:
             Name  Flags
      rateLimiter  final
      delegate     final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
         0: .line 49
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.delegate:Lorg/apache/lucene/store/IndexOutput;
            invokevirtual org.apache.lucene.store.IndexOutput.close:()V
         1: .line 50
            return
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/store/RateLimitedIndexOutput;
    Exceptions:
      throws java.io.IOException

  public long getFilePointer();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
         0: .line 54
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.delegate:Lorg/apache/lucene/store/IndexOutput;
            invokevirtual org.apache.lucene.store.IndexOutput.getFilePointer:()J
            lreturn
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/store/RateLimitedIndexOutput;

  public long getChecksum();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
         0: .line 59
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.delegate:Lorg/apache/lucene/store/IndexOutput;
            invokevirtual org.apache.lucene.store.IndexOutput.getChecksum:()J
            lreturn
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/store/RateLimitedIndexOutput;
    Exceptions:
      throws java.io.IOException

  public void writeByte(byte);
    descriptor: (B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
        start local 1 // byte b
         0: .line 64
            aload 0 /* this */
            dup
            getfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
            lconst_1
            ladd
            putfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
         1: .line 65
            aload 0 /* this */
            invokevirtual org.apache.lucene.store.RateLimitedIndexOutput.checkRate:()V
         2: .line 66
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.delegate:Lorg/apache/lucene/store/IndexOutput;
            iload 1 /* b */
            invokevirtual org.apache.lucene.store.IndexOutput.writeByte:(B)V
         3: .line 67
            return
        end local 1 // byte b
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/lucene/store/RateLimitedIndexOutput;
            0    4     1     b  B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void writeBytes(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
        start local 1 // byte[] b
        start local 2 // int offset
        start local 3 // int length
         0: .line 71
            aload 0 /* this */
            dup
            getfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
            iload 3 /* length */
            i2l
            ladd
            putfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
         1: .line 72
            aload 0 /* this */
            invokevirtual org.apache.lucene.store.RateLimitedIndexOutput.checkRate:()V
         2: .line 73
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.delegate:Lorg/apache/lucene/store/IndexOutput;
            aload 1 /* b */
            iload 2 /* offset */
            iload 3 /* length */
            invokevirtual org.apache.lucene.store.IndexOutput.writeBytes:([BII)V
         3: .line 74
            return
        end local 3 // int length
        end local 2 // int offset
        end local 1 // byte[] b
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/apache/lucene/store/RateLimitedIndexOutput;
            0    4     1       b  [B
            0    4     2  offset  I
            0    4     3  length  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      b       
      offset  
      length  

  private void checkRate();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
         0: .line 77
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.currentMinPauseCheckBytes:J
            lcmp
            ifle 4
         1: .line 78
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.rateLimiter:Lorg/apache/lucene/store/RateLimiter;
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
            invokevirtual org.apache.lucene.store.RateLimiter.pause:(J)J
            pop2
         2: .line 79
            aload 0 /* this */
            lconst_0
            putfield org.apache.lucene.store.RateLimitedIndexOutput.bytesSinceLastPause:J
         3: .line 80
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.lucene.store.RateLimitedIndexOutput.rateLimiter:Lorg/apache/lucene/store/RateLimiter;
            invokevirtual org.apache.lucene.store.RateLimiter.getMinPauseCheckBytes:()J
            putfield org.apache.lucene.store.RateLimitedIndexOutput.currentMinPauseCheckBytes:J
         4: .line 82
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.lucene.store.RateLimitedIndexOutput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/lucene/store/RateLimitedIndexOutput;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "RateLimitedIndexOutput.java"