class org.apache.cassandra.metrics.CompactionMetrics$2 implements com.codahale.metrics.Gauge<java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Integer>>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.metrics.CompactionMetrics$2
super_class: java.lang.Object
{
final org.apache.cassandra.metrics.CompactionMetrics this$0;
descriptor: Lorg/apache/cassandra/metrics/CompactionMetrics;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.metrics.CompactionMetrics);
descriptor: (Lorg/apache/cassandra/metrics/CompactionMetrics;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.metrics.CompactionMetrics$2.this$0:Lorg/apache/cassandra/metrics/CompactionMetrics;
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/CompactionMetrics$2;
MethodParameters:
Name Flags
this$0 final
public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Integer>> getValue();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getKeyspaces:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStores:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map java.lang.String java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 4
start local 4 5: aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getEstimatedRemainingTasks:()I
istore 6
start local 6 6: iload 6
ifle 10
7: aload 1
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 9
8: aload 1
aload 2
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map java.lang.String java.util.Iterator org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator int
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTableName:()Ljava/lang/String;
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 10: StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map java.lang.String java.util.Iterator top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 11: StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: getstatic org.apache.cassandra.metrics.CompactionMetrics.compactions:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 26
StackMap locals:
StackMap stack:
13: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.compaction.CompactionInfo$Holder
astore 2
start local 2 14: aload 2
invokevirtual org.apache.cassandra.db.compaction.CompactionInfo$Holder.getCompactionInfo:()Lorg/apache/cassandra/db/compaction/CompactionInfo;
invokevirtual org.apache.cassandra.db.compaction.CompactionInfo.getCFMetaData:()Lorg/apache/cassandra/config/CFMetaData;
astore 4
start local 4 15: aload 4
ifnonnull 17
16: goto 26
17: StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map org.apache.cassandra.db.compaction.CompactionInfo$Holder java.util.Iterator org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 1
aload 4
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 19
18: aload 1
aload 4
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals:
StackMap stack:
aload 1
aload 4
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 5
start local 5 20: aload 5
aload 4
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 25
21: aload 5
aload 4
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
22: aload 5
aload 4
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
23: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: goto 26
25: StackMap locals: java.util.Map
StackMap stack:
aload 5
aload 4
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 2 26: StackMap locals: org.apache.cassandra.metrics.CompactionMetrics$2 java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
27: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/cassandra/metrics/CompactionMetrics$2;
1 28 1 resultMap Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;>;
3 11 2 keyspaceName Ljava/lang/String;
5 10 4 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
6 10 6 taskNumber I
14 26 2 compaction Lorg/apache/cassandra/db/compaction/CompactionInfo$Holder;
15 26 4 metaData Lorg/apache/cassandra/config/CFMetaData;
20 26 5 tableNameToCountMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;>;
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.CompactionMetrics$2.getValue:()Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/codahale/metrics/Gauge<Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;>;>;
SourceFile: "CompactionMetrics.java"
EnclosingMethod: org.apache.cassandra.metrics.CompactionMetrics.<init>:([Ljava/util/concurrent/ThreadPoolExecutor;)V
NestHost: org.apache.cassandra.metrics.CompactionMetrics
InnerClasses:
public abstract Holder = org.apache.cassandra.db.compaction.CompactionInfo$Holder of org.apache.cassandra.db.compaction.CompactionInfo
org.apache.cassandra.metrics.CompactionMetrics$2