class org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter extends org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean implements org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeterMBean
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter
super_class: org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean
{
private final com.codahale.metrics.Metered metric;
descriptor: Lcom/codahale/metrics/Metered;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double rateFactor;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String rateUnit;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(com.codahale.metrics.Metered, javax.management.ObjectName, java.util.concurrent.TimeUnit);
descriptor: (Lcom/codahale/metrics/Metered;Ljavax/management/ObjectName;Ljava/util/concurrent/TimeUnit;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean.<init>:(Ljavax/management/ObjectName;)V
1: aload 0
aload 1
putfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.metric:Lcom/codahale/metrics/Metered;
2: aload 0
aload 3
lconst_1
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
l2d
putfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateFactor:D
3: aload 0
new java.lang.StringBuilder
dup
ldc "events/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 3
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.calculateRateUnit:(Ljava/util/concurrent/TimeUnit;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateUnit:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
0 5 1 metric Lcom/codahale/metrics/Metered;
0 5 2 objectName Ljavax/management/ObjectName;
0 5 3 rateUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
metric
objectName
rateUnit
public long getCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.metric:Lcom/codahale/metrics/Metered;
invokeinterface com.codahale.metrics.Metered.getCount:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
public double getMeanRate();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.metric:Lcom/codahale/metrics/Metered;
invokeinterface com.codahale.metrics.Metered.getMeanRate:()D
aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateFactor:D
dmul
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
public double getOneMinuteRate();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.metric:Lcom/codahale/metrics/Metered;
invokeinterface com.codahale.metrics.Metered.getOneMinuteRate:()D
aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateFactor:D
dmul
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
public double getFiveMinuteRate();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.metric:Lcom/codahale/metrics/Metered;
invokeinterface com.codahale.metrics.Metered.getFiveMinuteRate:()D
aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateFactor:D
dmul
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
public double getFifteenMinuteRate();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.metric:Lcom/codahale/metrics/Metered;
invokeinterface com.codahale.metrics.Metered.getFifteenMinuteRate:()D
aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateFactor:D
dmul
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
public java.lang.String getRateUnit();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.rateUnit:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
private java.lang.String calculateRateUnit(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.concurrent.TimeUnit.toString:()Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$JmxMeter;
0 2 1 unit Ljava/util/concurrent/TimeUnit;
1 2 2 s Ljava/lang/String;
MethodParameters:
Name Flags
unit
}
SourceFile: "CassandraMetricsRegistry.java"
NestHost: org.apache.cassandra.metrics.CassandraMetricsRegistry
InnerClasses:
private abstract AbstractBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean of org.apache.cassandra.metrics.CassandraMetricsRegistry
private JmxMeter = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter of org.apache.cassandra.metrics.CassandraMetricsRegistry
public abstract JmxMeterMBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeterMBean of org.apache.cassandra.metrics.CassandraMetricsRegistry