class org.apache.cassandra.metrics.TableMetrics$21 implements com.codahale.metrics.Gauge<java.lang.Long>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.metrics.TableMetrics$21
super_class: java.lang.Object
{
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$21.this$0:Lorg/apache/cassandra/metrics/TableMetrics;
aload 0
aload 2
putfield org.apache.cassandra.metrics.TableMetrics$21.val$cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
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/metrics/TableMetrics$21;
MethodParameters:
Name Flags
this$0 final
val$cfs final
public java.lang.Long getValue();
descriptor: ()Ljava/lang/Long;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: lconst_0
lstore 3
start local 3 2: aload 0
getfield org.apache.cassandra.metrics.TableMetrics$21.val$cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL: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 6
goto 7
StackMap locals: org.apache.cassandra.metrics.TableMetrics$21 long long top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 5
start local 5 4: aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedPartitionSize:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.count:()J
lstore 7
start local 7 5: lload 1
aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedPartitionSize:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
lload 7
lmul
ladd
lstore 1
6: lload 3
lload 7
ladd
lstore 3
end local 7 end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: lload 3
lconst_0
lcmp
ifle 9
lload 1
lload 3
ldiv
goto 10
StackMap locals: org.apache.cassandra.metrics.TableMetrics$21 long long
StackMap stack:
9: lconst_0
StackMap locals:
StackMap stack: long
10: invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/metrics/TableMetrics$21;
1 11 1 sum J
2 11 3 count J
4 7 5 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
5 7 7 n J
public java.lang.Object getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.metrics.TableMetrics$21.getValue:()Ljava/lang/Long;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/codahale/metrics/Gauge<Ljava/lang/Long;>;
SourceFile: "TableMetrics.java"
EnclosingMethod: org.apache.cassandra.metrics.TableMetrics.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
NestHost: org.apache.cassandra.metrics.TableMetrics
InnerClasses:
org.apache.cassandra.metrics.TableMetrics$21