public class org.apache.cassandra.dht.Murmur3Partitioner implements org.apache.cassandra.dht.IPartitioner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.dht.Murmur3Partitioner
super_class: java.lang.Object
{
public static final org.apache.cassandra.dht.Murmur3Partitioner$LongToken MINIMUM;
descriptor: Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long MAXIMUM;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 9223372036854775807
private static final int HEAP_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.apache.cassandra.dht.Murmur3Partitioner instance;
descriptor: Lorg/apache/cassandra/dht/Murmur3Partitioner;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.cassandra.db.marshal.AbstractType<?> partitionOrdering;
descriptor: Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/apache/cassandra/db/marshal/AbstractType<*>;
private final org.apache.cassandra.dht.Splitter splitter;
descriptor: Lorg/apache/cassandra/dht/Splitter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.dht.Token$TokenFactory tokenFactory;
descriptor: Lorg/apache/cassandra/dht/Token$TokenFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
ldc -9223372036854775808
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
putstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
1: getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
invokestatic org.apache.cassandra.utils.ObjectSizes.measureDeep:(Ljava/lang/Object;)J
l2i
putstatic org.apache.cassandra.dht.Murmur3Partitioner.HEAP_SIZE:I
2: new org.apache.cassandra.dht.Murmur3Partitioner
dup
invokespecial org.apache.cassandra.dht.Murmur3Partitioner.<init>:()V
putstatic org.apache.cassandra.dht.Murmur3Partitioner.instance:Lorg/apache/cassandra/dht/Murmur3Partitioner;
3: new org.apache.cassandra.db.marshal.PartitionerDefinedOrder
dup
getstatic org.apache.cassandra.dht.Murmur3Partitioner.instance:Lorg/apache/cassandra/dht/Murmur3Partitioner;
invokespecial org.apache.cassandra.db.marshal.PartitionerDefinedOrder.<init>:(Lorg/apache/cassandra/dht/IPartitioner;)V
putstatic org.apache.cassandra.dht.Murmur3Partitioner.partitionOrdering:Lorg/apache/cassandra/db/marshal/AbstractType;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.cassandra.dht.Murmur3Partitioner$1
dup
aload 0
aload 0
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$1.<init>:(Lorg/apache/cassandra/dht/Murmur3Partitioner;Lorg/apache/cassandra/dht/IPartitioner;)V
putfield org.apache.cassandra.dht.Murmur3Partitioner.splitter:Lorg/apache/cassandra/dht/Splitter;
2: aload 0
new org.apache.cassandra.dht.Murmur3Partitioner$2
dup
aload 0
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$2.<init>:(Lorg/apache/cassandra/dht/Murmur3Partitioner;)V
putfield org.apache.cassandra.dht.Murmur3Partitioner.tokenFactory:Lorg/apache/cassandra/dht/Token$TokenFactory;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
public org.apache.cassandra.db.DecoratedKey decorateKey(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getHash:(Ljava/nio/ByteBuffer;)[J
astore 2
start local 2 1: new org.apache.cassandra.db.PreHashedDecoratedKey
dup
aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getToken:(Ljava/nio/ByteBuffer;[J)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
aload 1
aload 2
iconst_0
laload
aload 2
iconst_1
laload
invokespecial org.apache.cassandra.db.PreHashedDecoratedKey.<init>:(Lorg/apache/cassandra/dht/Token;Ljava/nio/ByteBuffer;JJ)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 2 1 key Ljava/nio/ByteBuffer;
1 2 2 hash [J
MethodParameters:
Name Flags
key
public org.apache.cassandra.dht.Token midpoint(org.apache.cassandra.dht.Token, org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/dht/Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 3
start local 3 1: aload 2
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 4
start local 4 2: aload 3
aload 4
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifge 6
3: aload 3
aload 4
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 6
start local 6 4: aload 6
iconst_1
invokevirtual java.math.BigInteger.shiftRight:(I)Ljava/math/BigInteger;
astore 5
end local 6 start local 5 5: goto 11
end local 5 6: StackMap locals: java.math.BigInteger java.math.BigInteger
StackMap stack:
ldc 9223372036854775807
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 6
start local 6 7: getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 7
start local 7 8: aload 6
aload 7
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 3
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 4
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
iconst_1
invokevirtual java.math.BigInteger.shiftRight:(I)Ljava/math/BigInteger;
astore 5
start local 5 9: aload 5
aload 6
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifle 11
10: aload 7
aload 5
aload 6
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 5
end local 7 end local 6 11: StackMap locals: java.math.BigInteger
StackMap stack:
new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
aload 5
invokevirtual java.math.BigInteger.longValue:()J
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
areturn
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 12 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 12 1 lToken Lorg/apache/cassandra/dht/Token;
0 12 2 rToken Lorg/apache/cassandra/dht/Token;
1 12 3 l Ljava/math/BigInteger;
2 12 4 r Ljava/math/BigInteger;
5 6 5 midpoint Ljava/math/BigInteger;
9 12 5 midpoint Ljava/math/BigInteger;
4 5 6 sum Ljava/math/BigInteger;
7 11 6 max Ljava/math/BigInteger;
8 11 7 min Ljava/math/BigInteger;
MethodParameters:
Name Flags
lToken
rToken
public org.apache.cassandra.dht.Token split(org.apache.cassandra.dht.Token, org.apache.cassandra.dht.Token, double);
descriptor: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;D)Lorg/apache/cassandra/dht/Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigDecimal.valueOf:(J)Ljava/math/BigDecimal;
astore 5
start local 5 1: aload 2
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigDecimal.valueOf:(J)Ljava/math/BigDecimal;
astore 6
start local 6 2: dload 3
invokestatic java.math.BigDecimal.valueOf:(D)Ljava/math/BigDecimal;
astore 7
start local 7 3: aload 5
aload 6
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifge 6
4: aload 6
aload 5
invokevirtual java.math.BigDecimal.subtract:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
aload 7
invokevirtual java.math.BigDecimal.multiply:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
aload 5
invokevirtual java.math.BigDecimal.add:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.toBigInteger:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.longValue:()J
lstore 8
start local 8 5: goto 15
end local 8 6: StackMap locals: java.math.BigDecimal java.math.BigDecimal java.math.BigDecimal
StackMap stack:
ldc 9223372036854775807
invokestatic java.math.BigDecimal.valueOf:(J)Ljava/math/BigDecimal;
astore 10
start local 10 7: getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigDecimal.valueOf:(J)Ljava/math/BigDecimal;
astore 11
start local 11 8: aload 10
aload 11
invokevirtual java.math.BigDecimal.subtract:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
aload 6
invokevirtual java.math.BigDecimal.add:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
aload 5
invokevirtual java.math.BigDecimal.subtract:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
aload 7
invokevirtual java.math.BigDecimal.multiply:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
aload 5
invokevirtual java.math.BigDecimal.add:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.toBigInteger:()Ljava/math/BigInteger;
astore 12
start local 12 9: ldc 9223372036854775807
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 13
start local 13 10: aload 12
aload 13
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifgt 13
11: aload 12
invokevirtual java.math.BigInteger.longValue:()J
lstore 8
start local 8 12: goto 15
end local 8 13: StackMap locals: org.apache.cassandra.dht.Murmur3Partitioner org.apache.cassandra.dht.Token org.apache.cassandra.dht.Token double java.math.BigDecimal java.math.BigDecimal java.math.BigDecimal top top java.math.BigDecimal java.math.BigDecimal java.math.BigInteger java.math.BigInteger
StackMap stack:
getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 14
start local 14 14: aload 14
aload 12
aload 13
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.longValue:()J
lstore 8
end local 14 end local 13 end local 12 end local 11 end local 10 start local 8 15: StackMap locals: org.apache.cassandra.dht.Murmur3Partitioner org.apache.cassandra.dht.Token org.apache.cassandra.dht.Token double java.math.BigDecimal java.math.BigDecimal java.math.BigDecimal long
StackMap stack:
new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
lload 8
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
areturn
end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 16 1 lToken Lorg/apache/cassandra/dht/Token;
0 16 2 rToken Lorg/apache/cassandra/dht/Token;
0 16 3 ratioToLeft D
1 16 5 l Ljava/math/BigDecimal;
2 16 6 r Ljava/math/BigDecimal;
3 16 7 ratio Ljava/math/BigDecimal;
5 6 8 newToken J
12 13 8 newToken J
15 16 8 newToken J
7 15 10 max Ljava/math/BigDecimal;
8 15 11 min Ljava/math/BigDecimal;
9 15 12 token Ljava/math/BigInteger;
10 15 13 maxToken Ljava/math/BigInteger;
14 15 14 minToken Ljava/math/BigInteger;
MethodParameters:
Name Flags
lToken
rToken
ratioToLeft
public org.apache.cassandra.dht.Murmur3Partitioner$LongToken getMinimumToken();
descriptor: ()Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
public org.apache.cassandra.dht.Murmur3Partitioner$LongToken getToken(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
aload 1
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getHash:(Ljava/nio/ByteBuffer;)[J
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getToken:(Ljava/nio/ByteBuffer;[J)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 1 1 key Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
key
private org.apache.cassandra.dht.Murmur3Partitioner$LongToken getToken(java.nio.ByteBuffer, long[]);
descriptor: (Ljava/nio/ByteBuffer;[J)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 2
1: getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
aload 0
aload 2
iconst_0
laload
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.normalize:(J)J
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 3 1 key Ljava/nio/ByteBuffer;
0 3 2 hash [J
MethodParameters:
Name Flags
key
hash
private long[] getHash(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)[J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: iconst_2
newarray 11
astore 2
start local 2 1: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
lconst_0
aload 2
invokestatic org.apache.cassandra.utils.MurmurHash.hash3_x64_128:(Ljava/nio/ByteBuffer;IIJ[J)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 3 1 key Ljava/nio/ByteBuffer;
1 3 2 hash [J
MethodParameters:
Name Flags
key
public org.apache.cassandra.dht.Murmur3Partitioner$LongToken getRandomToken();
descriptor: ()Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.concurrent.ThreadLocalRandom.current:()Ljava/util/concurrent/ThreadLocalRandom;
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getRandomToken:(Ljava/util/Random;)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
public org.apache.cassandra.dht.Murmur3Partitioner$LongToken getRandomToken(java.util.Random);
descriptor: (Ljava/util/Random;)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
aload 0
aload 1
invokevirtual java.util.Random.nextLong:()J
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.normalize:(J)J
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 1 1 r Ljava/util/Random;
MethodParameters:
Name Flags
r
private long normalize(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc -9223372036854775808
lcmp
ifne 1
ldc 9223372036854775807
goto 2
StackMap locals:
StackMap stack:
1: lload 1
StackMap locals:
StackMap stack: long
2: lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 3 1 v J
MethodParameters:
Name Flags
v
public boolean preservesOrder();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
public java.util.Map<org.apache.cassandra.dht.Token, java.lang.Float> describeOwnership(java.util.List<org.apache.cassandra.dht.Token>);
descriptor: (Ljava/util/List;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
3: new java.lang.RuntimeException
dup
ldc "No nodes present in the cluster. Has this node finished starting up?"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.util.Map java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 6
5: aload 2
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Token
new java.lang.Float
dup
dconst_1
invokespecial java.lang.Float.<init>:(D)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
goto 20
6: StackMap locals:
StackMap stack:
ldc 9223372036854775807
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
getstatic org.apache.cassandra.dht.Murmur3Partitioner.MINIMUM:Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
lconst_1
ladd
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 4
start local 4 7: new java.math.BigDecimal
dup
aload 4
invokespecial java.math.BigDecimal.<init>:(Ljava/math/BigInteger;)V
astore 5
start local 5 8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Token
astore 6
start local 6 9: aload 6
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 7
start local 7 10: aload 7
astore 9
start local 9 11: goto 17
12: StackMap locals: org.apache.cassandra.dht.Murmur3Partitioner java.util.List java.util.Map java.util.Iterator java.math.BigInteger java.math.BigDecimal org.apache.cassandra.dht.Token java.math.BigInteger top java.math.BigInteger
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Token
astore 8
start local 8 13: aload 8
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
astore 7
14: new java.math.BigDecimal
dup
aload 7
aload 9
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 4
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 4
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokespecial java.math.BigDecimal.<init>:(Ljava/math/BigInteger;)V
aload 5
bipush 6
bipush 6
invokevirtual java.math.BigDecimal.divide:(Ljava/math/BigDecimal;II)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.floatValue:()F
fstore 10
start local 10 15: aload 2
aload 8
fload 10
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 7
astore 9
end local 10 end local 8 17: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
18: new java.math.BigDecimal
dup
aload 6
checkcast org.apache.cassandra.dht.Murmur3Partitioner$LongToken
getfield org.apache.cassandra.dht.Murmur3Partitioner$LongToken.token:J
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
aload 7
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 4
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 4
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokespecial java.math.BigDecimal.<init>:(Ljava/math/BigInteger;)V
aload 5
bipush 6
bipush 6
invokevirtual java.math.BigDecimal.divide:(Ljava/math/BigDecimal;II)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.floatValue:()F
fstore 10
start local 10 19: aload 2
aload 6
fload 10
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 7 end local 6 end local 5 end local 4 20: StackMap locals: org.apache.cassandra.dht.Murmur3Partitioner java.util.List java.util.Map java.util.Iterator
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
0 21 1 sortedTokens Ljava/util/List<Lorg/apache/cassandra/dht/Token;>;
1 21 2 ownerships Ljava/util/Map<Lorg/apache/cassandra/dht/Token;Ljava/lang/Float;>;
2 21 3 i Ljava/util/Iterator<Lorg/apache/cassandra/dht/Token;>;
7 20 4 ri Ljava/math/BigInteger;
8 20 5 r Ljava/math/BigDecimal;
9 20 6 start Lorg/apache/cassandra/dht/Token;
10 20 7 ti Ljava/math/BigInteger;
13 17 8 t Lorg/apache/cassandra/dht/Token;
11 20 9 tim1 Ljava/math/BigInteger;
15 17 10 age F
19 20 10 x F
Signature: (Ljava/util/List<Lorg/apache/cassandra/dht/Token;>;)Ljava/util/Map<Lorg/apache/cassandra/dht/Token;Ljava/lang/Float;>;
MethodParameters:
Name Flags
sortedTokens
public org.apache.cassandra.dht.Token$TokenFactory getTokenFactory();
descriptor: ()Lorg/apache/cassandra/dht/Token$TokenFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.dht.Murmur3Partitioner.tokenFactory:Lorg/apache/cassandra/dht/Token$TokenFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
public org.apache.cassandra.db.marshal.AbstractType<?> getTokenValidator();
descriptor: ()Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.marshal.LongType.instance:Lorg/apache/cassandra/db/marshal/LongType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
Signature: ()Lorg/apache/cassandra/db/marshal/AbstractType<*>;
public org.apache.cassandra.dht.Token getMaximumToken();
descriptor: ()Lorg/apache/cassandra/dht/Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
ldc 9223372036854775807
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
public org.apache.cassandra.db.marshal.AbstractType<?> partitionOrdering();
descriptor: ()Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.dht.Murmur3Partitioner.partitionOrdering:Lorg/apache/cassandra/db/marshal/AbstractType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
Signature: ()Lorg/apache/cassandra/db/marshal/AbstractType<*>;
public java.util.Optional<org.apache.cassandra.dht.Splitter> splitter();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.dht.Murmur3Partitioner.splitter:Lorg/apache/cassandra/dht/Splitter;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/Murmur3Partitioner;
Signature: ()Ljava/util/Optional<Lorg/apache/cassandra/dht/Splitter;>;
public org.apache.cassandra.dht.Token getToken(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/dht/Token;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getToken:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.dht.Token getRandomToken(java.util.Random);
descriptor: (Ljava/util/Random;)Lorg/apache/cassandra/dht/Token;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getRandomToken:(Ljava/util/Random;)Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.dht.Token getRandomToken();
descriptor: ()Lorg/apache/cassandra/dht/Token;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getRandomToken:()Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.dht.Token getMinimumToken();
descriptor: ()Lorg/apache/cassandra/dht/Token;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.dht.Murmur3Partitioner.getMinimumToken:()Lorg/apache/cassandra/dht/Murmur3Partitioner$LongToken;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Murmur3Partitioner.java"
NestMembers:
org.apache.cassandra.dht.Murmur3Partitioner$1 org.apache.cassandra.dht.Murmur3Partitioner$2 org.apache.cassandra.dht.Murmur3Partitioner$LongToken
InnerClasses:
org.apache.cassandra.dht.Murmur3Partitioner$1
org.apache.cassandra.dht.Murmur3Partitioner$2
public LongToken = org.apache.cassandra.dht.Murmur3Partitioner$LongToken of org.apache.cassandra.dht.Murmur3Partitioner
public abstract TokenFactory = org.apache.cassandra.dht.Token$TokenFactory of org.apache.cassandra.dht.Token