public class com.codahale.metrics.jmx.JmxReporter$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.jmx.JmxReporter$Builder
super_class: java.lang.Object
{
private final com.codahale.metrics.MetricRegistry registry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javax.management.MBeanServer mBeanServer;
descriptor: Ljavax/management/MBeanServer;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.TimeUnit rateUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.TimeUnit durationUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.jmx.ObjectNameFactory objectNameFactory;
descriptor: Lcom/codahale/metrics/jmx/ObjectNameFactory;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.MetricFilter filter;
descriptor: Lcom/codahale/metrics/MetricFilter;
flags: (0x0002) ACC_PRIVATE
private java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.util.concurrent.TimeUnit> specificDurationUnits;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
private java.util.Map<java.lang.String, java.util.concurrent.TimeUnit> specificRateUnits;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
private void <init>(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.codahale.metrics.MetricFilter.ALL:Lcom/codahale/metrics/MetricFilter;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.filter:Lcom/codahale/metrics/MetricFilter;
2: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.registry:Lcom/codahale/metrics/MetricRegistry;
3: aload 0
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.rateUnit:Ljava/util/concurrent/TimeUnit;
4: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.durationUnit:Ljava/util/concurrent/TimeUnit;
5: aload 0
ldc "metrics"
putfield com.codahale.metrics.jmx.JmxReporter$Builder.domain:Ljava/lang/String;
6: aload 0
new com.codahale.metrics.jmx.DefaultObjectNameFactory
dup
invokespecial com.codahale.metrics.jmx.DefaultObjectNameFactory.<init>:()V
putfield com.codahale.metrics.jmx.JmxReporter$Builder.objectNameFactory:Lcom/codahale/metrics/jmx/ObjectNameFactory;
7: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.specificDurationUnits:Ljava/util/Map;
8: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.specificRateUnits:Ljava/util/Map;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 10 1 registry Lcom/codahale/metrics/MetricRegistry;
MethodParameters:
Name Flags
registry
public com.codahale.metrics.jmx.JmxReporter$Builder registerWith(javax.management.MBeanServer);
descriptor: (Ljavax/management/MBeanServer;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.mBeanServer:Ljavax/management/MBeanServer;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 mBeanServer Ljavax/management/MBeanServer;
MethodParameters:
Name Flags
mBeanServer
public com.codahale.metrics.jmx.JmxReporter$Builder convertRatesTo(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.rateUnit:Ljava/util/concurrent/TimeUnit;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 rateUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
rateUnit
public com.codahale.metrics.jmx.JmxReporter$Builder createsObjectNamesWith(com.codahale.metrics.jmx.ObjectNameFactory);
descriptor: (Lcom/codahale/metrics/jmx/ObjectNameFactory;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "null objectNameFactory"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.objectNameFactory:Lcom/codahale/metrics/jmx/ObjectNameFactory;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 4 1 onFactory Lcom/codahale/metrics/jmx/ObjectNameFactory;
MethodParameters:
Name Flags
onFactory
public com.codahale.metrics.jmx.JmxReporter$Builder convertDurationsTo(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.durationUnit:Ljava/util/concurrent/TimeUnit;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 durationUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
durationUnit
public com.codahale.metrics.jmx.JmxReporter$Builder filter(com.codahale.metrics.MetricFilter);
descriptor: (Lcom/codahale/metrics/MetricFilter;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.filter:Lcom/codahale/metrics/MetricFilter;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 filter Lcom/codahale/metrics/MetricFilter;
MethodParameters:
Name Flags
filter
public com.codahale.metrics.jmx.JmxReporter$Builder inDomain(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$Builder.domain:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain
public com.codahale.metrics.jmx.JmxReporter$Builder specificDurationUnits(java.util.Map<java.lang.String, java.util.concurrent.TimeUnit>);
descriptor: (Ljava/util/Map;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.specificDurationUnits:Ljava/util/Map;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 specificDurationUnits Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
MethodParameters:
Name Flags
specificDurationUnits
public com.codahale.metrics.jmx.JmxReporter$Builder specificRateUnits(java.util.Map<java.lang.String, java.util.concurrent.TimeUnit>);
descriptor: (Ljava/util/Map;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.specificRateUnits:Ljava/util/Map;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
0 2 1 specificRateUnits Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;)Lcom/codahale/metrics/jmx/JmxReporter$Builder;
MethodParameters:
Name Flags
specificRateUnits
public com.codahale.metrics.jmx.JmxReporter build();
descriptor: ()Lcom/codahale/metrics/jmx/JmxReporter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: new com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits
dup
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.rateUnit:Ljava/util/concurrent/TimeUnit;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.durationUnit:Ljava/util/concurrent/TimeUnit;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.specificRateUnits:Ljava/util/Map;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.specificDurationUnits:Ljava/util/Map;
invokespecial com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.<init>:(Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/Map;Ljava/util/Map;)V
astore 1
start local 1 1: aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.mBeanServer:Ljavax/management/MBeanServer;
ifnonnull 3
2: aload 0
invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
putfield com.codahale.metrics.jmx.JmxReporter$Builder.mBeanServer:Ljavax/management/MBeanServer;
3: StackMap locals: com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits
StackMap stack:
new com.codahale.metrics.jmx.JmxReporter
dup
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.mBeanServer:Ljavax/management/MBeanServer;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.domain:Ljava/lang/String;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.filter:Lcom/codahale/metrics/MetricFilter;
aload 1
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$Builder.objectNameFactory:Lcom/codahale/metrics/jmx/ObjectNameFactory;
invokespecial com.codahale.metrics.jmx.JmxReporter.<init>:(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
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/jmx/JmxReporter$Builder;
1 4 1 timeUnits Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;
}
SourceFile: "JmxReporter.java"
NestHost: com.codahale.metrics.jmx.JmxReporter
InnerClasses:
public Builder = com.codahale.metrics.jmx.JmxReporter$Builder of com.codahale.metrics.jmx.JmxReporter
private MetricTimeUnits = com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits of com.codahale.metrics.jmx.JmxReporter