public class org.apache.cassandra.utils.StatusLogger
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.StatusLogger
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/utils/StatusLogger;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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/utils/StatusLogger;
public static void log();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=9, args_size=0
0: invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 0
start local 0 1: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%10s%15s%10s%18s"
bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "Pool Name"
aastore
dup
iconst_1
ldc "Active"
aastore
dup
iconst_2
ldc "Pending"
aastore
dup
iconst_3
ldc "Completed"
aastore
dup
iconst_4
ldc "Blocked"
aastore
dup
iconst_5
ldc "All Time Blocked"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
2: aload 0
invokestatic org.apache.cassandra.metrics.ThreadPoolMetrics.getJmxThreadPools:(Ljavax/management/MBeanServerConnection;)Lcom/google/common/collect/Multimap;
invokeinterface com.google.common.collect.Multimap.entries:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 12
StackMap locals: javax.management.MBeanServer top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 4: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%10s%15s%10s%18s%n"
bipush 6
anewarray java.lang.Object
dup
iconst_0
5: aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aastore
dup
iconst_1
6: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "ActiveTasks"
invokestatic org.apache.cassandra.metrics.ThreadPoolMetrics.getJmxMetric:(Ljavax/management/MBeanServerConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
aastore
dup
iconst_2
7: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "PendingTasks"
invokestatic org.apache.cassandra.metrics.ThreadPoolMetrics.getJmxMetric:(Ljavax/management/MBeanServerConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
aastore
dup
iconst_3
8: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "CompletedTasks"
invokestatic org.apache.cassandra.metrics.ThreadPoolMetrics.getJmxMetric:(Ljavax/management/MBeanServerConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
aastore
dup
iconst_4
9: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "CurrentlyBlockedTasks"
invokestatic org.apache.cassandra.metrics.ThreadPoolMetrics.getJmxMetric:(Ljavax/management/MBeanServerConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
aastore
dup
iconst_5
10: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "TotalBlockedTasks"
invokestatic org.apache.cassandra.metrics.ThreadPoolMetrics.getJmxMetric:(Ljavax/management/MBeanServerConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
aastore
11: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
13: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%10s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
14: ldc "CompactionManager"
aastore
dup
iconst_1
getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.getActiveCompactions:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.getPendingTasks:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
15: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
16: iconst_0
istore 1
start local 1 17: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
invokevirtual org.apache.cassandra.net.MessagingService.getLargeMessagePendingTasks:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 20
StackMap locals: javax.management.MBeanServer int top java.util.Iterator
StackMap stack:
18: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 19: iload 1
iload 2
iadd
istore 1
end local 2 20: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: iconst_0
istore 2
start local 2 22: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
invokevirtual org.apache.cassandra.net.MessagingService.getSmallMessagePendingTasks:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals: javax.management.MBeanServer int int top java.util.Iterator
StackMap stack:
23: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 24: iload 2
iload 3
iadd
istore 2
end local 3 25: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
26: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%10s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
27: ldc "MessagingService"
aastore
dup
iconst_1
ldc "n/a"
aastore
dup
iconst_2
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
28: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
29: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.keyCache:Lorg/apache/cassandra/cache/AutoSavingCache;
astore 3
start local 3 30: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
astore 4
start local 4 31: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getKeyCacheKeysToSave:()I
istore 5
start local 5 32: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRowCacheKeysToSave:()I
istore 6
start local 6 33: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%25s%25s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
34: ldc "Cache Type"
aastore
dup
iconst_1
ldc "Size"
aastore
dup
iconst_2
ldc "Capacity"
aastore
dup
iconst_3
ldc "KeysToSave"
aastore
35: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
36: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%25s%25s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
37: ldc "KeyCache"
aastore
dup
iconst_1
38: aload 3
invokevirtual org.apache.cassandra.cache.AutoSavingCache.weightedSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
39: aload 3
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
40: iload 5
ldc 2147483647
if_icmpne 41
ldc "all"
goto 42
StackMap locals: javax.management.MBeanServer int int org.apache.cassandra.cache.AutoSavingCache org.apache.cassandra.cache.AutoSavingCache int int
StackMap stack: org.slf4j.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
41: iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
StackMap locals: javax.management.MBeanServer int int org.apache.cassandra.cache.AutoSavingCache org.apache.cassandra.cache.AutoSavingCache int int
StackMap stack: org.slf4j.Logger java.lang.String java.lang.Object[] java.lang.Object[] int java.io.Serializable
42: aastore
43: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
44: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%10s%25s%25s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
45: ldc "RowCache"
aastore
dup
iconst_1
46: aload 4
invokevirtual org.apache.cassandra.cache.AutoSavingCache.weightedSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
47: aload 4
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
48: iload 6
ldc 2147483647
if_icmpne 49
ldc "all"
goto 50
StackMap locals: javax.management.MBeanServer int int org.apache.cassandra.cache.AutoSavingCache org.apache.cassandra.cache.AutoSavingCache int int
StackMap stack: org.slf4j.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
49: iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
StackMap locals: javax.management.MBeanServer int int org.apache.cassandra.cache.AutoSavingCache org.apache.cassandra.cache.AutoSavingCache int int
StackMap stack: org.slf4j.Logger java.lang.String java.lang.Object[] java.lang.Object[] int java.io.Serializable
50: aastore
51: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
52: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%20s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "Table"
aastore
dup
iconst_1
ldc "Memtable ops,data"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
53: invokestatic org.apache.cassandra.db.ColumnFamilyStore.all:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 8
goto 59
StackMap locals: javax.management.MBeanServer int int org.apache.cassandra.cache.AutoSavingCache org.apache.cassandra.cache.AutoSavingCache int int top java.util.Iterator
StackMap stack:
54: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 7
start local 7 55: getstatic org.apache.cassandra.utils.StatusLogger.logger:Lorg/slf4j/Logger;
ldc "%-25s%20s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
56: new java.lang.StringBuilder
dup
aload 7
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
57: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 7
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.memtableColumnsCount:Lcom/codahale/metrics/Gauge;
invokeinterface com.codahale.metrics.Gauge.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.memtableLiveDataSize:Lcom/codahale/metrics/Gauge;
invokeinterface com.codahale.metrics.Gauge.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
58: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
end local 7 59: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 54
60: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 61 0 server Ljavax/management/MBeanServer;
4 12 1 tpool Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
17 61 1 pendingLargeMessages I
19 20 2 n I
22 61 2 pendingSmallMessages I
24 25 3 n I
30 61 3 keyCache Lorg/apache/cassandra/cache/AutoSavingCache<Lorg/apache/cassandra/cache/KeyCacheKey;Lorg/apache/cassandra/db/RowIndexEntry;>;
31 61 4 rowCache Lorg/apache/cassandra/cache/AutoSavingCache<Lorg/apache/cassandra/cache/RowCacheKey;Lorg/apache/cassandra/cache/IRowCacheEntry;>;
32 61 5 keyCacheKeysToSave I
33 61 6 rowCacheKeysToSave I
55 59 7 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
}
SourceFile: "StatusLogger.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map