public abstract class org.apache.cassandra.io.util.CompressedChunkReader extends org.apache.cassandra.io.util.AbstractReaderFileProxy implements org.apache.cassandra.io.util.ChunkReader
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.io.util.CompressedChunkReader
super_class: org.apache.cassandra.io.util.AbstractReaderFileProxy
{
final org.apache.cassandra.io.compress.CompressionMetadata metadata;
descriptor: Lorg/apache/cassandra/io/compress/CompressionMetadata;
flags: (0x0010) ACC_FINAL
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/CompressedChunkReader;
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.CompressedChunkReader.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.cassandra.io.util.ChannelProxy, org.apache.cassandra.io.compress.CompressionMetadata);
descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/compress/CompressionMetadata;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getfield org.apache.cassandra.io.compress.CompressionMetadata.dataLength:J
invokespecial org.apache.cassandra.io.util.AbstractReaderFileProxy.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;J)V
1: aload 0
aload 2
putfield org.apache.cassandra.io.util.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
2: getstatic org.apache.cassandra.io.util.CompressedChunkReader.$assertionsDisabled:Z
ifne 3
aload 2
invokevirtual org.apache.cassandra.io.compress.CompressionMetadata.chunkLength:()I
invokestatic java.lang.Integer.bitCount:(I)I
iconst_1
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.cassandra.io.util.CompressedChunkReader org.apache.cassandra.io.util.ChannelProxy org.apache.cassandra.io.compress.CompressionMetadata
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
0 4 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
0 4 2 metadata Lorg/apache/cassandra/io/compress/CompressionMetadata;
MethodParameters:
Name Flags
channel
metadata
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.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
getfield org.apache.cassandra.io.compress.CompressionMetadata.parameters:Lorg/apache/cassandra/schema/CompressionParams;
invokevirtual org.apache.cassandra.schema.CompressionParams.getCrcCheckChance:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
protected final boolean shouldCheckCrc();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.CompressedChunkReader.getCrcCheckChance:()D
dconst_1
dcmpl
ifge 1
aload 0
invokevirtual org.apache.cassandra.io.util.CompressedChunkReader.getCrcCheckChance:()D
invokestatic java.util.concurrent.ThreadLocalRandom.current:()Ljava/util/concurrent/ThreadLocalRandom;
invokevirtual java.util.concurrent.ThreadLocalRandom.nextDouble:()D
dcmpl
ifgt 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "CompressedChunkReader.%s(%s - %s, chunk length %d, data length %d)"
iconst_5
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield org.apache.cassandra.io.util.CompressedChunkReader.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
aastore
dup
iconst_2
3: aload 0
getfield org.apache.cassandra.io.util.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokevirtual org.apache.cassandra.io.compress.CompressionMetadata.compressor:()Lorg/apache/cassandra/io/compress/ICompressor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_3
4: aload 0
getfield org.apache.cassandra.io.util.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokevirtual org.apache.cassandra.io.compress.CompressionMetadata.chunkLength:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
5: aload 0
getfield org.apache.cassandra.io.util.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
getfield org.apache.cassandra.io.compress.CompressionMetadata.dataLength:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
public int chunkSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokevirtual org.apache.cassandra.io.compress.CompressionMetadata.chunkLength:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
public org.apache.cassandra.io.compress.BufferType preferredBufferType();
descriptor: ()Lorg/apache/cassandra/io/compress/BufferType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.CompressedChunkReader.metadata:Lorg/apache/cassandra/io/compress/CompressionMetadata;
invokevirtual org.apache.cassandra.io.compress.CompressionMetadata.compressor:()Lorg/apache/cassandra/io/compress/ICompressor;
invokeinterface org.apache.cassandra.io.compress.ICompressor.preferredBufferType:()Lorg/apache/cassandra/io/compress/BufferType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
public org.apache.cassandra.io.util.Rebufferer instantiateRebufferer();
descriptor: ()Lorg/apache/cassandra/io/util/Rebufferer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.io.util.BufferManagingRebufferer$Aligned
dup
aload 0
invokespecial org.apache.cassandra.io.util.BufferManagingRebufferer$Aligned.<init>:(Lorg/apache/cassandra/io/util/ChunkReader;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/CompressedChunkReader;
}
SourceFile: "CompressedChunkReader.java"
NestMembers:
org.apache.cassandra.io.util.CompressedChunkReader$Mmap org.apache.cassandra.io.util.CompressedChunkReader$Standard
InnerClasses:
public Aligned = org.apache.cassandra.io.util.BufferManagingRebufferer$Aligned of org.apache.cassandra.io.util.BufferManagingRebufferer
public Mmap = org.apache.cassandra.io.util.CompressedChunkReader$Mmap of org.apache.cassandra.io.util.CompressedChunkReader
public Standard = org.apache.cassandra.io.util.CompressedChunkReader$Standard of org.apache.cassandra.io.util.CompressedChunkReader