class org.apache.cassandra.gms.ArrayBackedBoundedStats
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.gms.ArrayBackedBoundedStats
super_class: java.lang.Object
{
private final long[] arrivalIntervals;
descriptor: [J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long sum;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean isFilled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private volatile double mean;
descriptor: D
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.sum:J
2: aload 0
iconst_0
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
3: aload 0
iconst_0
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.isFilled:Z
4: aload 0
dconst_0
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.mean:D
5: aload 0
iload 1
newarray 11
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.arrivalIntervals:[J
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/gms/ArrayBackedBoundedStats;
0 7 1 size I
MethodParameters:
Name Flags
size final
public void add(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.arrivalIntervals:[J
arraylength
if_icmpne 3
1: aload 0
iconst_1
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.isFilled:Z
2: aload 0
iconst_0
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.isFilled:Z
ifeq 5
4: aload 0
dup
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.sum:J
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.arrivalIntervals:[J
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
laload
lsub
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.sum:J
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.arrivalIntervals:[J
aload 0
dup
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
lload 1
lastore
6: aload 0
dup
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.sum:J
lload 1
ladd
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.sum:J
7: aload 0
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.sum:J
l2d
aload 0
invokevirtual org.apache.cassandra.gms.ArrayBackedBoundedStats.size:()I
i2d
ddiv
putfield org.apache.cassandra.gms.ArrayBackedBoundedStats.mean:D
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/gms/ArrayBackedBoundedStats;
0 9 1 interval J
MethodParameters:
Name Flags
interval
private int size();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.isFilled:Z
ifeq 1
aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.arrivalIntervals:[J
arraylength
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.index:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/gms/ArrayBackedBoundedStats;
public double mean();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.mean:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/ArrayBackedBoundedStats;
public long[] getArrivalIntervals();
descriptor: ()[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.gms.ArrayBackedBoundedStats.arrivalIntervals:[J
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/ArrayBackedBoundedStats;
}
SourceFile: "FailureDetector.java"