public class org.apache.cassandra.io.util.FileSegmentInputStream extends org.apache.cassandra.io.util.DataInputBuffer 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.FileSegmentInputStream
super_class: org.apache.cassandra.io.util.DataInputBuffer
{
private final java.lang.String filePath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long offset;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.nio.ByteBuffer, java.lang.String, long);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iconst_0
invokespecial org.apache.cassandra.io.util.DataInputBuffer.<init>:(Ljava/nio/ByteBuffer;Z)V
1: aload 0
aload 2
putfield org.apache.cassandra.io.util.FileSegmentInputStream.filePath:Ljava/lang/String;
2: aload 0
lload 3
putfield org.apache.cassandra.io.util.FileSegmentInputStream.offset:J
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
0 4 1 buffer Ljava/nio/ByteBuffer;
0 4 2 filePath Ljava/lang/String;
0 4 3 offset J
MethodParameters:
Name Flags
buffer
filePath
offset
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
getfield org.apache.cassandra.io.util.FileSegmentInputStream.filePath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
private long size();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.offset:J
aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
i2l
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
public boolean isEOF();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
public long bytesRemaining();
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.FileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
public void seek(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
iflt 1
lload 1
aload 0
invokevirtual org.apache.cassandra.io.util.FileSegmentInputStream.size:()J
lcmp
ifle 6
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Unable to seek to position %d in %s (%d bytes) in partial mode"
iconst_3
anewarray java.lang.Object
dup
iconst_0
2: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
3: aload 0
invokevirtual org.apache.cassandra.io.util.FileSegmentInputStream.getPath:()Ljava/lang/String;
aastore
dup
iconst_2
4: aload 0
invokevirtual org.apache.cassandra.io.util.FileSegmentInputStream.size:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
lload 1
aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.offset:J
lsub
l2i
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
0 8 1 pos J
MethodParameters:
Name Flags
pos
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
public org.apache.cassandra.io.util.DataPosition mark();
descriptor: ()Lorg/apache/cassandra/io/util/DataPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
public void reset(org.apache.cassandra.io.util.DataPosition);
descriptor: (Lorg/apache/cassandra/io/util/DataPosition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
0 1 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=2, locals=2, args_size=2
start local 0 start local 1 0: lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FileSegmentInputStream;
0 1 1 mark Lorg/apache/cassandra/io/util/DataPosition;
MethodParameters:
Name Flags
mark
public long getFilePointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.offset:J
aload 0
getfield org.apache.cassandra.io.util.FileSegmentInputStream.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/FileSegmentInputStream;
}
SourceFile: "FileSegmentInputStream.java"