public class com.codahale.metrics.jmx.JmxReporter implements com.codahale.metrics.Reporter, java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.jmx.JmxReporter
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.codahale.metrics.MetricRegistry registry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.codahale.metrics.jmx.JmxReporter$JmxListener listener;
descriptor: Lcom/codahale/metrics/jmx/JmxReporter$JmxListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/codahale/metrics/jmx/JmxReporter;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic com.codahale.metrics.jmx.JmxReporter.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.codahale.metrics.jmx.JmxReporter$Builder forRegistry(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.codahale.metrics.jmx.JmxReporter$Builder
dup
aload 0
invokespecial com.codahale.metrics.jmx.JmxReporter$Builder.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lcom/codahale/metrics/MetricRegistry;
MethodParameters:
Name Flags
registry
private void <init>(javax.management.MBeanServer, java.lang.String, com.codahale.metrics.MetricRegistry, com.codahale.metrics.MetricFilter, com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits, com.codahale.metrics.jmx.ObjectNameFactory);
descriptor: (Ljavax/management/MBeanServer;Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;Lcom/codahale/metrics/MetricFilter;Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;Lcom/codahale/metrics/jmx/ObjectNameFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield com.codahale.metrics.jmx.JmxReporter.registry:Lcom/codahale/metrics/MetricRegistry;
2: aload 0
new com.codahale.metrics.jmx.JmxReporter$JmxListener
dup
aload 1
aload 2
aload 4
aload 5
aload 6
invokespecial com.codahale.metrics.jmx.JmxReporter$JmxListener.<init>:(Ljavax/management/MBeanServer;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;Lcom/codahale/metrics/jmx/ObjectNameFactory;)V
putfield com.codahale.metrics.jmx.JmxReporter.listener:Lcom/codahale/metrics/jmx/JmxReporter$JmxListener;
3: 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
0 4 0 this Lcom/codahale/metrics/jmx/JmxReporter;
0 4 1 mBeanServer Ljavax/management/MBeanServer;
0 4 2 domain Ljava/lang/String;
0 4 3 registry Lcom/codahale/metrics/MetricRegistry;
0 4 4 filter Lcom/codahale/metrics/MetricFilter;
0 4 5 timeUnits Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;
0 4 6 objectNameFactory Lcom/codahale/metrics/jmx/ObjectNameFactory;
MethodParameters:
Name Flags
mBeanServer
domain
registry
filter
timeUnits
objectNameFactory
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.jmx.JmxReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter.listener:Lcom/codahale/metrics/jmx/JmxReporter$JmxListener;
invokevirtual com.codahale.metrics.MetricRegistry.addListener:(Lcom/codahale/metrics/MetricRegistryListener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter;
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.jmx.JmxReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter.listener:Lcom/codahale/metrics/jmx/JmxReporter$JmxListener;
invokevirtual com.codahale.metrics.MetricRegistry.removeListener:(Lcom/codahale/metrics/MetricRegistryListener;)V
1: aload 0
getfield com.codahale.metrics.jmx.JmxReporter.listener:Lcom/codahale/metrics/jmx/JmxReporter$JmxListener;
invokevirtual com.codahale.metrics.jmx.JmxReporter$JmxListener.unregisterAll:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/codahale/metrics/jmx/JmxReporter;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.codahale.metrics.jmx.JmxReporter.stop:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter;
com.codahale.metrics.jmx.ObjectNameFactory getObjectNameFactory();
descriptor: ()Lcom/codahale/metrics/jmx/ObjectNameFactory;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.jmx.JmxReporter.listener:Lcom/codahale/metrics/jmx/JmxReporter$JmxListener;
getfield com.codahale.metrics.jmx.JmxReporter$JmxListener.objectNameFactory:Lcom/codahale/metrics/jmx/ObjectNameFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jmx/JmxReporter;
}
SourceFile: "JmxReporter.java"
NestMembers:
com.codahale.metrics.jmx.JmxReporter$AbstractBean com.codahale.metrics.jmx.JmxReporter$Builder com.codahale.metrics.jmx.JmxReporter$JmxCounter com.codahale.metrics.jmx.JmxReporter$JmxCounterMBean com.codahale.metrics.jmx.JmxReporter$JmxGauge com.codahale.metrics.jmx.JmxReporter$JmxGaugeMBean com.codahale.metrics.jmx.JmxReporter$JmxHistogram com.codahale.metrics.jmx.JmxReporter$JmxHistogramMBean com.codahale.metrics.jmx.JmxReporter$JmxListener com.codahale.metrics.jmx.JmxReporter$JmxMeter com.codahale.metrics.jmx.JmxReporter$JmxMeterMBean com.codahale.metrics.jmx.JmxReporter$JmxTimer com.codahale.metrics.jmx.JmxReporter$JmxTimerMBean com.codahale.metrics.jmx.JmxReporter$MetricMBean com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits
InnerClasses:
private abstract AbstractBean = com.codahale.metrics.jmx.JmxReporter$AbstractBean of com.codahale.metrics.jmx.JmxReporter
public Builder = com.codahale.metrics.jmx.JmxReporter$Builder of com.codahale.metrics.jmx.JmxReporter
private JmxCounter = com.codahale.metrics.jmx.JmxReporter$JmxCounter of com.codahale.metrics.jmx.JmxReporter
public abstract JmxCounterMBean = com.codahale.metrics.jmx.JmxReporter$JmxCounterMBean of com.codahale.metrics.jmx.JmxReporter
private JmxGauge = com.codahale.metrics.jmx.JmxReporter$JmxGauge of com.codahale.metrics.jmx.JmxReporter
public abstract JmxGaugeMBean = com.codahale.metrics.jmx.JmxReporter$JmxGaugeMBean of com.codahale.metrics.jmx.JmxReporter
private JmxHistogram = com.codahale.metrics.jmx.JmxReporter$JmxHistogram of com.codahale.metrics.jmx.JmxReporter
public abstract JmxHistogramMBean = com.codahale.metrics.jmx.JmxReporter$JmxHistogramMBean of com.codahale.metrics.jmx.JmxReporter
private JmxListener = com.codahale.metrics.jmx.JmxReporter$JmxListener of com.codahale.metrics.jmx.JmxReporter
private JmxMeter = com.codahale.metrics.jmx.JmxReporter$JmxMeter of com.codahale.metrics.jmx.JmxReporter
public abstract JmxMeterMBean = com.codahale.metrics.jmx.JmxReporter$JmxMeterMBean of com.codahale.metrics.jmx.JmxReporter
JmxTimer = com.codahale.metrics.jmx.JmxReporter$JmxTimer of com.codahale.metrics.jmx.JmxReporter
public abstract JmxTimerMBean = com.codahale.metrics.jmx.JmxReporter$JmxTimerMBean of com.codahale.metrics.jmx.JmxReporter
public abstract MetricMBean = com.codahale.metrics.jmx.JmxReporter$MetricMBean of com.codahale.metrics.jmx.JmxReporter
private MetricTimeUnits = com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits of com.codahale.metrics.jmx.JmxReporter