class org.apache.cassandra.metrics.TableMetrics$1 implements com.codahale.metrics.Gauge<java.lang.Double>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.metrics.TableMetrics$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.cassandra.metrics.TableMetrics$1 this
0: .line 171
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.cassandra.metrics.TableMetrics$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/TableMetrics$1;
public java.lang.Double getValue();
descriptor: ()Ljava/lang/Double;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=1
start local 0 // org.apache.cassandra.metrics.TableMetrics$1 this
0: .line 175
dconst_0
dstore 1 /* repaired */
start local 1 // double repaired
1: .line 176
dconst_0
dstore 3 /* total */
start local 3 // double total
2: .line 177
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getNonSystemKeyspaces:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 19
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5 /* keyspace */
start local 5 // java.lang.String keyspace
4: .line 179
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 5 /* keyspace */
invokevirtual org.apache.cassandra.config.Schema.getKeyspaceInstance:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 7 /* k */
start local 7 // org.apache.cassandra.db.Keyspace k
5: .line 180
ldc "system_distributed"
aload 7 /* k */
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: .line 181
goto 19
7: .line 182
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double java.lang.String java.util.Iterator org.apache.cassandra.db.Keyspace
StackMap stack:
aload 7 /* k */
invokevirtual org.apache.cassandra.db.Keyspace.getReplicationStrategy:()Lorg/apache/cassandra/locator/AbstractReplicationStrategy;
invokevirtual org.apache.cassandra.locator.AbstractReplicationStrategy.getReplicationFactor:()I
iconst_2
if_icmpge 9
8: .line 183
goto 19
9: .line 185
StackMap locals:
StackMap stack:
aload 7 /* k */
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStores:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
goto 18
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double java.lang.String java.util.Iterator org.apache.cassandra.db.Keyspace top java.util.Iterator
StackMap stack:
10: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 8 /* cf */
start local 8 // org.apache.cassandra.db.ColumnFamilyStore cf
11: .line 187
aload 8 /* cf */
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokestatic org.apache.cassandra.index.SecondaryIndexManager.isIndexColumnFamily:(Ljava/lang/String;)Z
ifne 18
12: .line 189
aload 8 /* cf */
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 11
goto 17
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double java.lang.String java.util.Iterator org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator top java.util.Iterator
StackMap stack:
13: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 10 /* sstable */
start local 10 // org.apache.cassandra.io.sstable.format.SSTableReader sstable
14: .line 191
aload 10 /* sstable */
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.isRepaired:()Z
ifeq 16
15: .line 193
dload 1 /* repaired */
aload 10 /* sstable */
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.uncompressedLength:()J
l2d
dadd
dstore 1 /* repaired */
16: .line 195
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double java.lang.String java.util.Iterator org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator
StackMap stack:
dload 3 /* total */
aload 10 /* sstable */
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.uncompressedLength:()J
l2d
dadd
dstore 3 /* total */
end local 10 // org.apache.cassandra.io.sstable.format.SSTableReader sstable
17: .line 189
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double java.lang.String java.util.Iterator org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
end local 8 // org.apache.cassandra.db.ColumnFamilyStore cf
18: .line 185
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double java.lang.String java.util.Iterator org.apache.cassandra.db.Keyspace top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 7 // org.apache.cassandra.db.Keyspace k
end local 5 // java.lang.String keyspace
19: .line 177
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
20: .line 200
dload 3 /* total */
dconst_0
dcmpl
ifle 21
dload 1 /* repaired */
dload 3 /* total */
ddiv
ldc 100.0
dmul
goto 22
StackMap locals: org.apache.cassandra.metrics.TableMetrics$1 double double
StackMap stack:
21: ldc 100.0
StackMap locals:
StackMap stack: double
22: invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 3 // double total
end local 1 // double repaired
end local 0 // org.apache.cassandra.metrics.TableMetrics$1 this
LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/cassandra/metrics/TableMetrics$1;
1 23 1 repaired D
2 23 3 total D
4 19 5 keyspace Ljava/lang/String;
5 19 7 k Lorg/apache/cassandra/db/Keyspace;
11 18 8 cf Lorg/apache/cassandra/db/ColumnFamilyStore;
14 17 10 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
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: .line 1
aload 0
invokevirtual org.apache.cassandra.metrics.TableMetrics$1.getValue:()Ljava/lang/Double;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/codahale/metrics/Gauge<Ljava/lang/Double;>;
SourceFile: "TableMetrics.java"
EnclosingMethod: org.apache.cassandra.metrics.TableMetrics
NestHost: org.apache.cassandra.metrics.TableMetrics
InnerClasses:
org.apache.cassandra.metrics.TableMetrics$1