public class org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream extends org.apache.cassandra.io.util.FileSegmentInputStream implements org.apache.cassandra.io.util.FileDataInput, java.io.DataInput
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream
super_class: org.apache.cassandra.io.util.FileSegmentInputStream
{
private final long segmentOffset;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int expectedLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream$ChunkProvider chunkProvider;
descriptor: Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream$ChunkProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int totalChunkOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, long, int, int, org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream$ChunkProvider);
descriptor: (Ljava/lang/String;JIILorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream$ChunkProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 0
aload 6
invokeinterface org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream$ChunkProvider.nextChunk:()Ljava/nio/ByteBuffer;
aload 1
iload 4
i2l
invokespecial org.apache.cassandra.io.util.FileSegmentInputStream.<init>:(Ljava/nio/ByteBuffer;Ljava/lang/String;J)V
1: aload 0
lload 2
putfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.segmentOffset:J
2: aload 0
iload 5
putfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.expectedLength:I
3: aload 0
aload 6
putfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.chunkProvider:Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream$ChunkProvider;
4: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream;
0 5 1 filePath Ljava/lang/String;
0 5 2 segmentOffset J
0 5 4 position I
0 5 5 expectedLength I
0 5 6 chunkProvider Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream$ChunkProvider;
MethodParameters:
Name Flags
filePath
segmentOffset
position
expectedLength
chunkProvider
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.db.commitlog.EncryptedFileSegmentInputStream.segmentOffset:J
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
i2l
ladd
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.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/db/commitlog/EncryptedFileSegmentInputStream;
public boolean isEOF();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.expectedLength:I
if_icmplt 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/db/commitlog/EncryptedFileSegmentInputStream;
public long bytesRemaining();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.expectedLength:I
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iadd
isub
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream;
public void seek(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
i2l
lsub
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.segmentOffset:J
lsub
lstore 3
start local 3 1: goto 5
2: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
invokevirtual org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.reBuffer:()V
4: lload 1
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
i2l
lsub
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.segmentOffset:J
lsub
lstore 3
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
ifnull 6
lload 3
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
i2l
lcmp
ifgt 2
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
ifnull 7
lload 3
lconst_0
lcmp
iflt 7
lload 3
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
i2l
lcmp
ifle 14
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
8: ldc "Unable to seek to position %d in %s (%d bytes) in partial mode"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
10: aload 0
invokevirtual org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.getPath:()Ljava/lang/String;
aastore
dup
iconst_2
11: aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.segmentOffset:J
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.expectedLength:I
i2l
ladd
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
lload 3
l2i
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
15: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream;
0 16 1 position J
1 16 3 bufferPos J
MethodParameters:
Name Flags
position
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: 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/db/commitlog/EncryptedFileSegmentInputStream;
0 1 1 mark Lorg/apache/cassandra/io/util/DataPosition;
MethodParameters:
Name Flags
mark
public void reBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iadd
putfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.totalChunkOffset:I
1: aload 0
aload 0
getfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.chunkProvider:Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream$ChunkProvider;
invokeinterface org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream$ChunkProvider.nextChunk:()Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream.buffer:Ljava/nio/ByteBuffer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/commitlog/EncryptedFileSegmentInputStream;
}
SourceFile: "EncryptedFileSegmentInputStream.java"
NestMembers:
org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream$ChunkProvider
InnerClasses:
public abstract ChunkProvider = org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream$ChunkProvider of org.apache.cassandra.db.commitlog.EncryptedFileSegmentInputStream