public final class org.apache.cassandra.io.util.ChecksummedRandomAccessReader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.io.util.ChecksummedRandomAccessReader
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.cassandra.io.util.ChecksummedRandomAccessReader this
0: .line 25
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.cassandra.io.util.ChecksummedRandomAccessReader this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/ChecksummedRandomAccessReader;
public static org.apache.cassandra.io.util.RandomAccessReader open(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Lorg/apache/cassandra/io/util/RandomAccessReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 // java.io.File file
start local 1 // java.io.File crcFile
0: .line 30
new org.apache.cassandra.io.util.ChannelProxy
dup
aload 0 /* file */
invokespecial org.apache.cassandra.io.util.ChannelProxy.<init>:(Ljava/io/File;)V
astore 2 /* channel */
start local 2 // org.apache.cassandra.io.util.ChannelProxy channel
1: .line 33
new org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator
dup
getstatic org.apache.cassandra.utils.ChecksumType.CRC32:Lorg/apache/cassandra/utils/ChecksumType;
2: .line 34
aload 1 /* crcFile */
invokestatic org.apache.cassandra.io.util.RandomAccessReader.open:(Ljava/io/File;)Lorg/apache/cassandra/io/util/RandomAccessReader;
3: .line 35
aload 0 /* file */
invokevirtual java.io.File.getPath:()Ljava/lang/String;
4: .line 33
invokespecial org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.<init>:(Lorg/apache/cassandra/utils/ChecksumType;Lorg/apache/cassandra/io/util/RandomAccessReader;Ljava/lang/String;)V
astore 3 /* validator */
start local 3 // org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator validator
5: .line 36
new org.apache.cassandra.io.util.ChecksummedRebufferer
dup
aload 2 /* channel */
aload 3 /* validator */
invokespecial org.apache.cassandra.io.util.ChecksummedRebufferer.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;)V
astore 4 /* rebufferer */
start local 4 // org.apache.cassandra.io.util.Rebufferer rebufferer
6: .line 37
new org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel
dup
aload 4 /* rebufferer */
invokespecial org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel.<init>:(Lorg/apache/cassandra/io/util/Rebufferer;)V
7: areturn
end local 4 // org.apache.cassandra.io.util.Rebufferer rebufferer
end local 3 // org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator validator
8: .line 39
StackMap locals: java.io.File java.io.File org.apache.cassandra.io.util.ChannelProxy
StackMap stack: java.lang.Throwable
astore 3 /* t */
start local 3 // java.lang.Throwable t
9: .line 41
aload 2 /* channel */
invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:()V
10: .line 42
aload 3 /* t */
athrow
end local 3 // java.lang.Throwable t
end local 2 // org.apache.cassandra.io.util.ChannelProxy channel
end local 1 // java.io.File crcFile
end local 0 // java.io.File file
LocalVariableTable:
Start End Slot Name Signature
0 11 0 file Ljava/io/File;
0 11 1 crcFile Ljava/io/File;
1 11 2 channel Lorg/apache/cassandra/io/util/ChannelProxy;
5 8 3 validator Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;
6 8 4 rebufferer Lorg/apache/cassandra/io/util/Rebufferer;
9 11 3 t Ljava/lang/Throwable;
Exception table:
from to target type
1 7 8 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
crcFile
}
SourceFile: "ChecksummedRandomAccessReader.java"
InnerClasses:
public ChecksumValidator = org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator of org.apache.cassandra.io.util.DataIntegrityMetadata
RandomAccessReaderWithOwnChannel = org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithOwnChannel of org.apache.cassandra.io.util.RandomAccessReader