public class org.apache.cassandra.metrics.CassandraMetricsRegistry extends com.codahale.metrics.MetricRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.metrics.CassandraMetricsRegistry
super_class: com.codahale.metrics.MetricRegistry
{
public static final org.apache.cassandra.metrics.CassandraMetricsRegistry Metrics;
descriptor: Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.apache.cassandra.utils.MBeanWrapper mBeanServer;
descriptor: Lorg/apache/cassandra/utils/MBeanWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.$assertionsDisabled:Z
3: new org.apache.cassandra.metrics.CassandraMetricsRegistry
dup
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry.<init>:()V
putstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.codahale.metrics.MetricRegistry.<init>:()V
1: aload 0
getstatic org.apache.cassandra.utils.MBeanWrapper.instance:Lorg/apache/cassandra/utils/MBeanWrapper;
putfield org.apache.cassandra.metrics.CassandraMetricsRegistry.mBeanServer:Lorg/apache/cassandra/utils/MBeanWrapper;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
public com.codahale.metrics.Counter counter(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMetricName:()Ljava/lang/String;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Ljava/lang/String;)Lcom/codahale/metrics/Counter;
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerMBean:(Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 3 2 counter Lcom/codahale/metrics/Counter;
MethodParameters:
Name Flags
name
public com.codahale.metrics.Counter counter(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
astore 3
start local 3 1: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerAlias:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 2 alias Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 3 3 counter Lcom/codahale/metrics/Counter;
MethodParameters:
Name Flags
name
alias
public com.codahale.metrics.Meter meter(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Meter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMetricName:()Ljava/lang/String;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerMBean:(Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 3 2 meter Lcom/codahale/metrics/Meter;
MethodParameters:
Name Flags
name
public com.codahale.metrics.Meter meter(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Meter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.meter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Meter;
astore 3
start local 3 1: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerAlias:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 2 alias Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 3 3 meter Lcom/codahale/metrics/Meter;
MethodParameters:
Name Flags
name
alias
public com.codahale.metrics.Histogram histogram(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, boolean);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Z)Lcom/codahale/metrics/Histogram;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new org.apache.cassandra.metrics.ClearableHistogram
dup
new org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir
dup
iload 2
invokespecial org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.<init>:(Z)V
invokespecial org.apache.cassandra.metrics.ClearableHistogram.<init>:(Lorg/apache/cassandra/metrics/DecayingEstimatedHistogramReservoir;)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.Histogram
astore 3
start local 3 1: aload 0
aload 3
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerMBean:(Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 2 considerZeroes Z
1 3 3 histogram Lcom/codahale/metrics/Histogram;
MethodParameters:
Name Flags
name
considerZeroes
public com.codahale.metrics.Histogram histogram(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, boolean);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Z)Lcom/codahale/metrics/Histogram;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 3
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.histogram:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Z)Lcom/codahale/metrics/Histogram;
astore 4
start local 4 1: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerAlias:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 2 alias Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 3 considerZeroes Z
1 3 4 histogram Lcom/codahale/metrics/Histogram;
MethodParameters:
Name Flags
name
alias
considerZeroes
public com.codahale.metrics.Timer timer(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new com.codahale.metrics.Timer
dup
new org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir
dup
invokespecial org.apache.cassandra.metrics.DecayingEstimatedHistogramReservoir.<init>:()V
invokespecial com.codahale.metrics.Timer.<init>:(Lcom/codahale/metrics/Reservoir;)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.Timer
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerMBean:(Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 3 2 timer Lcom/codahale/metrics/Timer;
MethodParameters:
Name Flags
name
public com.codahale.metrics.Timer timer(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.timer:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
astore 3
start local 3 1: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerAlias:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 2 alias Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 3 3 timer Lcom/codahale/metrics/Timer;
MethodParameters:
Name Flags
name
alias
public <T extends com.codahale.metrics.Metric> T register(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, );
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMetricName:()Ljava/lang/String;
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Ljava/lang/String;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
pop
1: aload 0
aload 2
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerMBean:(Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
2: aload 2
3: areturn
4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
5: getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.getMetrics:()Ljava/util/Map;
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMetricName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.codahale.metrics.Metric
astore 3
start local 3 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 7 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 7 2 metric TT;
6 7 3 existing Lcom/codahale/metrics/Metric;
Exception table:
from to target type
0 3 4 Class java.lang.IllegalArgumentException
Signature: <T::Lcom/codahale/metrics/Metric;>(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;TT;)TT;
MethodParameters:
Name Flags
name
metric
public <T extends com.codahale.metrics.Metric> T register(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, );
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
astore 4
start local 4 1: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerAlias:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 3 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 2 aliasName Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 3 3 metric TT;
1 3 4 ret TT;
Signature: <T::Lcom/codahale/metrics/Metric;>(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;TT;)TT;
MethodParameters:
Name Flags
name
aliasName
metric
public boolean remove(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMetricName:()Ljava/lang/String;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.remove:(Ljava/lang/String;)Z
istore 2
start local 2 1: aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry.mBeanServer:Lorg/apache/cassandra/utils/MBeanWrapper;
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokeinterface org.apache.cassandra.utils.MBeanWrapper.unregisterMBean:(Ljavax/management/ObjectName;)V
2: goto 4
StackMap locals: org.apache.cassandra.metrics.CassandraMetricsRegistry org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName int
StackMap stack: java.lang.Exception
3: pop
4: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 5 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 5 2 removed Z
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
name
public boolean remove(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.remove:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Z
ifeq 3
1: aload 0
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.removeAlias:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 4 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 4 2 alias Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
MethodParameters:
Name Flags
name
alias
public void registerMBean(com.codahale.metrics.Metric, javax.management.ObjectName);
descriptor: (Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof com.codahale.metrics.Gauge
ifeq 3
1: new org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxGauge
dup
aload 1
checkcast com.codahale.metrics.Gauge
aload 2
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxGauge.<init>:(Lcom/codahale/metrics/Gauge;Ljavax/management/ObjectName;)V
astore 3
start local 3 2: goto 16
end local 3 StackMap locals:
StackMap stack:
3: aload 1
instanceof com.codahale.metrics.Counter
ifeq 6
4: new org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxCounter
dup
aload 1
checkcast com.codahale.metrics.Counter
aload 2
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxCounter.<init>:(Lcom/codahale/metrics/Counter;Ljavax/management/ObjectName;)V
astore 3
start local 3 5: goto 16
end local 3 StackMap locals:
StackMap stack:
6: aload 1
instanceof com.codahale.metrics.Histogram
ifeq 9
7: new org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxHistogram
dup
aload 1
checkcast com.codahale.metrics.Histogram
aload 2
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxHistogram.<init>:(Lcom/codahale/metrics/Histogram;Ljavax/management/ObjectName;)V
astore 3
start local 3 8: goto 16
end local 3 StackMap locals:
StackMap stack:
9: aload 1
instanceof com.codahale.metrics.Meter
ifeq 12
10: new org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter
dup
aload 1
checkcast com.codahale.metrics.Meter
aload 2
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter.<init>:(Lcom/codahale/metrics/Metered;Ljavax/management/ObjectName;Ljava/util/concurrent/TimeUnit;)V
astore 3
start local 3 11: goto 16
end local 3 StackMap locals:
StackMap stack:
12: aload 1
instanceof com.codahale.metrics.Timer
ifeq 15
13: new org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxTimer
dup
aload 1
checkcast com.codahale.metrics.Timer
aload 2
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
invokespecial org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxTimer.<init>:(Lcom/codahale/metrics/Timer;Ljavax/management/ObjectName;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;)V
astore 3
start local 3 14: goto 16
end local 3 15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown metric type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 3 16: StackMap locals: org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean
StackMap stack:
aload 0
getfield org.apache.cassandra.metrics.CassandraMetricsRegistry.mBeanServer:Lorg/apache/cassandra/utils/MBeanWrapper;
aload 3
aload 2
invokeinterface org.apache.cassandra.utils.MBeanWrapper.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)V
17: goto 19
18: StackMap locals:
StackMap stack: java.lang.Exception
pop
19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 20 1 metric Lcom/codahale/metrics/Metric;
0 20 2 name Ljavax/management/ObjectName;
2 3 3 mbean Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$AbstractBean;
5 6 3 mbean Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$AbstractBean;
8 9 3 mbean Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$AbstractBean;
11 12 3 mbean Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$AbstractBean;
14 15 3 mbean Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$AbstractBean;
16 20 3 mbean Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$AbstractBean;
Exception table:
from to target type
16 17 18 Class java.lang.Exception
MethodParameters:
Name Flags
metric
name
private void registerAlias(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName, org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.getMetrics:()Ljava/util/Map;
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMetricName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.codahale.metrics.Metric
astore 3
start local 3 1: getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.$assertionsDisabled:Z
ifne 2
aload 3
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not registered"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: com.codahale.metrics.Metric
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.registerMBean:(Lcom/codahale/metrics/Metric;Ljavax/management/ObjectName;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 4 1 existingName Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
0 4 2 aliasName Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
1 4 3 existing Lcom/codahale/metrics/Metric;
MethodParameters:
Name Flags
existingName
aliasName
private void removeAlias(org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName);
descriptor: (Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.utils.MBeanWrapper.instance:Lorg/apache/cassandra/utils/MBeanWrapper;
aload 1
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName.getMBeanName:()Ljavax/management/ObjectName;
invokeinterface org.apache.cassandra.utils.MBeanWrapper.unregisterMBean:(Ljavax/management/ObjectName;)V
1: goto 3
StackMap locals:
StackMap stack: java.lang.Exception
2: pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
0 4 1 name Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
name
private static java.lang.String withoutFinalDollar(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iload 1
ifeq 2
bipush 36
aload 0
iload 1
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 2
aload 0
iconst_0
iload 1
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
1 4 1 l I
MethodParameters:
Name Flags
s
}
SourceFile: "CassandraMetricsRegistry.java"
NestMembers:
org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxCounter org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxCounterMBean org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxGauge org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxGaugeMBean org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxHistogram org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxHistogramMBean org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeter org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxMeterMBean org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxTimer org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxTimerMBean org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricMBean org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName
InnerClasses:
private abstract AbstractBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$AbstractBean of org.apache.cassandra.metrics.CassandraMetricsRegistry
private JmxCounter = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxCounter of org.apache.cassandra.metrics.CassandraMetricsRegistry
public abstract JmxCounterMBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxCounterMBean of org.apache.cassandra.metrics.CassandraMetricsRegistry
private JmxGauge = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxGauge of org.apache.cassandra.metrics.CassandraMetricsRegistry
public abstract JmxGaugeMBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxGaugeMBean of org.apache.cassandra.metrics.CassandraMetricsRegistry
private JmxHistogram = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxHistogram of org.apache.cassandra.metrics.CassandraMetricsRegistry
public abstract JmxHistogramMBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxHistogramMBean 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
JmxTimer = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxTimer of org.apache.cassandra.metrics.CassandraMetricsRegistry
public abstract JmxTimerMBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$JmxTimerMBean of org.apache.cassandra.metrics.CassandraMetricsRegistry
public abstract MetricMBean = org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricMBean of org.apache.cassandra.metrics.CassandraMetricsRegistry
public MetricName = org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName of org.apache.cassandra.metrics.CassandraMetricsRegistry