class org.apache.cassandra.metrics.TableMetrics$33 extends com.codahale.metrics.RatioGauge
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.metrics.TableMetrics$33
super_class: com.codahale.metrics.RatioGauge
{
final org.apache.cassandra.metrics.TableMetrics this$0;
descriptor: Lorg/apache/cassandra/metrics/TableMetrics;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.apache.cassandra.db.ColumnFamilyStore val$cfs;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.metrics.TableMetrics, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Lorg/apache/cassandra/metrics/TableMetrics;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.metrics.TableMetrics$33.this$0:Lorg/apache/cassandra/metrics/TableMetrics;
aload 0
aload 2
putfield org.apache.cassandra.metrics.TableMetrics$33.val$cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 0
invokespecial com.codahale.metrics.RatioGauge.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/TableMetrics$33;
MethodParameters:
Name Flags
this$0 final
val$cfs final
public com.codahale.metrics.RatioGauge$Ratio getRatio();
descriptor: ()Lcom/codahale/metrics/RatioGauge$Ratio;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.metrics.TableMetrics$33.getNumerator:()D
aload 0
invokevirtual org.apache.cassandra.metrics.TableMetrics$33.getDenominator:()D
invokestatic com.codahale.metrics.RatioGauge$Ratio.of:(DD)Lcom/codahale/metrics/RatioGauge$Ratio;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/TableMetrics$33;
protected double getNumerator();
descriptor: ()D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.metrics.TableMetrics$33.val$cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.LIVE:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.metrics.TableMetrics$33 long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 3: lload 1
aload 3
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getKeyCacheHit:()J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
l2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/metrics/TableMetrics$33;
1 6 1 hits J
3 4 3 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
protected double getDenominator();
descriptor: ()D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.metrics.TableMetrics$33.val$cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.LIVE:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.metrics.TableMetrics$33 long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 3: lload 1
aload 3
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getKeyCacheRequest:()J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lconst_1
invokestatic java.lang.Math.max:(JJ)J
l2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/metrics/TableMetrics$33;
1 6 1 requests J
3 4 3 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
}
SourceFile: "TableMetrics.java"
EnclosingMethod: org.apache.cassandra.metrics.TableMetrics.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
NestHost: org.apache.cassandra.metrics.TableMetrics
InnerClasses:
public Ratio = com.codahale.metrics.RatioGauge$Ratio of com.codahale.metrics.RatioGauge
org.apache.cassandra.metrics.TableMetrics$33