public class org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir implements com.codahale.metrics.Reservoir
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir
super_class: java.lang.Object
{
public static final int DEFAULT_BUCKET_COUNT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 164
public static final boolean DEFAULT_ZERO_CONSIDERATION;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final long[] DEFAULT_WITHOUT_ZERO_BUCKET_OFFSETS;
descriptor: [J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long[] DEFAULT_WITH_ZERO_BUCKET_OFFSETS;
descriptor: [J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final long[] bucketOffsets;
descriptor: [J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLongArray decayingBuckets;
descriptor: Ljava/util/concurrent/atomic/AtomicLongArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLongArray buckets;
descriptor: Ljava/util/concurrent/atomic/AtomicLongArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final long HALF_TIME_IN_S;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 60
public static final double MEAN_LIFETIME_IN_S;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long LANDMARK_RESET_INTERVAL_IN_MS;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1800000
private final java.util.concurrent.atomic.AtomicBoolean rescaling;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile long decayLandmark;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.concurrent.locks.ReentrantReadWriteLock lock;
descriptor: Ljava/util/concurrent/locks/ReentrantReadWriteLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.codahale.metrics.Clock clock;
descriptor: Lcom/codahale/metrics/Clock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.nio.charset.Charset UTF_8;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: sipush 164
iconst_0
invokestatic org.apache.cassandra.utils.EstimatedHistogram.newOffsets:(IZ)[J
putstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.DEFAULT_WITHOUT_ZERO_BUCKET_OFFSETS:[J
1: sipush 164
iconst_1
invokestatic org.apache.cassandra.utils.EstimatedHistogram.newOffsets:(IZ)[J
putstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.DEFAULT_WITH_ZERO_BUCKET_OFFSETS:[J
2: ldc 60.0
ldc 2.0
invokestatic java.lang.Math.log:(D)D
ddiv
putstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.MEAN_LIFETIME_IN_S:D
3: ldc "UTF-8"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.UTF_8:Ljava/nio/charset/Charset;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
sipush 164
invokestatic com.codahale.metrics.Clock.defaultClock:()Lcom/codahale/metrics/Clock;
invokespecial org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.<init>:(ZILcom/codahale/metrics/Clock;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
sipush 164
invokestatic com.codahale.metrics.Clock.defaultClock:()Lcom/codahale/metrics/Clock;
invokespecial org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.<init>:(ZILcom/codahale/metrics/Clock;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 2 1 considerZeroes Z
MethodParameters:
Name Flags
considerZeroes
public void <init>(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokestatic com.codahale.metrics.Clock.defaultClock:()Lcom/codahale/metrics/Clock;
invokespecial org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.<init>:(ZILcom/codahale/metrics/Clock;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 2 1 considerZeroes Z
0 2 2 bucketCount I
MethodParameters:
Name Flags
considerZeroes
bucketCount
void <init>(boolean, int, com.codahale.metrics.Clock);
descriptor: (ZILcom/codahale/metrics/Clock;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaling:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
3: iload 2
sipush 164
if_icmpne 9
4: iload 1
ifeq 7
5: aload 0
getstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.DEFAULT_WITH_ZERO_BUCKET_OFFSETS:[J
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
6: goto 10
7: StackMap locals: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir int int com.codahale.metrics.Clock
StackMap stack:
aload 0
getstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.DEFAULT_WITHOUT_ZERO_BUCKET_OFFSETS:[J
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 1
invokestatic org.apache.cassandra.utils.EstimatedHistogram.newOffsets:(IZ)[J
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
10: StackMap locals:
StackMap stack:
aload 0
new java.util.concurrent.atomic.AtomicLongArray
dup
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
arraylength
iconst_1
iadd
invokespecial java.util.concurrent.atomic.AtomicLongArray.<init>:(I)V
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
11: aload 0
new java.util.concurrent.atomic.AtomicLongArray
dup
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
arraylength
iconst_1
iadd
invokespecial java.util.concurrent.atomic.AtomicLongArray.<init>:(I)V
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.buckets:Ljava/util/concurrent/atomic/AtomicLongArray;
12: aload 0
aload 3
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.clock:Lcom/codahale/metrics/Clock;
13: aload 0
aload 3
invokevirtual com.codahale.metrics.Clock.getTime:()J
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayLandmark:J
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 15 1 considerZeroes Z
0 15 2 bucketCount I
0 15 3 clock Lcom/codahale/metrics/Clock;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
considerZeroes
bucketCount
clock
public void update(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.clock:Lcom/codahale/metrics/Clock;
invokevirtual com.codahale.metrics.Clock.getTime:()J
lstore 3
start local 3 1: aload 0
lload 3
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaleIfNeeded:(J)V
2: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.bucketOffsets:[J
lload 1
invokestatic java.util.Arrays.binarySearch:([JJ)I
istore 5
start local 5 3: iload 5
ifge 5
4: iload 5
ineg
iconst_1
isub
istore 5
5: StackMap locals: long int
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lockForRegularUsage:()V
6: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 5
aload 0
lload 3
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.forwardDecayWeight:(J)D
invokestatic java.lang.Math.round:(D)J
invokevirtual java.util.concurrent.atomic.AtomicLongArray.getAndAdd:(IJ)J
pop2
7: goto 11
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
9: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRegularUsage:()V
10: aload 6
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRegularUsage:()V
12: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.buckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 5
invokevirtual java.util.concurrent.atomic.AtomicLongArray.getAndIncrement:(I)J
pop2
13: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 14 1 value J
1 14 3 now J
3 14 5 index I
Exception table:
from to target type
6 8 8 any
MethodParameters:
Name Flags
value
private double forwardDecayWeight(long);
descriptor: (J)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayLandmark:J
lsub
ldc 1000
ldiv
l2d
getstatic org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.MEAN_LIFETIME_IN_S:D
ddiv
invokestatic java.lang.Math.exp:(D)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 1 1 now J
MethodParameters:
Name Flags
now
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.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
public com.codahale.metrics.Snapshot getSnapshot();
descriptor: ()Lcom/codahale/metrics/Snapshot;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaleIfNeeded:()V
1: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lockForRegularUsage:()V
2: new org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot
dup
aload 0
aload 0
invokespecial org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot.<init>:(Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;)V
astore 2
3: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRegularUsage:()V
4: aload 2
areturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
6: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRegularUsage:()V
7: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
Exception table:
from to target type
2 3 5 any
boolean isOverflowed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
iconst_1
isub
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lconst_0
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
private void rescaleIfNeeded();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.clock:Lcom/codahale/metrics/Clock;
invokevirtual com.codahale.metrics.Clock.getTime:()J
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaleIfNeeded:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
private void rescaleIfNeeded(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.needRescale:(J)Z
ifeq 8
1: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaling:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 8
2: aload 0
lload 1
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescale:(J)V
3: goto 7
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
5: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaling:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
6: aload 3
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.rescaling:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 9 1 now J
Exception table:
from to target type
2 4 4 any
MethodParameters:
Name Flags
now
private void rescale(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.needRescale:(J)Z
ifeq 16
1: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lockForRescale:()V
2: aload 0
lload 1
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.forwardDecayWeight:(J)D
dstore 3
start local 3 3: aload 0
lload 1
putfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayLandmark:J
4: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: double int int
StackMap stack:
aload 0
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 3
ddiv
invokestatic java.lang.Math.round:(D)J
lstore 7
start local 7 8: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 6
lload 7
invokevirtual java.util.concurrent.atomic.AtomicLongArray.set:(IJ)V
end local 7 9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 5
if_icmplt 7
end local 6 end local 5 end local 3 11: goto 15
12: StackMap locals: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir long
StackMap stack: java.lang.Throwable
astore 9
13: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRescale:()V
14: aload 9
athrow
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRescale:()V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 17 1 now J
3 11 3 rescaleFactor D
5 11 5 bucketCount I
6 11 6 i I
8 9 7 newValue J
Exception table:
from to target type
2 12 12 any
MethodParameters:
Name Flags
now
private boolean needRescale(long);
descriptor: (J)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayLandmark:J
lsub
ldc 1800000
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
0 2 1 now J
MethodParameters:
Name Flags
now
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lockForRescale:()V
1: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.decayingBuckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 2
lconst_0
invokevirtual java.util.concurrent.atomic.AtomicLongArray.set:(IJ)V
5: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.buckets:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 2
lconst_0
invokevirtual java.util.concurrent.atomic.AtomicLongArray.set:(IJ)V
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 1
if_icmplt 4
end local 2 end local 1 8: goto 12
9: StackMap locals: org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir
StackMap stack: java.lang.Throwable
astore 3
10: aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRescale:()V
11: aload 3
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.unlockForRescale:()V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
2 8 1 bucketCount I
3 8 2 i I
Exception table:
from to target type
1 9 9 any
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
private void lockForRegularUsage();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.readLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
private void unlockForRegularUsage();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.readLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
private void lockForRescale();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
private void unlockForRescale();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;
}
SourceFile: "DecayingEstimatedHistogramReservoir.java"
NestMembers:
org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot
InnerClasses:
public ReadLock = java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock of java.util.concurrent.locks.ReentrantReadWriteLock
public WriteLock = java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock of java.util.concurrent.locks.ReentrantReadWriteLock
private EstimatedHistogramReservoirSnapshot = org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir$EstimatedHistogramReservoirSnapshot of org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir