class org.apache.cassandra.utils.TopKSampler$1 implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.utils.TopKSampler$1
super_class: java.lang.Object
{
final org.apache.cassandra.utils.TopKSampler this$0;
descriptor: Lorg/apache/cassandra/utils/TopKSampler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$lock;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$item;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$value;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final long val$hash;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.utils.TopKSampler, java.lang.Object, java.lang.Object, int, long);
descriptor: (Lorg/apache/cassandra/utils/TopKSampler;Ljava/lang/Object;Ljava/lang/Object;IJ)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=6
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.utils.TopKSampler$1.this$0:Lorg/apache/cassandra/utils/TopKSampler;
aload 0
aload 2
putfield org.apache.cassandra.utils.TopKSampler$1.val$lock:Ljava/lang/Object;
aload 0
aload 3
putfield org.apache.cassandra.utils.TopKSampler$1.val$item:Ljava/lang/Object;
aload 0
iload 4
putfield org.apache.cassandra.utils.TopKSampler$1.val$value:I
aload 0
lload 5
putfield org.apache.cassandra.utils.TopKSampler$1.val$hash:J
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/TopKSampler$1;
MethodParameters:
Name Flags
this$0 final
val$lock final
val$item final
val$value final
val$hash final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.val$lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.this$0:Lorg/apache/cassandra/utils/TopKSampler;
getfield org.apache.cassandra.utils.TopKSampler.enabled:Z
ifeq 7
2: aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.this$0:Lorg/apache/cassandra/utils/TopKSampler;
getfield org.apache.cassandra.utils.TopKSampler.summary:Lcom/clearspring/analytics/stream/StreamSummary;
aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.val$item:Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.val$value:I
invokevirtual com.clearspring.analytics.stream.StreamSummary.offer:(Ljava/lang/Object;I)Z
pop
3: aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.this$0:Lorg/apache/cassandra/utils/TopKSampler;
getfield org.apache.cassandra.utils.TopKSampler.hll:Lcom/clearspring/analytics/stream/cardinality/HyperLogLogPlus;
aload 0
getfield org.apache.cassandra.utils.TopKSampler$1.val$hash:J
invokevirtual com.clearspring.analytics.stream.cardinality.HyperLogLogPlus.offerHashed:(J)Z
pop
4: goto 7
StackMap locals: org.apache.cassandra.utils.TopKSampler$1 java.lang.Object
StackMap stack: java.lang.Exception
5: astore 2
start local 2 6: getstatic org.apache.cassandra.utils.TopKSampler.logger:Lorg/slf4j/Logger;
ldc "Failure to offer sample"
aload 2
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/utils/TopKSampler$1;
6 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
1 8 9 any
9 10 9 any
}
SourceFile: "TopKSampler.java"
EnclosingMethod: org.apache.cassandra.utils.TopKSampler.addSample:(Ljava/lang/Object;JI)V
NestHost: org.apache.cassandra.utils.TopKSampler
InnerClasses:
org.apache.cassandra.utils.TopKSampler$1