public class org.apache.cassandra.io.util.RandomAccessReader extends org.apache.cassandra.io.util.RebufferingInputStream implements org.apache.cassandra.io.util.FileDataInput
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.RandomAccessReader
super_class: org.apache.cassandra.io.util.RebufferingInputStream
{
public static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
private long markedPointer;
descriptor: J
flags: (0x0002) ACC_PRIVATE
final org.apache.cassandra.io.util.Rebufferer rebufferer;
descriptor: Lorg/apache/cassandra/io/util/Rebufferer;
flags: (0x0010) ACC_FINAL
private org.apache.cassandra.io.util.Rebufferer$BufferHolder bufferHolder;
descriptor: Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/io/util/RandomAccessReader;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.io.util.RandomAccessReader.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.cassandra.io.util.Rebufferer);
descriptor: (Lorg/apache/cassandra/io/util/Rebufferer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.apache.cassandra.io.util.Rebufferer.EMPTY:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.buffer:()Ljava/nio/ByteBuffer;
invokespecial org.apache.cassandra.io.util.RebufferingInputStream.<init>:(Ljava/nio/ByteBuffer;)V
1: aload 0
getstatic org.apache.cassandra.io.util.Rebufferer.EMPTY:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
putfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
2: aload 0
aload 1
putfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
0 4 1 rebufferer Lorg/apache/cassandra/io/util/Rebufferer;
MethodParameters:
Name Flags
rebufferer
public void reBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.isEOF:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.reBufferAt:(J)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
private void reBufferAt(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.release:()V
1: aload 0
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
lload 1
invokeinterface org.apache.cassandra.io.util.Rebufferer.rebuffer:(J)Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
putfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
2: aload 0
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.buffer:()Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
3: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
lload 1
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.offset:()J
lsub
invokestatic com.google.common.primitives.Ints.checkedCast:(J)I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: getstatic org.apache.cassandra.io.util.RandomAccessReader.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.order:()Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpeq 5
new java.lang.AssertionError
dup
ldc "Buffer must have BIG ENDIAN byte ordering"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
0 6 1 position J
MethodParameters:
Name Flags
position
public long getFilePointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
ifnonnull 2
1: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
invokeinterface org.apache.cassandra.io.util.Rebufferer.fileLength:()J
lreturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
protected long current();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.offset:()J
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
i2l
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getChannel:()Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public org.apache.cassandra.io.util.ChannelProxy getChannel();
descriptor: ()Lorg/apache/cassandra/io/util/ChannelProxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
invokeinterface org.apache.cassandra.io.util.Rebufferer.channel:()Lorg/apache/cassandra/io/util/ChannelProxy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.markedPointer:J
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.seek:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public long bytesPastMark();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.markedPointer:J
lsub
lstore 1
start local 1 1: getstatic org.apache.cassandra.io.util.RandomAccessReader.$assertionsDisabled:Z
ifne 2
lload 1
lconst_0
lcmp
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
1 3 1 bytes J
public org.apache.cassandra.io.util.DataPosition mark();
descriptor: ()Lorg/apache/cassandra/io/util/DataPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
putfield org.apache.cassandra.io.util.RandomAccessReader.markedPointer:J
1: new org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark
dup
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.markedPointer:J
invokespecial org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public void reset(org.apache.cassandra.io.util.DataPosition);
descriptor: (Lorg/apache/cassandra/io/util/DataPosition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.io.util.RandomAccessReader.$assertionsDisabled:Z
ifne 1
aload 1
instanceof org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark
getfield org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark.pointer:J
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.seek:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
0 3 1 mark Lorg/apache/cassandra/io/util/DataPosition;
MethodParameters:
Name Flags
mark
public long bytesPastMark(org.apache.cassandra.io.util.DataPosition);
descriptor: (Lorg/apache/cassandra/io/util/DataPosition;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.io.util.RandomAccessReader.$assertionsDisabled:Z
ifne 1
aload 1
instanceof org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
aload 1
checkcast org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark
getfield org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark.pointer:J
lsub
lstore 2
start local 2 2: getstatic org.apache.cassandra.io.util.RandomAccessReader.$assertionsDisabled:Z
ifne 3
lload 2
lconst_0
lcmp
ifge 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: long
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
0 4 1 mark Lorg/apache/cassandra/io/util/DataPosition;
2 4 2 bytes J
MethodParameters:
Name Flags
mark
public boolean isEOF();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.length:()J
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public long bytesRemaining();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.length:()J
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getFilePointer:()J
lsub
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.bytesRemaining:()J
invokestatic com.google.common.primitives.Ints.saturatedCast:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.release:()V
3: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
invokeinterface org.apache.cassandra.io.util.Rebufferer.closeReader:()V
4: aload 0
aconst_null
putfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
5: aload 0
aconst_null
putfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public void seek(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "new position should not be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "Attempted to seek in a closed RAR"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.bufferHolder:Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
invokeinterface org.apache.cassandra.io.util.Rebufferer$BufferHolder.offset:()J
lstore 3
start local 3 5: lload 1
lload 3
lcmp
iflt 8
lload 1
lload 3
aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
i2l
ladd
lcmp
ifge 8
6: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.buffer:Ljava/nio/ByteBuffer;
lload 1
lload 3
lsub
l2i
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: return
8: StackMap locals: long
StackMap stack:
lload 1
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.length:()J
lcmp
ifle 12
9: new java.lang.IllegalArgumentException
dup
ldc "Unable to seek to position %d in %s (%d bytes) in read-only mode"
iconst_3
anewarray java.lang.Object
dup
iconst_0
10: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getPath:()Ljava/lang/String;
aastore
dup
iconst_2
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.length:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
11: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.reBufferAt:(J)V
13: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
0 14 1 newPosition J
5 14 3 bufferOffset J
MethodParameters:
Name Flags
newPosition
public final java.lang.String readLine();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 80
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: ldc -1
lstore 3
start local 3 3: StackMap locals: java.lang.StringBuilder int long
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.read:()I
istore 5
start local 5 4: iload 5
lookupswitch { // 3
-1: 5
10: 14
13: 8
default: 15
}
5: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifeq 6
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 7
StackMap locals:
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: java.lang.String
7: areturn
8: StackMap locals:
StackMap stack:
iload 2
ifeq 11
9: aload 0
lload 3
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.seek:(J)V
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
iconst_1
istore 2
12: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getPosition:()J
lstore 3
13: goto 3
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
15: StackMap locals:
StackMap stack:
iload 2
ifeq 18
16: aload 0
lload 3
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.seek:(J)V
17: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
18: StackMap locals:
StackMap stack:
aload 1
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 19: goto 3
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
1 20 1 line Ljava/lang/StringBuilder;
2 20 2 foundTerminator Z
3 20 3 unreadPosition J
4 19 5 nextByte I
Exceptions:
throws java.io.IOException
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
invokeinterface org.apache.cassandra.io.util.Rebufferer.fileLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public long getPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.current:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public double getCrcCheckChance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.RandomAccessReader.rebufferer:Lorg/apache/cassandra/io/util/Rebufferer;
invokeinterface org.apache.cassandra.io.util.Rebufferer.getCrcCheckChance:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/RandomAccessReader;
public static org.apache.cassandra.io.util.RandomAccessReader open(java.io.File);
descriptor: (Ljava/io/File;)Lorg/apache/cassandra/io/util/RandomAccessReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: new org.apache.cassandra.io.util.ChannelProxy
dup
aload 0
invokespecial org.apache.cassandra.io.util.ChannelProxy.<init>:(Ljava/io/File;)V
astore 1
start local 1 1: new org.apache.cassandra.io.util.SimpleChunkReader
dup
aload 1
ldc -1
getstatic org.apache.cassandra.io.compress.BufferType.OFF_HEAP:Lorg/apache/cassandra/io/compress/BufferType;
sipush 4096
invokespecial org.apache.cassandra.io.util.SimpleChunkReader.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;JLorg/apache/cassandra/io/compress/BufferType;I)V
astore 2
start local 2 2: aload 2
invokeinterface org.apache.cassandra.io.util.ChunkReader.instantiateRebufferer:()Lorg/apache/cassandra/io/util/Rebufferer;
astore 3
start local 3 3: new org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel
dup
aload 3
invokespecial org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel.<init>:(Lorg/apache/cassandra/io/util/Rebufferer;)V
4: areturn
end local 3 end local 2 5: StackMap locals: java.io.File org.apache.cassandra.io.util.ChannelProxy
StackMap stack: java.lang.Throwable
astore 2
start local 2 6: aload 1
invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:()V
7: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 file Ljava/io/File;
1 8 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
2 5 2 reader Lorg/apache/cassandra/io/util/ChunkReader;
3 5 3 rebufferer Lorg/apache/cassandra/io/util/Rebufferer;
6 8 2 t Ljava/lang/Throwable;
Exception table:
from to target type
1 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
file
}
SourceFile: "RandomAccessReader.java"
NestMembers:
org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel
InnerClasses:
private BufferedRandomAccessFileMark = org.apache.cassandra.io.util.RandomAccessReader$BufferedRandomAccessFileMark of org.apache.cassandra.io.util.RandomAccessReader
RandomAccessReaderWithOwnChannel = org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel of org.apache.cassandra.io.util.RandomAccessReader
public abstract BufferHolder = org.apache.cassandra.io.util.Rebufferer$BufferHolder of org.apache.cassandra.io.util.Rebufferer