final class org.apache.cassandra.hints.HintsReader$HintsIterator extends org.apache.cassandra.utils.AbstractIterator<org.apache.cassandra.hints.Hint>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.hints.HintsReader$HintsIterator
super_class: org.apache.cassandra.utils.AbstractIterator
{
private final org.apache.cassandra.hints.InputPosition offset;
descriptor: Lorg/apache/cassandra/hints/InputPosition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.cassandra.hints.HintsReader this$0;
descriptor: Lorg/apache/cassandra/hints/HintsReader;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.hints.HintsReader, org.apache.cassandra.hints.InputPosition);
descriptor: (Lorg/apache/cassandra/hints/HintsReader;Lorg/apache/cassandra/hints/InputPosition;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
1: aload 0
invokespecial org.apache.cassandra.utils.AbstractIterator.<init>:()V
2: aload 0
aload 2
putfield org.apache.cassandra.hints.HintsReader$HintsIterator.offset:Lorg/apache/cassandra/hints/InputPosition;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/hints/HintsReader$HintsIterator;
0 4 2 offset Lorg/apache/cassandra/hints/InputPosition;
MethodParameters:
Name Flags
this$0 final
offset
protected org.apache.cassandra.hints.Hint computeNext();
descriptor: ()Lorg/apache/cassandra/hints/Hint;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.getSeekPosition:()Lorg/apache/cassandra/hints/InputPosition;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.isEOF:()Z
ifeq 3
2: aload 0
invokevirtual org.apache.cassandra.hints.HintsReader$HintsIterator.endOfData:()Ljava/lang/Object;
checkcast org.apache.cassandra.hints.Hint
areturn
3: StackMap locals: org.apache.cassandra.hints.HintsReader$HintsIterator top org.apache.cassandra.hints.InputPosition
StackMap stack:
aload 2
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.offset:Lorg/apache/cassandra/hints/InputPosition;
invokeinterface org.apache.cassandra.hints.InputPosition.subtract:(Lorg/apache/cassandra/hints/InputPosition;)J
ldc 524288
lcmp
iflt 5
4: aload 0
invokevirtual org.apache.cassandra.hints.HintsReader$HintsIterator.endOfData:()Ljava/lang/Object;
checkcast org.apache.cassandra.hints.Hint
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.hints.HintsReader$HintsIterator.computeNextInternal:()Lorg/apache/cassandra/hints/Hint;
astore 1
start local 1 6: goto 12
end local 1 7: StackMap locals:
StackMap stack: java.io.EOFException
astore 3
start local 3 8: getstatic org.apache.cassandra.hints.HintsReader.logger:Lorg/slf4j/Logger;
ldc "Unexpected EOF replaying hints ({}), likely due to unflushed hint file on shutdown; continuing"
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
invokevirtual org.apache.cassandra.hints.HintsDescriptor.fileName:()Ljava/lang/String;
aload 3
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
9: aload 0
invokevirtual org.apache.cassandra.hints.HintsReader$HintsIterator.endOfData:()Ljava/lang/Object;
checkcast org.apache.cassandra.hints.Hint
areturn
end local 3 10: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 11: new org.apache.cassandra.io.FSReadError
dup
aload 3
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.file:Ljava/io/File;
invokespecial org.apache.cassandra.io.FSReadError.<init>:(Ljava/lang/Throwable;Ljava/io/File;)V
athrow
end local 3 end local 2 start local 1 12: StackMap locals: org.apache.cassandra.hints.HintsReader$HintsIterator org.apache.cassandra.hints.Hint
StackMap stack:
aload 1
ifnull 0
13: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/hints/HintsReader$HintsIterator;
6 7 1 hint Lorg/apache/cassandra/hints/Hint;
12 14 1 hint Lorg/apache/cassandra/hints/Hint;
1 12 2 position Lorg/apache/cassandra/hints/InputPosition;
8 10 3 e Ljava/io/EOFException;
11 12 3 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.EOFException
5 6 10 Class java.io.IOException
private org.apache.cassandra.hints.Hint computeNextInternal();
descriptor: ()Lorg/apache/cassandra/hints/Hint;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.resetCrc:()V
1: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.resetLimit:()V
2: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.readInt:()I
istore 1
start local 1 3: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.checkCrc:()Z
ifne 5
4: new java.io.IOException
dup
ldc "Digest mismatch exception"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.cassandra.hints.HintsReader$HintsIterator.readHint:(I)Lorg/apache/cassandra/hints/Hint;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/hints/HintsReader$HintsIterator;
3 6 1 size I
Exceptions:
throws java.io.IOException
private org.apache.cassandra.hints.Hint readHint(int);
descriptor: (I)Lorg/apache/cassandra/hints/Hint;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.rateLimiter:Lcom/google/common/util/concurrent/RateLimiter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.rateLimiter:Lcom/google/common/util/concurrent/RateLimiter;
iload 1
invokevirtual com.google.common.util.concurrent.RateLimiter.acquire:(I)D
pop2
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
iload 1
i2l
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.limit:(J)V
3: getstatic org.apache.cassandra.hints.Hint.serializer:Lorg/apache/cassandra/hints/Hint$Serializer;
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
invokevirtual org.apache.cassandra.hints.HintsDescriptor.messagingVersion:()I
invokevirtual org.apache.cassandra.hints.Hint$Serializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/hints/Hint;
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
iconst_0
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.checkLimit:(I)V
5: goto 15
end local 2 6: StackMap locals:
StackMap stack: org.apache.cassandra.db.UnknownColumnFamilyException
astore 3
start local 3 7: getstatic org.apache.cassandra.hints.HintsReader.logger:Lorg/slf4j/Logger;
ldc "Failed to read a hint for {}: {} - table with id {} is unknown in file {}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
8: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
getfield org.apache.cassandra.hints.HintsDescriptor.hostId:Ljava/util/UUID;
invokevirtual org.apache.cassandra.service.StorageService.getEndpointForHostId:(Ljava/util/UUID;)Ljava/net/InetAddress;
aastore
dup
iconst_1
9: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
getfield org.apache.cassandra.hints.HintsDescriptor.hostId:Ljava/util/UUID;
aastore
dup
iconst_2
10: aload 3
getfield org.apache.cassandra.db.UnknownColumnFamilyException.cfId:Ljava/util/UUID;
aastore
dup
iconst_3
11: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
invokevirtual org.apache.cassandra.hints.HintsDescriptor.fileName:()Ljava/lang/String;
aastore
12: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
13: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
iload 1
i2l
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.bytesPastLimit:()J
lsub
invokestatic com.google.common.primitives.Ints.checkedCast:(J)I
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.skipBytes:(I)I
pop
14: aconst_null
astore 2
end local 3 start local 2 15: StackMap locals: org.apache.cassandra.hints.Hint
StackMap stack:
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.checkCrc:()Z
ifeq 17
16: aload 2
areturn
17: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.hints.HintsReader.logger:Lorg/slf4j/Logger;
ldc "Failed to read a hint for {}: {} - digest mismatch for hint at position {} in file {}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
18: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
getfield org.apache.cassandra.hints.HintsDescriptor.hostId:Ljava/util/UUID;
invokevirtual org.apache.cassandra.service.StorageService.getEndpointForHostId:(Ljava/util/UUID;)Ljava/net/InetAddress;
aastore
dup
iconst_1
19: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
getfield org.apache.cassandra.hints.HintsDescriptor.hostId:Ljava/util/UUID;
aastore
dup
iconst_2
20: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.input:Lorg/apache/cassandra/hints/ChecksummedDataInput;
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.getPosition:()J
iload 1
i2l
lsub
ldc 4
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
21: aload 0
getfield org.apache.cassandra.hints.HintsReader$HintsIterator.this$0:Lorg/apache/cassandra/hints/HintsReader;
getfield org.apache.cassandra.hints.HintsReader.descriptor:Lorg/apache/cassandra/hints/HintsDescriptor;
invokevirtual org.apache.cassandra.hints.HintsDescriptor.fileName:()Ljava/lang/String;
aastore
22: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
23: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/cassandra/hints/HintsReader$HintsIterator;
0 24 1 size I
4 6 2 hint Lorg/apache/cassandra/hints/Hint;
15 24 2 hint Lorg/apache/cassandra/hints/Hint;
7 15 3 e Lorg/apache/cassandra/db/UnknownColumnFamilyException;
Exception table:
from to target type
3 5 6 Class org.apache.cassandra.db.UnknownColumnFamilyException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
size
protected java.lang.Object computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.hints.HintsReader$HintsIterator.computeNext:()Lorg/apache/cassandra/hints/Hint;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/apache/cassandra/utils/AbstractIterator<Lorg/apache/cassandra/hints/Hint;>;
SourceFile: "HintsReader.java"
NestHost: org.apache.cassandra.hints.HintsReader
InnerClasses:
final Serializer = org.apache.cassandra.hints.Hint$Serializer of org.apache.cassandra.hints.Hint
final HintsIterator = org.apache.cassandra.hints.HintsReader$HintsIterator of org.apache.cassandra.hints.HintsReader