class org.apache.cassandra.hints.HintsBuffer$1 extends org.apache.cassandra.utils.AbstractIterator<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.hints.HintsBuffer$1
super_class: org.apache.cassandra.utils.AbstractIterator
{
private final java.nio.ByteBuffer flyweight;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.cassandra.hints.HintsBuffer this$0;
descriptor: Lorg/apache/cassandra/hints/HintsBuffer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Queue val$bufferOffsets;
descriptor: Ljava/util/Queue;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.hints.HintsBuffer, java.util.Queue);
descriptor: (Lorg/apache/cassandra/hints/HintsBuffer;Ljava/util/Queue;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.hints.HintsBuffer$1.this$0:Lorg/apache/cassandra/hints/HintsBuffer;
aload 0
aload 2
putfield org.apache.cassandra.hints.HintsBuffer$1.val$bufferOffsets:Ljava/util/Queue;
aload 0
invokespecial org.apache.cassandra.utils.AbstractIterator.<init>:()V
1: aload 0
aload 1
getfield org.apache.cassandra.hints.HintsBuffer.slab:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.hints.HintsBuffer$1.flyweight:Ljava/nio/ByteBuffer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/hints/HintsBuffer$1;
MethodParameters:
Name Flags
this$0 final
val$bufferOffsets final
protected java.nio.ByteBuffer computeNext();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.HintsBuffer$1.val$bufferOffsets:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual org.apache.cassandra.hints.HintsBuffer$1.endOfData:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
areturn
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield org.apache.cassandra.hints.HintsBuffer$1.this$0:Lorg/apache/cassandra/hints/HintsBuffer;
getfield org.apache.cassandra.hints.HintsBuffer.slab:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.nio.ByteBuffer.getInt:(I)I
bipush 12
iadd
istore 2
start local 2 4: aload 0
getfield org.apache.cassandra.hints.HintsBuffer$1.flyweight:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
aload 1
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
aload 1
invokevirtual java.lang.Integer.intValue:()I
iload 2
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/hints/HintsBuffer$1;
1 5 1 offset Ljava/lang/Integer;
4 5 2 totalSize I
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.HintsBuffer$1.computeNext:()Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/apache/cassandra/utils/AbstractIterator<Ljava/nio/ByteBuffer;>;
SourceFile: "HintsBuffer.java"
EnclosingMethod: org.apache.cassandra.hints.HintsBuffer.consumingHintsIterator:(Ljava/util/UUID;)Ljava/util/Iterator;
NestHost: org.apache.cassandra.hints.HintsBuffer
InnerClasses:
org.apache.cassandra.hints.HintsBuffer$1