public class org.apache.cassandra.metrics.CommitLogMetrics
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.metrics.CommitLogMetrics
super_class: java.lang.Object
{
public static final org.apache.cassandra.metrics.MetricNameFactory factory;
descriptor: Lorg/apache/cassandra/metrics/MetricNameFactory;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public com.codahale.metrics.Gauge<java.lang.Long> completedTasks;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0001) ACC_PUBLIC
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Long;>;
public com.codahale.metrics.Gauge<java.lang.Long> pendingTasks;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0001) ACC_PUBLIC
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Long;>;
public com.codahale.metrics.Gauge<java.lang.Long> totalCommitLogSize;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0001) ACC_PUBLIC
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Long;>;
public final com.codahale.metrics.Timer waitingOnSegmentAllocation;
descriptor: Lcom/codahale/metrics/Timer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final com.codahale.metrics.Timer waitingOnCommit;
descriptor: Lcom/codahale/metrics/Timer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.apache.cassandra.metrics.DefaultNameFactory
dup
ldc "CommitLog"
invokespecial org.apache.cassandra.metrics.DefaultNameFactory.<init>:(Ljava/lang/String;)V
putstatic org.apache.cassandra.metrics.CommitLogMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
getstatic org.apache.cassandra.metrics.CommitLogMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
ldc "WaitingOnSegmentAllocation"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.timer:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
putfield org.apache.cassandra.metrics.CommitLogMetrics.waitingOnSegmentAllocation:Lcom/codahale/metrics/Timer;
2: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
getstatic org.apache.cassandra.metrics.CommitLogMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
ldc "WaitingOnCommit"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.timer:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
putfield org.apache.cassandra.metrics.CommitLogMetrics.waitingOnCommit:Lcom/codahale/metrics/Timer;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/metrics/CommitLogMetrics;
public void attach(org.apache.cassandra.db.commitlog.AbstractCommitLogService, org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager);
descriptor: (Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
getstatic org.apache.cassandra.metrics.CommitLogMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
ldc "CompletedTasks"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CommitLogMetrics$1
dup
aload 0
aload 1
invokespecial org.apache.cassandra.metrics.CommitLogMetrics$1.<init>:(Lorg/apache/cassandra/metrics/CommitLogMetrics;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CommitLogMetrics.completedTasks:Lcom/codahale/metrics/Gauge;
1: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
getstatic org.apache.cassandra.metrics.CommitLogMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
ldc "PendingTasks"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CommitLogMetrics$2
dup
aload 0
aload 1
invokespecial org.apache.cassandra.metrics.CommitLogMetrics$2.<init>:(Lorg/apache/cassandra/metrics/CommitLogMetrics;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CommitLogMetrics.pendingTasks:Lcom/codahale/metrics/Gauge;
2: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
getstatic org.apache.cassandra.metrics.CommitLogMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
ldc "TotalCommitLogSize"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CommitLogMetrics$3
dup
aload 0
aload 2
invokespecial org.apache.cassandra.metrics.CommitLogMetrics$3.<init>:(Lorg/apache/cassandra/metrics/CommitLogMetrics;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CommitLogMetrics.totalCommitLogSize:Lcom/codahale/metrics/Gauge;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/metrics/CommitLogMetrics;
0 4 1 service Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
0 4 2 segmentManager Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;
MethodParameters:
Name Flags
service final
segmentManager final
}
SourceFile: "CommitLogMetrics.java"
NestMembers:
org.apache.cassandra.metrics.CommitLogMetrics$1 org.apache.cassandra.metrics.CommitLogMetrics$2 org.apache.cassandra.metrics.CommitLogMetrics$3
InnerClasses:
public MetricName = org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName of org.apache.cassandra.metrics.CassandraMetricsRegistry
org.apache.cassandra.metrics.CommitLogMetrics$1
org.apache.cassandra.metrics.CommitLogMetrics$2
org.apache.cassandra.metrics.CommitLogMetrics$3