class org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker<Unit>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker
super_class: java.lang.Object
{
org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo<Unit> unitsChain;
descriptor: Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
flags: (0x0000)
Signature: Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;
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=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/dht/tokenallocator/ReplicationAwareTokenAllocator;
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.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo<Unit>);
descriptor: (Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/tokenallocator/ReplicationAwareTokenAllocator$UnitAdjustmentTracker<TUnit;>;
0 3 1 newUnit Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;
Signature: (Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;)V
MethodParameters:
Name Flags
newUnit
void add(org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo<Unit>, );
descriptor: (Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;D)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.prevUsed:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
ifnonnull 6
1: getstatic org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.prevUsed:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
ifnonnull 2
aload 1
aload 0
getfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 1
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.ownership:D
dload 2
dadd
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.adjustedOwnership:D
3: aload 1
aload 0
getfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.prevUsed:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
4: aload 0
aload 1
putfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
dup
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.adjustedOwnership:D
dload 2
dadd
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.adjustedOwnership:D
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/dht/tokenallocator/ReplicationAwareTokenAllocator$UnitAdjustmentTracker<TUnit;>;
0 8 1 currUnit Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;
0 8 2 diff D
Signature: (Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;D)V
MethodParameters:
Name Flags
currUnit
diff
double calculateUnitChange(double, double);
descriptor: (DD)D
flags: (0x0000)
Code:
stack=6, locals=17, args_size=3
start local 0 start local 1 start local 3 0: dconst_0
dstore 5
start local 5 1: aload 0
getfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
astore 7
start local 7 2: StackMap locals: double org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo
StackMap stack:
aload 7
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.adjustedOwnership:D
dstore 8
start local 8 3: aload 7
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.ownership:D
dstore 10
start local 10 4: aload 7
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.tokenCount:I
i2d
dstore 12
start local 12 5: dload 8
dload 12
ddiv
dload 3
dsub
invokestatic org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator.sq:(D)D
dload 10
dload 12
ddiv
dload 3
dsub
invokestatic org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator.sq:(D)D
dsub
dstore 14
start local 14 6: aload 7
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.prevUsed:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
astore 16
start local 16 7: aload 7
aconst_null
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo.prevUsed:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
8: aload 7
aload 16
if_acmpeq 10
9: dload 5
dload 14
dadd
dstore 5
goto 12
10: StackMap locals: org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker double double double org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo double double double double org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo
StackMap stack:
dload 5
dload 14
dload 1
dmul
dadd
dstore 5
11: goto 14
12: StackMap locals:
StackMap stack:
aload 16
astore 7
end local 16 end local 14 end local 12 end local 10 end local 8 13: goto 2
14: StackMap locals: org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker double double double org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo
StackMap stack:
aload 0
aload 7
putfield org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker.unitsChain:Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo;
15: dload 5
dreturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/dht/tokenallocator/ReplicationAwareTokenAllocator$UnitAdjustmentTracker<TUnit;>;
0 16 1 newUnitMult D
0 16 3 optTokenOwnership D
1 16 5 unitChange D
2 16 7 unitsChain Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;
3 13 8 newOwnership D
4 13 10 oldOwnership D
5 13 12 tokenCount D
6 13 14 diff D
7 13 16 prev Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$UnitInfo<TUnit;>;
MethodParameters:
Name Flags
newUnitMult
optTokenOwnership
}
Signature: <Unit:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ReplicationAwareTokenAllocator.java"
NestHost: org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator
InnerClasses:
private UnitAdjustmentTracker = org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator$UnitAdjustmentTracker of org.apache.cassandra.dht.tokenallocator.ReplicationAwareTokenAllocator
UnitInfo = org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$UnitInfo of org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase