class org.apache.cassandra.hints.HintsReader implements java.lang.AutoCloseable, java.lang.Iterable<org.apache.cassandra.hints.HintsReader$Page>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.hints.HintsReader
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int PAGE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 524288
private final org.apache.cassandra.hints.HintsDescriptor descriptor;
descriptor: Lorg/apache/cassandra/hints/HintsDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.hints.ChecksummedDataInput input;
descriptor: Lorg/apache/cassandra/hints/ChecksummedDataInput;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.google.common.util.concurrent.RateLimiter rateLimiter;
descriptor: Lcom/google/common/util/concurrent/RateLimiter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/hints/HintsReader;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.hints.HintsReader.logger:Lorg/slf4j/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.cassandra.hints.HintsDescriptor, java.io.File, org.apache.cassandra.hints.ChecksummedDataInput, com.google.common.util.concurrent.RateLimiter);
descriptor: (Lorg/apache/cassandra/hints/HintsDescriptor;Ljava/io/File;Lorg/apache/cassandra/hints/ChecksummedDataInput;Lcom/google/common/util/concurrent/RateLimiter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
2: aload 0
aload 2
putfield org.apache.cassandra.hints.HintsReader.file:Ljava/io/File;
3: aload 0
aload 3
putfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
4: aload 0
aload 4
putfield org.apache.cassandra.hints.HintsReader.rateLimiter:Lcom/google/common/util/concurrent/RateLimiter;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/hints/HintsReader;
0 6 1 descriptor Lorg/apache/cassandra/hints/HintsDescriptor;
0 6 2 file Ljava/io/File;
0 6 3 reader Lorg/apache/cassandra/hints/ChecksummedDataInput;
0 6 4 rateLimiter Lcom/google/common/util/concurrent/RateLimiter;
MethodParameters:
Name Flags
descriptor
file
reader
rateLimiter
static org.apache.cassandra.hints.HintsReader open(java.io.File, com.google.common.util.concurrent.RateLimiter);
descriptor: (Ljava/io/File;Lcom/google/common/util/concurrent/RateLimiter;)Lorg/apache/cassandra/hints/HintsReader;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.hints.ChecksummedDataInput.open:(Ljava/io/File;)Lorg/apache/cassandra/hints/ChecksummedDataInput;
astore 2
start local 2 1: aload 2
invokestatic org.apache.cassandra.hints.HintsDescriptor.deserialize:(Ljava/io/DataInput;)Lorg/apache/cassandra/hints/HintsDescriptor;
astore 3
start local 3 2: aload 3
invokevirtual org.apache.cassandra.hints.HintsDescriptor.isCompressed:()Z
ifeq 5
3: aload 2
aload 3
invokevirtual org.apache.cassandra.hints.HintsDescriptor.createCompressor:()Lorg/apache/cassandra/io/compress/ICompressor;
invokestatic org.apache.cassandra.hints.CompressedChecksummedDataInput.upgradeInput:(Lorg/apache/cassandra/hints/ChecksummedDataInput;Lorg/apache/cassandra/io/compress/ICompressor;)Lorg/apache/cassandra/hints/ChecksummedDataInput;
astore 2
4: goto 7
5: StackMap locals: org.apache.cassandra.hints.ChecksummedDataInput org.apache.cassandra.hints.HintsDescriptor
StackMap stack:
aload 3
invokevirtual org.apache.cassandra.hints.HintsDescriptor.isEncrypted:()Z
ifeq 7
6: aload 2
aload 3
invokevirtual org.apache.cassandra.hints.HintsDescriptor.getCipher:()Ljavax/crypto/Cipher;
aload 3
invokevirtual org.apache.cassandra.hints.HintsDescriptor.createCompressor:()Lorg/apache/cassandra/io/compress/ICompressor;
invokestatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.upgradeInput:(Lorg/apache/cassandra/hints/ChecksummedDataInput;Ljavax/crypto/Cipher;Lorg/apache/cassandra/io/compress/ICompressor;)Lorg/apache/cassandra/hints/ChecksummedDataInput;
astore 2
7: StackMap locals:
StackMap stack:
new org.apache.cassandra.hints.HintsReader
dup
aload 3
aload 0
aload 2
aload 1
invokespecial org.apache.cassandra.hints.HintsReader.<init>:(Lorg/apache/cassandra/hints/HintsDescriptor;Ljava/io/File;Lorg/apache/cassandra/hints/ChecksummedDataInput;Lcom/google/common/util/concurrent/RateLimiter;)V
8: areturn
end local 3 9: StackMap locals: java.io.File com.google.common.util.concurrent.RateLimiter org.apache.cassandra.hints.ChecksummedDataInput
StackMap stack: java.io.IOException
astore 3
start local 3 10: aload 2
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.close:()V
11: new org.apache.cassandra.io.FSReadError
dup
aload 3
aload 0
invokespecial org.apache.cassandra.io.FSReadError.<init>:(Ljava/lang/Throwable;Ljava/io/File;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 file Ljava/io/File;
0 12 1 rateLimiter Lcom/google/common/util/concurrent/RateLimiter;
1 12 2 reader Lorg/apache/cassandra/hints/ChecksummedDataInput;
2 9 3 descriptor Lorg/apache/cassandra/hints/HintsDescriptor;
10 12 3 e Ljava/io/IOException;
Exception table:
from to target type
1 8 9 Class java.io.IOException
MethodParameters:
Name Flags
file
rateLimiter
static org.apache.cassandra.hints.HintsReader open(java.io.File);
descriptor: (Ljava/io/File;)Lorg/apache/cassandra/hints/HintsReader;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.apache.cassandra.hints.HintsReader.open:(Ljava/io/File;Lcom/google/common/util/concurrent/RateLimiter;)Lorg/apache/cassandra/hints/HintsReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/hints/HintsReader;
public org.apache.cassandra.hints.HintsDescriptor descriptor();
descriptor: ()Lorg/apache/cassandra/hints/HintsDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/HintsReader;
void seek(org.apache.cassandra.hints.InputPosition);
descriptor: (Lorg/apache/cassandra/hints/InputPosition;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
aload 1
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.seek:(Lorg/apache/cassandra/hints/InputPosition;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/hints/HintsReader;
0 2 1 newPosition Lorg/apache/cassandra/hints/InputPosition;
MethodParameters:
Name Flags
newPosition
public java.util.Iterator<org.apache.cassandra.hints.HintsReader$Page> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.hints.HintsReader$PagesIterator
dup
aload 0
invokespecial org.apache.cassandra.hints.HintsReader$PagesIterator.<init>:(Lorg/apache/cassandra/hints/HintsReader;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/HintsReader;
Signature: ()Ljava/util/Iterator<Lorg/apache/cassandra/hints/HintsReader$Page;>;
public org.apache.cassandra.hints.ChecksummedDataInput getInput();
descriptor: ()Lorg/apache/cassandra/hints/ChecksummedDataInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/HintsReader;
}
Signature: Ljava/lang/Object;Ljava/lang/AutoCloseable;Ljava/lang/Iterable<Lorg/apache/cassandra/hints/HintsReader$Page;>;
SourceFile: "HintsReader.java"
NestMembers:
org.apache.cassandra.hints.HintsReader$BuffersIterator org.apache.cassandra.hints.HintsReader$HintsIterator org.apache.cassandra.hints.HintsReader$Page org.apache.cassandra.hints.HintsReader$PagesIterator
InnerClasses:
final BuffersIterator = org.apache.cassandra.hints.HintsReader$BuffersIterator of org.apache.cassandra.hints.HintsReader
final HintsIterator = org.apache.cassandra.hints.HintsReader$HintsIterator of org.apache.cassandra.hints.HintsReader
final Page = org.apache.cassandra.hints.HintsReader$Page of org.apache.cassandra.hints.HintsReader
final PagesIterator = org.apache.cassandra.hints.HintsReader$PagesIterator of org.apache.cassandra.hints.HintsReader