class org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter implements org.apache.cassandra.db.commitlog.CommitLogSegmentReader$Segmenter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter
super_class: java.lang.Object
{
private final org.apache.cassandra.io.compress.ICompressor compressor;
descriptor: Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.util.RandomAccessReader reader;
descriptor: Lorg/apache/cassandra/io/util/RandomAccessReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte[] compressedBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] uncompressedBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private long nextLogicalStart;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.cassandra.db.commitlog.CommitLogDescriptor, org.apache.cassandra.io.util.RandomAccessReader);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLogDescriptor;Lorg/apache/cassandra/io/util/RandomAccessReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.cassandra.db.commitlog.CommitLogDescriptor.compression:Lorg/apache/cassandra/config/ParameterizedClass;
invokestatic org.apache.cassandra.schema.CompressionParams.createCompressor:(Lorg/apache/cassandra/config/ParameterizedClass;)Lorg/apache/cassandra/io/compress/ICompressor;
aload 2
invokespecial org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Lorg/apache/cassandra/io/util/RandomAccessReader;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentReader$CompressedSegmenter;
0 2 1 desc Lorg/apache/cassandra/db/commitlog/CommitLogDescriptor;
0 2 2 reader Lorg/apache/cassandra/io/util/RandomAccessReader;
MethodParameters:
Name Flags
desc
reader
public void <init>(org.apache.cassandra.io.compress.ICompressor, org.apache.cassandra.io.util.RandomAccessReader);
descriptor: (Lorg/apache/cassandra/io/compress/ICompressor;Lorg/apache/cassandra/io/util/RandomAccessReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
2: aload 0
aload 2
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
3: aload 0
iconst_0
newarray 8
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressedBuffer:[B
4: aload 0
iconst_0
newarray 8
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.uncompressedBuffer:[B
5: aload 0
aload 2
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getFilePointer:()J
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentReader$CompressedSegmenter;
0 7 1 compressor Lorg/apache/cassandra/io/compress/ICompressor;
0 7 2 reader Lorg/apache/cassandra/io/util/RandomAccessReader;
MethodParameters:
Name Flags
compressor
reader
public org.apache.cassandra.db.commitlog.CommitLogSegmentReader$SyncSegment nextSegment(int, int);
descriptor: (II)Lorg/apache/cassandra/db/commitlog/CommitLogSegmentReader$SyncSegment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
iload 1
i2l
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.seek:(J)V
1: aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.readInt:()I
istore 3
start local 3 2: iload 2
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getPosition:()J
l2i
isub
istore 4
start local 4 3: iload 4
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressedBuffer:[B
arraylength
if_icmple 5
4: aload 0
ldc 1.2
iload 4
i2d
dmul
d2i
newarray 8
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressedBuffer:[B
5: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressedBuffer:[B
iconst_0
iload 4
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.readFully:([BII)V
6: iload 3
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.uncompressedBuffer:[B
arraylength
if_icmple 8
7: aload 0
ldc 1.2
iload 3
i2d
dmul
d2i
newarray 8
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.uncompressedBuffer:[B
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.compressedBuffer:[B
iconst_0
iload 4
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.uncompressedBuffer:[B
iconst_0
invokeinterface org.apache.cassandra.io.compress.ICompressor.uncompress:([BII[BI)I
istore 5
start local 5 9: aload 0
dup
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
ldc 8
ladd
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
10: new org.apache.cassandra.io.util.FileSegmentInputStream
dup
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.uncompressedBuffer:[B
iconst_0
iload 5
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getPath:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
invokespecial org.apache.cassandra.io.util.FileSegmentInputStream.<init>:(Ljava/nio/ByteBuffer;Ljava/lang/String;J)V
astore 6
start local 6 11: aload 0
dup
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
iload 3
i2l
ladd
putfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
12: new org.apache.cassandra.db.commitlog.CommitLogSegmentReader$SyncSegment
dup
aload 6
iload 1
iload 2
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.nextLogicalStart:J
l2i
aload 0
iload 2
aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.reader:Lorg/apache/cassandra/io/util/RandomAccessReader;
invokevirtual org.apache.cassandra.io.util.RandomAccessReader.length:()J
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter.tolerateSegmentErrors:(IJ)Z
invokespecial org.apache.cassandra.db.commitlog.CommitLogSegmentReader$SyncSegment.<init>:(Lorg/apache/cassandra/io/util/FileDataInput;IIIZ)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentReader$CompressedSegmenter;
0 13 1 startPosition I
0 13 2 nextSectionStartPosition I
2 13 3 uncompressedLength I
3 13 4 compressedLength I
9 13 5 count I
11 13 6 input Lorg/apache/cassandra/io/util/FileDataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
startPosition final
nextSectionStartPosition final
}
SourceFile: "CommitLogSegmentReader.java"
NestHost: org.apache.cassandra.db.commitlog.CommitLogSegmentReader
InnerClasses:
CompressedSegmenter = org.apache.cassandra.db.commitlog.CommitLogSegmentReader$CompressedSegmenter of org.apache.cassandra.db.commitlog.CommitLogSegmentReader
abstract Segmenter = org.apache.cassandra.db.commitlog.CommitLogSegmentReader$Segmenter of org.apache.cassandra.db.commitlog.CommitLogSegmentReader
public SyncSegment = org.apache.cassandra.db.commitlog.CommitLogSegmentReader$SyncSegment of org.apache.cassandra.db.commitlog.CommitLogSegmentReader