class org.apache.cassandra.metrics.TableMetrics$22 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$22
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
void <init>(org.apache.cassandra.metrics.TableMetrics);
descriptor: (Lorg/apache/cassandra/metrics/TableMetrics;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.metrics.TableMetrics$22.this$0:Lorg/apache/cassandra/metrics/TableMetrics;
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$22;
MethodParameters:
Name Flags
this$0 final
public java.lang.Long getValue();
descriptor: ()Ljava/lang/Long;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: lconst_0
lstore 3
start local 3 2: invokestatic org.apache.cassandra.db.Keyspace.all:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: org.apache.cassandra.metrics.TableMetrics$22 long long top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Keyspace
astore 5
start local 5 4: aload 5
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.Keyspace.getAllSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 9
StackMap locals: org.apache.cassandra.metrics.TableMetrics$22 long long org.apache.cassandra.db.Keyspace java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 7
start local 7 6: aload 7
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedPartitionSize:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.count:()J
lstore 9
start local 9 7: lload 1
aload 7
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedPartitionSize:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
lload 9
lmul
ladd
lstore 1
8: lload 3
lload 9
ladd
lstore 3
end local 9 end local 7 9: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 5 10: StackMap locals: org.apache.cassandra.metrics.TableMetrics$22 long long top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: lload 3
lconst_0
lcmp
ifle 12
lload 1
lload 3
ldiv
goto 13
StackMap locals: org.apache.cassandra.metrics.TableMetrics$22 long long
StackMap stack:
12: lconst_0
StackMap locals:
StackMap stack: long
13: 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 14 0 this Lorg/apache/cassandra/metrics/TableMetrics$22;
1 14 1 sum J
2 14 3 count J
4 10 5 keyspace Lorg/apache/cassandra/db/Keyspace;
6 9 7 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
7 9 9 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$22.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$22