class org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot extends com.codahale.metrics.Snapshot
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot
super_class: com.codahale.metrics.Snapshot
{
private final long[] decayingBuckets;
descriptor: [J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir this$0;
descriptor: Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/metrics/DecayingEstimatedHistogramReservoir;
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.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir, org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir);
descriptor: (Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
1: aload 0
invokespecial com.codahale.metrics.Snapshot.<init>:()V
2: aload 2
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
istore 3
start local 3 3: aload 1
aload 1
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.clock:Lcom/codahale/metrics/Clock;
invokevirtual com.codahale.metrics.Clock.getTime:()J
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.forwardDecayWeight:(J)D
dstore 4
start local 4 4: aload 0
iload 3
newarray 11
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
5: iconst_0
istore 6
start local 6 6: goto 9
7: StackMap locals: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir int double int
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 6
aload 2
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 6
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
l2d
dload 4
ddiv
invokestatic java.lang.Math.round:(D)J
lastore
8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 3
if_icmplt 7
end local 6 10: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
0 11 2 reservoir Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
3 11 3 length I
4 11 4 rescaleFactor D
6 10 6 i I
MethodParameters:
Name Flags
this$0 final
reservoir
public double getValue(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.$assertionsDisabled:Z
ifne 2
dload 1
dconst_0
dcmpl
iflt 1
dload 1
dconst_1
dcmpg
ifle 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
iconst_1
isub
istore 3
start local 3 3: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 3
laload
lconst_0
lcmp
ifle 5
4: new java.lang.IllegalStateException
dup
ldc "Unable to compute when histogram overflowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.count:()J
l2d
dload 1
dmul
invokestatic java.lang.Math.ceil:(D)D
d2l
lstore 4
start local 4 6: lload 4
lconst_0
lcmp
ifne 8
7: dconst_0
dreturn
8: StackMap locals: long
StackMap stack:
lconst_0
lstore 6
start local 6 9: iconst_0
istore 8
start local 8 10: goto 15
11: StackMap locals: long int
StackMap stack:
lload 6
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 8
laload
ladd
lstore 6
12: lload 6
lload 4
lcmp
iflt 14
13: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
iload 8
laload
l2d
dreturn
14: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
iload 3
if_icmplt 11
end local 8 16: dconst_0
dreturn
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
0 17 1 quantile D
3 17 3 lastBucket I
6 17 4 qcount J
9 17 6 elements J
10 16 8 i I
MethodParameters:
Name Flags
quantile
public long[] getValues();
descriptor: ()[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.buckets:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
istore 1
start local 1 1: iload 1
newarray 11
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int long[] int
StackMap stack:
aload 2
iload 3
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.buckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 3
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
1 8 1 length I
2 8 2 values [J
3 7 3 i I
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
private long count();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: long int
StackMap stack:
lload 1
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 3
laload
ladd
lstore 1
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
if_icmplt 3
end local 3 6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
1 7 1 sum J
2 6 3 i I
public long getMax();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
iconst_1
isub
istore 1
start local 1 1: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 1
laload
lconst_0
lcmp
ifle 3
2: ldc 9223372036854775807
lreturn
3: StackMap locals: int
StackMap stack:
iload 1
iconst_1
isub
istore 2
start local 2 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 2
laload
lconst_0
lcmp
ifle 7
6: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
iload 2
laload
lreturn
7: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
8: iload 2
ifge 5
end local 2 9: lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
1 10 1 lastBucket I
4 9 2 i I
public double getMean();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
iconst_1
isub
istore 1
start local 1 1: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 1
laload
lconst_0
lcmp
ifle 3
2: new java.lang.IllegalStateException
dup
ldc "Unable to compute when histogram overflowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
lconst_0
lstore 2
start local 2 4: lconst_0
lstore 4
start local 4 5: iconst_0
istore 6
start local 6 6: goto 11
7: StackMap locals: long long int
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 6
laload
lstore 7
start local 7 8: lload 2
lload 7
ladd
lstore 2
9: lload 4
lload 7
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
iload 6
laload
lmul
ladd
lstore 4
end local 7 10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 1
if_icmplt 7
end local 6 12: lload 4
l2d
lload 2
l2d
ddiv
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
1 13 1 lastBucket I
4 13 2 elements J
5 13 4 sum J
6 12 6 i I
8 10 7 bCount J
public long getMin();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 1
laload
lconst_0
lcmp
ifle 6
3: iload 1
ifne 4
lconst_0
goto 5
StackMap locals:
StackMap stack:
4: lconst_1
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
iload 1
iconst_1
isub
laload
ladd
StackMap locals:
StackMap stack: long
5: lreturn
6: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
if_icmplt 2
end local 1 8: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
1 8 1 i I
public double getStdDev();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
iconst_1
isub
istore 1
start local 1 1: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 1
laload
lconst_0
lcmp
ifle 3
2: new java.lang.IllegalStateException
dup
ldc "Unable to compute when histogram overflowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.count:()J
lstore 2
start local 2 4: lload 2
lconst_1
lcmp
ifgt 6
5: dconst_0
dreturn
6: StackMap locals: long
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.getMean:()D
dstore 4
start local 4 7: dconst_0
dstore 6
start local 6 8: iconst_0
istore 8
start local 8 9: goto 14
10: StackMap locals: double double int
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.this$0:Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
iload 8
laload
lstore 9
start local 9 11: lload 9
l2d
dload 4
dsub
dstore 11
start local 11 12: dload 6
dload 11
dload 11
dmul
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 8
laload
l2d
dmul
dadd
dstore 6
end local 11 end local 9 13: iinc 8 1
StackMap locals:
StackMap stack:
14: iload 8
iload 1
if_icmplt 10
end local 8 15: dload 6
lload 2
lconst_1
lsub
l2d
ddiv
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
1 16 1 lastBucket I
4 16 2 count J
7 16 4 mean D
8 16 6 sum D
9 15 8 i I
11 13 9 value J
12 13 11 diff D
public void dump(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new java.io.PrintWriter
dup
new java.io.OutputStreamWriter
dup
aload 1
getstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 4
start local 4 2: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
arraylength
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 7
5: StackMap locals: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.PrintWriter int int
StackMap stack:
aload 4
ldc "%d%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.decayingBuckets:[J
iload 6
laload
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
iload 5
if_icmplt 5
end local 6 end local 5 8: aload 4
ifnull 14
aload 4
invokevirtual java.io.PrintWriter.close:()V
goto 14
StackMap locals: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.PrintWriter
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual java.io.PrintWriter.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot;
0 15 1 output Ljava/io/OutputStream;
2 10 4 out Ljava/io/PrintWriter;
3 8 5 length I
4 8 6 i I
Exception table:
from to target type
2 8 9 any
1 11 11 any
MethodParameters:
Name Flags
output
}
SourceFile: "DecayingEstimatedHistogramReservoir.java"
NestHost: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir
InnerClasses:
private EstimatedHistogramReservoirSnapshot = org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot of org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir