class org.apache.cassandra.io.util.SimpleChunkReader extends org.apache.cassandra.io.util.AbstractReaderFileProxy implements org.apache.cassandra.io.util.ChunkReader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.io.util.SimpleChunkReader
super_class: org.apache.cassandra.io.util.AbstractReaderFileProxy
{
private final int bufferSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.compress.BufferType bufferType;
descriptor: Lorg/apache/cassandra/io/compress/BufferType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.apache.cassandra.io.util.ChannelProxy, long, org.apache.cassandra.io.compress.BufferType, int);
descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;JLorg/apache/cassandra/io/compress/BufferType;I)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
aload 1
lload 2
invokespecial org.apache.cassandra.io.util.AbstractReaderFileProxy.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;J)V
1: aload 0
iload 5
putfield org.apache.cassandra.io.util.SimpleChunkReader.bufferSize:I
2: aload 0
aload 4
putfield org.apache.cassandra.io.util.SimpleChunkReader.bufferType:Lorg/apache/cassandra/io/compress/BufferType;
3: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/SimpleChunkReader;
0 4 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
0 4 2 fileLength J
0 4 4 bufferType Lorg/apache/cassandra/io/compress/BufferType;
0 4 5 bufferSize I
MethodParameters:
Name Flags
channel
fileLength
bufferType
bufferSize
public void readChunk(long, java.nio.ByteBuffer);
descriptor: (JLjava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
getfield org.apache.cassandra.io.util.SimpleChunkReader.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
aload 3
lload 1
invokevirtual org.apache.cassandra.io.util.ChannelProxy.read:(Ljava/nio/ByteBuffer;J)I
pop
2: aload 3
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/SimpleChunkReader;
0 4 1 position J
0 4 3 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
position
buffer
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.SimpleChunkReader.bufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/SimpleChunkReader;
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.SimpleChunkReader.bufferType: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/SimpleChunkReader;
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$Unaligned
dup
aload 0
invokespecial org.apache.cassandra.io.util.BufferManagingRebufferer$Unaligned.<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/SimpleChunkReader;
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 "%s(%s - chunk length %d, data length %d)"
iconst_4
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.SimpleChunkReader.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.SimpleChunkReader.bufferSize:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
4: aload 0
invokevirtual org.apache.cassandra.io.util.SimpleChunkReader.fileLength:()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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/SimpleChunkReader;
}
SourceFile: "SimpleChunkReader.java"
InnerClasses:
public Unaligned = org.apache.cassandra.io.util.BufferManagingRebufferer$Unaligned of org.apache.cassandra.io.util.BufferManagingRebufferer