class com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits
super_class: java.lang.Object
{
private final java.util.concurrent.TimeUnit defaultRate;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.TimeUnit defaultDuration;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.util.concurrent.TimeUnit> rateOverrides;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
private final java.util.Map<java.lang.String, java.util.concurrent.TimeUnit> durationOverrides;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
void <init>(java.util.concurrent.TimeUnit, java.util.concurrent.TimeUnit, java.util.Map<java.lang.String, java.util.concurrent.TimeUnit>, java.util.Map<java.lang.String, java.util.concurrent.TimeUnit>);
descriptor: (Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.defaultRate:Ljava/util/concurrent/TimeUnit;
2: aload 0
aload 2
putfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.defaultDuration:Ljava/util/concurrent/TimeUnit;
3: aload 0
aload 3
putfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.rateOverrides:Ljava/util/Map;
4: aload 0
aload 4
putfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.durationOverrides:Ljava/util/Map;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;
0 6 1 defaultRate Ljava/util/concurrent/TimeUnit;
0 6 2 defaultDuration Ljava/util/concurrent/TimeUnit;
0 6 3 rateOverrides Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
0 6 4 durationOverrides Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;
Signature: (Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/TimeUnit;>;)V
MethodParameters:
Name Flags
defaultRate
defaultDuration
rateOverrides
durationOverrides
public java.util.concurrent.TimeUnit durationFor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/concurrent/TimeUnit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.durationOverrides:Ljava/util/Map;
aload 1
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.defaultDuration:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.TimeUnit
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.concurrent.TimeUnit rateFor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/concurrent/TimeUnit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.rateOverrides:Ljava/util/Map;
aload 1
aload 0
getfield com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits.defaultRate:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.TimeUnit
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jmx/JmxReporter$MetricTimeUnits;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "JmxReporter.java"
NestHost: com.codahale.metrics.jmx.JmxReporter
InnerClasses:
private MetricTimeUnits = com.codahale.metrics.jmx.JmxReporter$MetricTimeUnits of com.codahale.metrics.jmx.JmxReporter