public class org.apache.cassandra.utils.MerkleTree implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.MerkleTree
super_class: java.lang.Object
{
private static org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final org.apache.cassandra.utils.MerkleTree$MerkleTreeSerializer serializer;
descriptor: Lorg/apache/cassandra/utils/MerkleTree$MerkleTreeSerializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final byte RECOMMENDED_DEPTH;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 126
public static final int CONSISTENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int FULLY_INCONSISTENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PARTIALLY_INCONSISTENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final byte[] EMPTY_HASH;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public final byte hashdepth;
descriptor: B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token> fullRange;
descriptor: Lorg/apache/cassandra/dht/Range;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
private final org.apache.cassandra.dht.IPartitioner partitioner;
descriptor: Lorg/apache/cassandra/dht/IPartitioner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long maxsize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long size;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.utils.MerkleTree$Hashable root;
descriptor: Lorg/apache/cassandra/utils/MerkleTree$Hashable;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/utils/MerkleTree;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.utils.MerkleTree.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/utils/MerkleTree;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
4: new org.apache.cassandra.utils.MerkleTree$MerkleTreeSerializer
dup
invokespecial org.apache.cassandra.utils.MerkleTree$MerkleTreeSerializer.<init>:()V
putstatic org.apache.cassandra.utils.MerkleTree.serializer:Lorg/apache/cassandra/utils/MerkleTree$MerkleTreeSerializer;
5: iconst_0
newarray 8
putstatic org.apache.cassandra.utils.MerkleTree.EMPTY_HASH:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.dht.IPartitioner, org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>, byte, );
descriptor: (Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/dht/Range;BJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, 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: getstatic org.apache.cassandra.utils.MerkleTree.$assertionsDisabled:Z
ifne 2
iload 3
bipush 127
if_icmplt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.cassandra.utils.MerkleTree org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.Range int long
StackMap stack:
aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Range
putfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
3: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.dht.IPartitioner
putfield org.apache.cassandra.utils.MerkleTree.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
4: aload 0
iload 3
putfield org.apache.cassandra.utils.MerkleTree.hashdepth:B
5: aload 0
lload 4
putfield org.apache.cassandra.utils.MerkleTree.maxsize:J
6: aload 0
lconst_1
putfield org.apache.cassandra.utils.MerkleTree.size:J
7: aload 0
new org.apache.cassandra.utils.MerkleTree$Leaf
dup
aconst_null
invokespecial org.apache.cassandra.utils.MerkleTree$Leaf.<init>:([B)V
putfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 9 1 partitioner Lorg/apache/cassandra/dht/IPartitioner;
0 9 2 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
0 9 3 hashdepth B
0 9 4 maxsize J
Signature: (Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;BJ)V
MethodParameters:
Name Flags
partitioner
range
hashdepth
maxsize
static byte inc(byte);
descriptor: (B)B
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.utils.MerkleTree.$assertionsDisabled:Z
ifne 1
iload 0
bipush 127
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 0
iconst_1
iadd
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 in B
MethodParameters:
Name Flags
in
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.maxsize:J
l2d
invokestatic java.lang.Math.log10:(D)D
ldc 2.0
invokestatic java.lang.Math.log10:(D)D
ddiv
d2i
i2b
istore 1
start local 1 1: iload 1
aload 0
getfield org.apache.cassandra.utils.MerkleTree.hashdepth:B
invokestatic java.lang.Math.min:(II)I
i2b
istore 2
start local 2 2: aload 0
aload 0
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
iconst_0
iload 2
invokevirtual org.apache.cassandra.utils.MerkleTree.initHelper:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BB)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
putfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
3: aload 0
ldc 2.0
iload 2
i2d
invokestatic java.lang.Math.pow:(DD)D
d2l
putfield org.apache.cassandra.utils.MerkleTree.size:J
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/MerkleTree;
1 5 1 sizedepth B
2 5 2 depth B
private org.apache.cassandra.utils.MerkleTree$Hashable initHelper(org.apache.cassandra.dht.Token, org.apache.cassandra.dht.Token, byte, byte);
descriptor: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BB)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
iload 4
if_icmpne 2
1: new org.apache.cassandra.utils.MerkleTree$Leaf
dup
invokespecial org.apache.cassandra.utils.MerkleTree$Leaf.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.MerkleTree.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
aload 1
aload 2
invokeinterface org.apache.cassandra.dht.IPartitioner.midpoint:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/dht/Token;
astore 5
start local 5 3: aload 5
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
aload 5
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals: org.apache.cassandra.dht.Token
StackMap stack:
new org.apache.cassandra.utils.MerkleTree$Leaf
dup
invokespecial org.apache.cassandra.utils.MerkleTree$Leaf.<init>:()V
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
iload 3
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
iload 4
invokevirtual org.apache.cassandra.utils.MerkleTree.initHelper:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BB)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 6
start local 6 6: aload 0
aload 5
aload 2
iload 3
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
iload 4
invokevirtual org.apache.cassandra.utils.MerkleTree.initHelper:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BB)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 7
start local 7 7: new org.apache.cassandra.utils.MerkleTree$Inner
dup
aload 5
aload 6
aload 7
invokespecial org.apache.cassandra.utils.MerkleTree$Inner.<init>:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/utils/MerkleTree$Hashable;)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 8 1 left Lorg/apache/cassandra/dht/Token;
0 8 2 right Lorg/apache/cassandra/dht/Token;
0 8 3 depth B
0 8 4 max B
3 8 5 midpoint Lorg/apache/cassandra/dht/Token;
6 8 6 lchild Lorg/apache/cassandra/utils/MerkleTree$Hashable;
7 8 7 rchild Lorg/apache/cassandra/utils/MerkleTree$Hashable;
MethodParameters:
Name Flags
left
right
depth
max
org.apache.cassandra.utils.MerkleTree$Hashable root();
descriptor: ()Lorg/apache/cassandra/utils/MerkleTree$Hashable;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
public org.apache.cassandra.dht.IPartitioner partitioner();
descriptor: ()Lorg/apache/cassandra/dht/IPartitioner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
public long maxsize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.maxsize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
public void maxsize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.apache.cassandra.utils.MerkleTree.maxsize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 2 1 maxsize J
MethodParameters:
Name Flags
maxsize
public static java.util.List<org.apache.cassandra.utils.MerkleTree$TreeRange> difference(org.apache.cassandra.utils.MerkleTree, org.apache.cassandra.utils.MerkleTree);
descriptor: (Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
aload 1
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
invokevirtual org.apache.cassandra.dht.Range.equals:(Ljava/lang/Object;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Difference only make sense on tree covering the same range (but "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: new org.apache.cassandra.utils.MerkleTree$TreeDifference
dup
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
iconst_0
invokespecial org.apache.cassandra.utils.MerkleTree$TreeDifference.<init>:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;B)V
astore 3
start local 3 4: aload 0
aload 3
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 4
start local 4 5: aload 1
aload 3
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 5
start local 5 6: aload 4
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
astore 6
start local 6 7: aload 5
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
astore 7
start local 7 8: aload 3
aload 4
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:()J
aload 5
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:()J
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeDifference.setSize:(JJ)V
9: aload 6
ifnull 19
aload 7
ifnull 19
aload 6
aload 7
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 19
10: aload 4
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifne 11
aload 5
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 14
11: StackMap locals: org.apache.cassandra.utils.MerkleTree org.apache.cassandra.utils.MerkleTree java.util.List org.apache.cassandra.utils.MerkleTree$TreeDifference org.apache.cassandra.utils.MerkleTree$Hashable org.apache.cassandra.utils.MerkleTree$Hashable byte[] byte[]
StackMap stack:
getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "Digest mismatch detected among leaf nodes {}, {}"
aload 4
aload 5
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
12: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: goto 21
14: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "Digest mismatch detected, traversing trees [{}, {}]"
aload 0
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
15: iconst_1
aload 0
aload 1
aload 2
aload 3
invokestatic org.apache.cassandra.utils.MerkleTree.differenceHelper:(Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;Ljava/util/List;Lorg/apache/cassandra/utils/MerkleTree$TreeRange;)I
if_icmpne 21
16: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "Range {} fully inconsistent"
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
17: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: goto 21
19: StackMap locals:
StackMap stack:
aload 6
ifnull 20
aload 7
ifnonnull 21
20: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: StackMap locals:
StackMap stack:
aload 2
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 ltree Lorg/apache/cassandra/utils/MerkleTree;
0 22 1 rtree Lorg/apache/cassandra/utils/MerkleTree;
3 22 2 diff Ljava/util/List<Lorg/apache/cassandra/utils/MerkleTree$TreeRange;>;
4 22 3 active Lorg/apache/cassandra/utils/MerkleTree$TreeDifference;
5 22 4 lnode Lorg/apache/cassandra/utils/MerkleTree$Hashable;
6 22 5 rnode Lorg/apache/cassandra/utils/MerkleTree$Hashable;
7 22 6 lhash [B
8 22 7 rhash [B
Signature: (Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;)Ljava/util/List<Lorg/apache/cassandra/utils/MerkleTree$TreeRange;>;
MethodParameters:
Name Flags
ltree
rtree
static int differenceHelper(org.apache.cassandra.utils.MerkleTree, org.apache.cassandra.utils.MerkleTree, java.util.List<org.apache.cassandra.utils.MerkleTree$TreeRange>, org.apache.cassandra.utils.MerkleTree$TreeRange);
descriptor: (Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;Ljava/util/List;Lorg/apache/cassandra/utils/MerkleTree$TreeRange;)I
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
bipush 127
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.utils.MerkleTree.partitioner:()Lorg/apache/cassandra/dht/IPartitioner;
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokeinterface org.apache.cassandra.dht.IPartitioner.midpoint:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/dht/Token;
astore 4
start local 4 3: aload 4
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.left:Lorg/apache/cassandra/dht/RingPosition;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
aload 4
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.right:Lorg/apache/cassandra/dht/RingPosition;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: org.apache.cassandra.dht.Token
StackMap stack:
getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) No sane midpoint ({}) for range {} , marking whole range as inconsistent"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 3
aastore
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.MerkleTree$TreeDifference
dup
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 4
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
invokespecial org.apache.cassandra.utils.MerkleTree$TreeDifference.<init>:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;B)V
astore 5
start local 5 7: new org.apache.cassandra.utils.MerkleTree$TreeDifference
dup
aload 4
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
invokespecial org.apache.cassandra.utils.MerkleTree$TreeDifference.<init>:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;B)V
astore 6
start local 6 8: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Hashing sub-ranges [{}, {}] for {} divided by midpoint {}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
dup
iconst_3
aload 3
aastore
dup
iconst_4
aload 4
aastore
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
9: aload 0
aload 5
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 9
start local 9 10: aload 1
aload 5
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 10
start local 10 11: aload 9
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
astore 7
start local 7 12: aload 10
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
astore 8
start local 8 13: aload 5
aload 9
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:()J
aload 10
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:()J
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeDifference.setSize:(JJ)V
14: aload 5
aload 9
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.rowsInRange:()J
aload 10
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.rowsInRange:()J
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeDifference.setRows:(JJ)V
15: iconst_0
istore 11
start local 11 16: aload 7
ifnull 17
aload 8
ifnull 17
iconst_1
goto 18
StackMap locals: org.apache.cassandra.utils.MerkleTree org.apache.cassandra.utils.MerkleTree java.util.List org.apache.cassandra.utils.MerkleTree$TreeRange org.apache.cassandra.dht.Token org.apache.cassandra.utils.MerkleTree$TreeDifference org.apache.cassandra.utils.MerkleTree$TreeDifference byte[] byte[] org.apache.cassandra.utils.MerkleTree$Hashable org.apache.cassandra.utils.MerkleTree$Hashable int
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: istore 12
start local 12 19: iload 12
ifeq 24
aload 7
aload 8
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 24
20: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Inconsistent digest on left sub-range {}: [{}, {}]"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 9
aastore
dup
iconst_3
aload 10
aastore
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
21: aload 9
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 22
iconst_1
istore 11
goto 27
22: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 5
invokestatic org.apache.cassandra.utils.MerkleTree.differenceHelper:(Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;Ljava/util/List;Lorg/apache/cassandra/utils/MerkleTree$TreeRange;)I
istore 11
23: goto 27
24: StackMap locals:
StackMap stack:
iload 12
ifne 27
25: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Left sub-range fully inconsistent {}"
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aload 6
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
26: iconst_1
istore 11
27: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 9
28: aload 1
aload 6
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 10
29: aload 9
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
astore 7
30: aload 10
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
astore 8
31: aload 6
aload 9
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:()J
aload 10
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:()J
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeDifference.setSize:(JJ)V
32: aload 6
aload 9
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.rowsInRange:()J
aload 10
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.rowsInRange:()J
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeDifference.setRows:(JJ)V
33: iconst_0
istore 13
start local 13 34: aload 7
ifnull 35
aload 8
ifnull 35
iconst_1
goto 36
StackMap locals: int
StackMap stack:
35: iconst_0
StackMap locals:
StackMap stack: int
36: istore 14
start local 14 37: iload 14
ifeq 42
aload 7
aload 8
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 42
38: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Inconsistent digest on right sub-range {}: [{}, {}]"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 6
aastore
dup
iconst_2
aload 9
aastore
dup
iconst_3
aload 10
aastore
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
39: aload 10
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 40
iconst_1
istore 13
goto 45
40: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 6
invokestatic org.apache.cassandra.utils.MerkleTree.differenceHelper:(Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;Ljava/util/List;Lorg/apache/cassandra/utils/MerkleTree$TreeRange;)I
istore 13
41: goto 45
42: StackMap locals:
StackMap stack:
iload 14
ifne 45
43: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Right sub-range fully inconsistent {}"
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aload 6
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
44: iconst_1
istore 13
45: StackMap locals:
StackMap stack:
iload 11
iconst_1
if_icmpne 48
iload 13
iconst_1
if_icmpne 48
46: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Fully inconsistent range [{}, {}]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
47: iconst_1
ireturn
48: StackMap locals:
StackMap stack:
iload 11
iconst_1
if_icmpne 52
49: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Adding left sub-range to diff as fully inconsistent {}"
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aload 5
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
50: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
51: iconst_2
ireturn
52: StackMap locals:
StackMap stack:
iload 13
iconst_1
if_icmpne 56
53: getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Adding right sub-range to diff as fully inconsistent {}"
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aload 6
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
54: aload 2
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
55: iconst_2
ireturn
56: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.MerkleTree.logger:Lorg/slf4j/Logger;
ldc "({}) Range {} partially inconstent"
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.depth:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
57: iconst_2
ireturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 ltree Lorg/apache/cassandra/utils/MerkleTree;
0 58 1 rtree Lorg/apache/cassandra/utils/MerkleTree;
0 58 2 diff Ljava/util/List<Lorg/apache/cassandra/utils/MerkleTree$TreeRange;>;
0 58 3 active Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
3 58 4 midpoint Lorg/apache/cassandra/dht/Token;
7 58 5 left Lorg/apache/cassandra/utils/MerkleTree$TreeDifference;
8 58 6 right Lorg/apache/cassandra/utils/MerkleTree$TreeDifference;
12 58 7 lhash [B
13 58 8 rhash [B
10 58 9 lnode Lorg/apache/cassandra/utils/MerkleTree$Hashable;
11 58 10 rnode Lorg/apache/cassandra/utils/MerkleTree$Hashable;
16 58 11 ldiff I
19 58 12 lreso Z
34 58 13 rdiff I
37 58 14 rreso Z
Signature: (Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/utils/MerkleTree;Ljava/util/List<Lorg/apache/cassandra/utils/MerkleTree$TreeRange;>;Lorg/apache/cassandra/utils/MerkleTree$TreeRange;)I
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
ltree
rtree
diff
active
public org.apache.cassandra.utils.MerkleTree$TreeRange get(org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
iconst_0
aload 1
invokevirtual org.apache.cassandra.utils.MerkleTree.getHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 1 1 t Lorg/apache/cassandra/dht/Token;
MethodParameters:
Name Flags
t
org.apache.cassandra.utils.MerkleTree$TreeRange getHelper(org.apache.cassandra.utils.MerkleTree$Hashable, org.apache.cassandra.dht.Token, org.apache.cassandra.dht.Token, byte, org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
flags: (0x0000)
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 2
1: new org.apache.cassandra.utils.MerkleTree$TreeRange
dup
aload 0
aload 2
aload 3
iload 4
aload 1
invokespecial org.apache.cassandra.utils.MerkleTree$TreeRange.<init>:(Lorg/apache/cassandra/utils/MerkleTree;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/utils/MerkleTree$Hashable;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.MerkleTree$Inner
astore 6
start local 6 3: iload 4
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
istore 4
4: aload 2
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
aload 5
invokestatic org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)Z
ifeq 8
5: aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.lchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 1
6: aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
astore 3
7: goto 0
8: StackMap locals: org.apache.cassandra.utils.MerkleTree$Inner
StackMap stack:
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.rchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 1
9: aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
astore 2
end local 6 10: goto 0
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 11 1 hashable Lorg/apache/cassandra/utils/MerkleTree$Hashable;
0 11 2 pleft Lorg/apache/cassandra/dht/Token;
0 11 3 pright Lorg/apache/cassandra/dht/Token;
0 11 4 depth B
0 11 5 t Lorg/apache/cassandra/dht/Token;
3 10 6 node Lorg/apache/cassandra/utils/MerkleTree$Inner;
MethodParameters:
Name Flags
hashable
pleft
pright
depth
t
public void invalidate(org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 1
invokevirtual org.apache.cassandra.utils.MerkleTree.invalidateHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 2 1 t Lorg/apache/cassandra/dht/Token;
MethodParameters:
Name Flags
t
private void invalidateHelper(org.apache.cassandra.utils.MerkleTree$Hashable, org.apache.cassandra.dht.Token, org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aconst_null
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:([B)V
1: aload 1
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.MerkleTree$Inner
astore 4
start local 4 4: aload 2
aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
aload 3
invokestatic org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)Z
ifeq 6
5: aload 0
aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.lchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 2
aload 3
invokevirtual org.apache.cassandra.utils.MerkleTree.invalidateHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)V
goto 7
6: StackMap locals: org.apache.cassandra.utils.MerkleTree$Inner
StackMap stack:
aload 0
aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.rchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
aload 3
invokevirtual org.apache.cassandra.utils.MerkleTree.invalidateHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)V
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 8 1 hashable Lorg/apache/cassandra/utils/MerkleTree$Hashable;
0 8 2 pleft Lorg/apache/cassandra/dht/Token;
0 8 3 t Lorg/apache/cassandra/dht/Token;
4 8 4 node Lorg/apache/cassandra/utils/MerkleTree$Inner;
MethodParameters:
Name Flags
hashable
pleft
t
public byte[] hash(org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>);
descriptor: (Lorg/apache/cassandra/dht/Range;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.MerkleTree.find:(Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.hash:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 1 1 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
Signature: (Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;)[B
MethodParameters:
Name Flags
range
private org.apache.cassandra.utils.MerkleTree$Hashable find(org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>);
descriptor: (Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
new org.apache.cassandra.dht.Range
dup
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
aload 1
invokevirtual org.apache.cassandra.utils.MerkleTree.findHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Range;Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
1: areturn
2: StackMap locals:
StackMap stack: org.apache.cassandra.utils.MerkleTree$StopRecursion
pop
3: new org.apache.cassandra.utils.MerkleTree$Leaf
dup
invokespecial org.apache.cassandra.utils.MerkleTree$Leaf.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 4 1 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.utils.MerkleTree$StopRecursion
Signature: (Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
MethodParameters:
Name Flags
range
private org.apache.cassandra.utils.MerkleTree$Hashable findHelper(org.apache.cassandra.utils.MerkleTree$Hashable, org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>, org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>);
descriptor: (Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Range;Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 4
1: aload 3
aload 2
invokevirtual org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/Range;)Z
ifne 3
2: new org.apache.cassandra.utils.MerkleTree$StopRecursion$BadRange
dup
invokespecial org.apache.cassandra.utils.MerkleTree$StopRecursion$BadRange.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.MerkleTree$Inner
astore 4
start local 4 5: new org.apache.cassandra.dht.Range
dup
aload 2
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
astore 5
start local 5 6: new org.apache.cassandra.dht.Range
dup
aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
aload 2
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
astore 6
start local 6 7: aload 3
aload 2
invokevirtual org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/Range;)Z
ifeq 9
8: aload 4
invokevirtual org.apache.cassandra.utils.MerkleTree$Inner.calc:()Lorg/apache/cassandra/utils/MerkleTree$Hashable;
areturn
9: StackMap locals: org.apache.cassandra.utils.MerkleTree$Inner org.apache.cassandra.dht.Range org.apache.cassandra.dht.Range
StackMap stack:
aload 5
aload 3
invokevirtual org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/Range;)Z
ifeq 13
10: aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.lchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 1
11: aload 5
astore 2
12: goto 0
13: StackMap locals:
StackMap stack:
aload 6
aload 3
invokevirtual org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/Range;)Z
ifeq 17
14: aload 4
getfield org.apache.cassandra.utils.MerkleTree$Inner.rchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
astore 1
15: aload 6
astore 2
16: goto 0
17: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.MerkleTree$StopRecursion$BadRange
dup
invokespecial org.apache.cassandra.utils.MerkleTree$StopRecursion$BadRange.<init>:()V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 18 1 current Lorg/apache/cassandra/utils/MerkleTree$Hashable;
0 18 2 activeRange Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
0 18 3 find Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
5 18 4 node Lorg/apache/cassandra/utils/MerkleTree$Inner;
6 18 5 leftRange Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
7 18 6 rightRange Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
Exceptions:
throws org.apache.cassandra.utils.MerkleTree$StopRecursion
Signature: (Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
MethodParameters:
Name Flags
current
activeRange
find
public boolean split(org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.MerkleTree.size:J
aload 0
getfield org.apache.cassandra.utils.MerkleTree.maxsize:J
lcmp
iflt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 0
getfield org.apache.cassandra.utils.MerkleTree.fullRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
iconst_0
aload 1
invokevirtual org.apache.cassandra.utils.MerkleTree.splitHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
putfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
3: goto 6
4: StackMap locals:
StackMap stack: org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep
pop
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 7 1 t Lorg/apache/cassandra/dht/Token;
Exception table:
from to target type
2 3 4 Class org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep
MethodParameters:
Name Flags
t
private org.apache.cassandra.utils.MerkleTree$Hashable splitHelper(org.apache.cassandra.utils.MerkleTree$Hashable, org.apache.cassandra.dht.Token, org.apache.cassandra.dht.Token, byte, org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
aload 0
getfield org.apache.cassandra.utils.MerkleTree.hashdepth:B
if_icmplt 2
1: new org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep
dup
invokespecial org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.utils.MerkleTree$Leaf
ifeq 8
3: aload 0
getfield org.apache.cassandra.utils.MerkleTree.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
aload 2
aload 3
invokeinterface org.apache.cassandra.dht.IPartitioner.midpoint:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/dht/Token;
astore 6
start local 6 4: aload 6
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
aload 6
aload 3
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: StackMap locals: org.apache.cassandra.dht.Token
StackMap stack:
new org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep
dup
invokespecial org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.cassandra.utils.MerkleTree.size:J
lconst_1
ladd
putfield org.apache.cassandra.utils.MerkleTree.size:J
7: new org.apache.cassandra.utils.MerkleTree$Inner
dup
aload 6
new org.apache.cassandra.utils.MerkleTree$Leaf
dup
invokespecial org.apache.cassandra.utils.MerkleTree$Leaf.<init>:()V
new org.apache.cassandra.utils.MerkleTree$Leaf
dup
invokespecial org.apache.cassandra.utils.MerkleTree$Leaf.<init>:()V
invokespecial org.apache.cassandra.utils.MerkleTree$Inner.<init>:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/utils/MerkleTree$Hashable;)V
areturn
end local 6 8: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.MerkleTree$Inner
astore 6
start local 6 9: aload 2
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
aload 5
invokestatic org.apache.cassandra.dht.Range.contains:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)Z
ifeq 11
10: aload 6
aload 0
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.lchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 2
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
iload 4
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
aload 5
invokevirtual org.apache.cassandra.utils.MerkleTree.splitHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
invokevirtual org.apache.cassandra.utils.MerkleTree$Inner.lchild:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;)V
goto 12
11: StackMap locals: org.apache.cassandra.utils.MerkleTree$Inner
StackMap stack:
aload 6
aload 0
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.rchild:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 6
getfield org.apache.cassandra.utils.MerkleTree$Inner.token:Lorg/apache/cassandra/dht/Token;
aload 3
iload 4
invokestatic org.apache.cassandra.utils.MerkleTree.inc:(B)B
aload 5
invokevirtual org.apache.cassandra.utils.MerkleTree.splitHelper:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;BLorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/utils/MerkleTree$Hashable;
invokevirtual org.apache.cassandra.utils.MerkleTree$Inner.rchild:(Lorg/apache/cassandra/utils/MerkleTree$Hashable;)V
12: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/utils/MerkleTree;
0 13 1 hashable Lorg/apache/cassandra/utils/MerkleTree$Hashable;
0 13 2 pleft Lorg/apache/cassandra/dht/Token;
0 13 3 pright Lorg/apache/cassandra/dht/Token;
0 13 4 depth B
0 13 5 t Lorg/apache/cassandra/dht/Token;
4 8 6 midpoint Lorg/apache/cassandra/dht/Token;
9 13 6 node Lorg/apache/cassandra/utils/MerkleTree$Inner;
Exceptions:
throws org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep
MethodParameters:
Name Flags
hashable
pleft
pright
depth
t
public org.apache.cassandra.utils.MerkleTree$TreeRangeIterator invalids();
descriptor: ()Lorg/apache/cassandra/utils/MerkleTree$TreeRangeIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.utils.MerkleTree$TreeRangeIterator
dup
aload 0
invokespecial org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.<init>:(Lorg/apache/cassandra/utils/MerkleTree;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MerkleTree;
public org.apache.cassandra.utils.EstimatedHistogram histogramOfRowSizePerLeaf();
descriptor: ()Lorg/apache/cassandra/utils/EstimatedHistogram;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new org.apache.cassandra.utils.HistogramBuilder
dup
invokespecial org.apache.cassandra.utils.HistogramBuilder.<init>:()V
astore 1
start local 1 1: new org.apache.cassandra.utils.MerkleTree$TreeRangeIterator
dup
aload 0
invokespecial org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.<init>:(Lorg/apache/cassandra/utils/MerkleTree;)V
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.utils.MerkleTree org.apache.cassandra.utils.HistogramBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.MerkleTree$TreeRange
astore 2
start local 2 3: aload 1
aload 2
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.hashable:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
getfield org.apache.cassandra.utils.MerkleTree$Hashable.sizeOfRange:J
invokevirtual org.apache.cassandra.utils.HistogramBuilder.add:(J)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual org.apache.cassandra.utils.HistogramBuilder.buildWithStdevRangesAroundMean:()Lorg/apache/cassandra/utils/EstimatedHistogram;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/MerkleTree;
1 6 1 histbuild Lorg/apache/cassandra/utils/HistogramBuilder;
3 4 2 range Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
public org.apache.cassandra.utils.EstimatedHistogram histogramOfRowCountPerLeaf();
descriptor: ()Lorg/apache/cassandra/utils/EstimatedHistogram;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new org.apache.cassandra.utils.HistogramBuilder
dup
invokespecial org.apache.cassandra.utils.HistogramBuilder.<init>:()V
astore 1
start local 1 1: new org.apache.cassandra.utils.MerkleTree$TreeRangeIterator
dup
aload 0
invokespecial org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.<init>:(Lorg/apache/cassandra/utils/MerkleTree;)V
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.utils.MerkleTree org.apache.cassandra.utils.HistogramBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.MerkleTree$TreeRange
astore 2
start local 2 3: aload 1
aload 2
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.hashable:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
getfield org.apache.cassandra.utils.MerkleTree$Hashable.rowsInRange:J
invokevirtual org.apache.cassandra.utils.HistogramBuilder.add:(J)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual org.apache.cassandra.utils.HistogramBuilder.buildWithStdevRangesAroundMean:()Lorg/apache/cassandra/utils/EstimatedHistogram;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/MerkleTree;
1 6 1 histbuild Lorg/apache/cassandra/utils/HistogramBuilder;
3 4 2 range Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
public long rowCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: new org.apache.cassandra.utils.MerkleTree$TreeRangeIterator
dup
aload 0
invokespecial org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.<init>:(Lorg/apache/cassandra/utils/MerkleTree;)V
invokevirtual org.apache.cassandra.utils.MerkleTree$TreeRangeIterator.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.utils.MerkleTree long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.MerkleTree$TreeRange
astore 3
start local 3 3: lload 1
aload 3
getfield org.apache.cassandra.utils.MerkleTree$TreeRange.hashable:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
getfield org.apache.cassandra.utils.MerkleTree$Hashable.rowsInRange:J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/MerkleTree;
1 6 1 count J
3 4 3 range Lorg/apache/cassandra/utils/MerkleTree$TreeRange;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "#<MerkleTree root="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.apache.cassandra.utils.MerkleTree.root:Lorg/apache/cassandra/utils/MerkleTree$Hashable;
aload 1
bipush 8
invokevirtual org.apache.cassandra.utils.MerkleTree$Hashable.toString:(Ljava/lang/StringBuilder;I)V
3: aload 1
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/MerkleTree;
1 5 1 buff Ljava/lang/StringBuilder;
}
SourceFile: "MerkleTree.java"
NestMembers:
org.apache.cassandra.utils.MerkleTree$Hashable org.apache.cassandra.utils.MerkleTree$Hashable$HashableSerializer org.apache.cassandra.utils.MerkleTree$Inner org.apache.cassandra.utils.MerkleTree$Inner$InnerSerializer org.apache.cassandra.utils.MerkleTree$Leaf org.apache.cassandra.utils.MerkleTree$Leaf$LeafSerializer org.apache.cassandra.utils.MerkleTree$MerkleTreeSerializer org.apache.cassandra.utils.MerkleTree$RowHash org.apache.cassandra.utils.MerkleTree$StopRecursion org.apache.cassandra.utils.MerkleTree$StopRecursion$BadRange org.apache.cassandra.utils.MerkleTree$StopRecursion$InvalidHash org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep org.apache.cassandra.utils.MerkleTree$TreeDifference org.apache.cassandra.utils.MerkleTree$TreeRange org.apache.cassandra.utils.MerkleTree$TreeRangeIterator
InnerClasses:
abstract Hashable = org.apache.cassandra.utils.MerkleTree$Hashable of org.apache.cassandra.utils.MerkleTree
Inner = org.apache.cassandra.utils.MerkleTree$Inner of org.apache.cassandra.utils.MerkleTree
Leaf = org.apache.cassandra.utils.MerkleTree$Leaf of org.apache.cassandra.utils.MerkleTree
public MerkleTreeSerializer = org.apache.cassandra.utils.MerkleTree$MerkleTreeSerializer of org.apache.cassandra.utils.MerkleTree
public RowHash = org.apache.cassandra.utils.MerkleTree$RowHash of org.apache.cassandra.utils.MerkleTree
abstract StopRecursion = org.apache.cassandra.utils.MerkleTree$StopRecursion of org.apache.cassandra.utils.MerkleTree
BadRange = org.apache.cassandra.utils.MerkleTree$StopRecursion$BadRange of org.apache.cassandra.utils.MerkleTree$StopRecursion
TooDeep = org.apache.cassandra.utils.MerkleTree$StopRecursion$TooDeep of org.apache.cassandra.utils.MerkleTree$StopRecursion
public TreeDifference = org.apache.cassandra.utils.MerkleTree$TreeDifference of org.apache.cassandra.utils.MerkleTree
public TreeRange = org.apache.cassandra.utils.MerkleTree$TreeRange of org.apache.cassandra.utils.MerkleTree
public TreeRangeIterator = org.apache.cassandra.utils.MerkleTree$TreeRangeIterator of org.apache.cassandra.utils.MerkleTree