public abstract class com.codahale.metrics.ScheduledReporter implements java.io.Closeable, com.codahale.metrics.Reporter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.codahale.metrics.ScheduledReporter
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.atomic.AtomicInteger FACTORY_ID;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
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 java.util.concurrent.ScheduledExecutorService executor;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean shutdownExecutorOnStop;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<com.codahale.metrics.MetricAttribute> disabledMetricAttributes;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lcom/codahale/metrics/MetricAttribute;>;
private java.util.concurrent.ScheduledFuture<?> scheduledFuture;
descriptor: Ljava/util/concurrent/ScheduledFuture;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ScheduledFuture<*>;
private final com.codahale.metrics.MetricFilter filter;
descriptor: Lcom/codahale/metrics/MetricFilter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long durationFactor;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String durationUnit;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long rateFactor;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String rateUnit;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/codahale/metrics/ScheduledReporter;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic com.codahale.metrics.ScheduledReporter.LOG:Lorg/slf4j/Logger;
1: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putstatic com.codahale.metrics.ScheduledReporter.FACTORY_ID:Ljava/util/concurrent/atomic/AtomicInteger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.codahale.metrics.MetricRegistry, java.lang.String, com.codahale.metrics.MetricFilter, java.util.concurrent.TimeUnit, java.util.concurrent.TimeUnit);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 2
invokestatic com.codahale.metrics.ScheduledReporter.createDefaultExecutor:(Ljava/lang/String;)Ljava/util/concurrent/ScheduledExecutorService;
invokespecial com.codahale.metrics.ScheduledReporter.<init>:(Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;)V
1: return
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 2 0 this Lcom/codahale/metrics/ScheduledReporter;
0 2 1 registry Lcom/codahale/metrics/MetricRegistry;
0 2 2 name Ljava/lang/String;
0 2 3 filter Lcom/codahale/metrics/MetricFilter;
0 2 4 rateUnit Ljava/util/concurrent/TimeUnit;
0 2 5 durationUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
registry
name
filter
rateUnit
durationUnit
protected void <init>(com.codahale.metrics.MetricRegistry, java.lang.String, com.codahale.metrics.MetricFilter, java.util.concurrent.TimeUnit, java.util.concurrent.TimeUnit, java.util.concurrent.ScheduledExecutorService);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;)V
flags: (0x0004) ACC_PROTECTED
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
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
iconst_1
invokespecial com.codahale.metrics.ScheduledReporter.<init>:(Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;Z)V
1: 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 2 0 this Lcom/codahale/metrics/ScheduledReporter;
0 2 1 registry Lcom/codahale/metrics/MetricRegistry;
0 2 2 name Ljava/lang/String;
0 2 3 filter Lcom/codahale/metrics/MetricFilter;
0 2 4 rateUnit Ljava/util/concurrent/TimeUnit;
0 2 5 durationUnit Ljava/util/concurrent/TimeUnit;
0 2 6 executor Ljava/util/concurrent/ScheduledExecutorService;
MethodParameters:
Name Flags
registry
name
filter
rateUnit
durationUnit
executor
protected void <init>(com.codahale.metrics.MetricRegistry, java.lang.String, com.codahale.metrics.MetricFilter, java.util.concurrent.TimeUnit, java.util.concurrent.TimeUnit, java.util.concurrent.ScheduledExecutorService, boolean);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
iload 7
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokespecial com.codahale.metrics.ScheduledReporter.<init>:(Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;ZLjava/util/Set;)V
1: return
end local 7 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 2 0 this Lcom/codahale/metrics/ScheduledReporter;
0 2 1 registry Lcom/codahale/metrics/MetricRegistry;
0 2 2 name Ljava/lang/String;
0 2 3 filter Lcom/codahale/metrics/MetricFilter;
0 2 4 rateUnit Ljava/util/concurrent/TimeUnit;
0 2 5 durationUnit Ljava/util/concurrent/TimeUnit;
0 2 6 executor Ljava/util/concurrent/ScheduledExecutorService;
0 2 7 shutdownExecutorOnStop Z
MethodParameters:
Name Flags
registry
name
filter
rateUnit
durationUnit
executor
shutdownExecutorOnStop
protected void <init>(com.codahale.metrics.MetricRegistry, java.lang.String, com.codahale.metrics.MetricFilter, java.util.concurrent.TimeUnit, java.util.concurrent.TimeUnit, java.util.concurrent.ScheduledExecutorService, boolean, java.util.Set<com.codahale.metrics.MetricAttribute>);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;ZLjava/util/Set;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.codahale.metrics.ScheduledReporter.registry:Lcom/codahale/metrics/MetricRegistry;
2: aload 0
aload 3
putfield com.codahale.metrics.ScheduledReporter.filter:Lcom/codahale/metrics/MetricFilter;
3: aload 0
aload 6
ifnonnull 4
aload 2
invokestatic com.codahale.metrics.ScheduledReporter.createDefaultExecutor:(Ljava/lang/String;)Ljava/util/concurrent/ScheduledExecutorService;
goto 5
StackMap locals: com.codahale.metrics.ScheduledReporter com.codahale.metrics.MetricRegistry java.lang.String com.codahale.metrics.MetricFilter java.util.concurrent.TimeUnit java.util.concurrent.TimeUnit java.util.concurrent.ScheduledExecutorService int java.util.Set
StackMap stack: com.codahale.metrics.ScheduledReporter
4: aload 6
StackMap locals: com.codahale.metrics.ScheduledReporter com.codahale.metrics.MetricRegistry java.lang.String com.codahale.metrics.MetricFilter java.util.concurrent.TimeUnit java.util.concurrent.TimeUnit java.util.concurrent.ScheduledExecutorService int java.util.Set
StackMap stack: com.codahale.metrics.ScheduledReporter java.util.concurrent.ScheduledExecutorService
5: putfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
6: aload 0
iload 7
putfield com.codahale.metrics.ScheduledReporter.shutdownExecutorOnStop:Z
7: aload 0
aload 4
lconst_1
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
putfield com.codahale.metrics.ScheduledReporter.rateFactor:J
8: aload 0
aload 0
aload 4
invokevirtual com.codahale.metrics.ScheduledReporter.calculateRateUnit:(Ljava/util/concurrent/TimeUnit;)Ljava/lang/String;
putfield com.codahale.metrics.ScheduledReporter.rateUnit:Ljava/lang/String;
9: aload 0
aload 5
lconst_1
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
putfield com.codahale.metrics.ScheduledReporter.durationFactor:J
10: aload 0
aload 5
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;
putfield com.codahale.metrics.ScheduledReporter.durationUnit:Ljava/lang/String;
11: aload 0
aload 8
ifnull 12
aload 8
goto 13
12: StackMap locals:
StackMap stack: com.codahale.metrics.ScheduledReporter
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
13: StackMap locals: com.codahale.metrics.ScheduledReporter com.codahale.metrics.MetricRegistry java.lang.String com.codahale.metrics.MetricFilter java.util.concurrent.TimeUnit java.util.concurrent.TimeUnit java.util.concurrent.ScheduledExecutorService int java.util.Set
StackMap stack: com.codahale.metrics.ScheduledReporter java.util.Set
putfield com.codahale.metrics.ScheduledReporter.disabledMetricAttributes:Ljava/util/Set;
14: return
end local 8 end local 7 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 15 0 this Lcom/codahale/metrics/ScheduledReporter;
0 15 1 registry Lcom/codahale/metrics/MetricRegistry;
0 15 2 name Ljava/lang/String;
0 15 3 filter Lcom/codahale/metrics/MetricFilter;
0 15 4 rateUnit Ljava/util/concurrent/TimeUnit;
0 15 5 durationUnit Ljava/util/concurrent/TimeUnit;
0 15 6 executor Ljava/util/concurrent/ScheduledExecutorService;
0 15 7 shutdownExecutorOnStop Z
0 15 8 disabledMetricAttributes Ljava/util/Set<Lcom/codahale/metrics/MetricAttribute;>;
Signature: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lcom/codahale/metrics/MetricFilter;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;ZLjava/util/Set<Lcom/codahale/metrics/MetricAttribute;>;)V
MethodParameters:
Name Flags
registry
name
filter
rateUnit
durationUnit
executor
shutdownExecutorOnStop
disabledMetricAttributes
public void start(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
aload 3
invokevirtual com.codahale.metrics.ScheduledReporter.start:(JJLjava/util/concurrent/TimeUnit;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/ScheduledReporter;
0 2 1 period J
0 2 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
period
unit
synchronized void start(long, long, java.util.concurrent.TimeUnit, java.lang.Runnable);
descriptor: (JJLjava/util/concurrent/TimeUnit;Ljava/lang/Runnable;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 6 0: aload 0
getfield com.codahale.metrics.ScheduledReporter.scheduledFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Reporter already started"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
aload 6
lload 1
lload 3
aload 5
invokeinterface java.util.concurrent.ScheduledExecutorService.scheduleAtFixedRate:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield com.codahale.metrics.ScheduledReporter.scheduledFuture:Ljava/util/concurrent/ScheduledFuture;
3: return
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/ScheduledReporter;
0 4 1 initialDelay J
0 4 3 period J
0 4 5 unit Ljava/util/concurrent/TimeUnit;
0 4 6 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
initialDelay
period
unit
runnable
public synchronized void start(long, long, java.util.concurrent.TimeUnit);
descriptor: (JJLjava/util/concurrent/TimeUnit;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
lload 1
lload 3
aload 5
aload 0
invokedynamic run(Lcom/codahale/metrics/ScheduledReporter;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/codahale/metrics/ScheduledReporter.lambda$0()V (7)
()V
invokevirtual com.codahale.metrics.ScheduledReporter.start:(JJLjava/util/concurrent/TimeUnit;Ljava/lang/Runnable;)V
1: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/ScheduledReporter;
0 2 1 initialDelay J
0 2 3 period J
0 2 5 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
initialDelay
period
unit
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.ScheduledReporter.shutdownExecutorOnStop:Z
ifeq 11
1: aload 0
getfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
invokeinterface java.util.concurrent.ScheduledExecutorService.shutdown:()V
2: aload 0
getfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
lconst_1
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ScheduledExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ifne 23
3: aload 0
getfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
invokeinterface java.util.concurrent.ScheduledExecutorService.shutdownNow:()Ljava/util/List;
pop
4: aload 0
getfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
lconst_1
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ScheduledExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ifne 23
5: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": ScheduledExecutorService did not terminate"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: goto 23
StackMap locals:
StackMap stack: java.lang.InterruptedException
7: pop
8: aload 0
getfield com.codahale.metrics.ScheduledReporter.executor:Ljava/util/concurrent/ScheduledExecutorService;
invokeinterface java.util.concurrent.ScheduledExecutorService.shutdownNow:()Ljava/util/List;
pop
9: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
10: goto 23
11: StackMap locals:
StackMap stack:
aload 0
dup
astore 1
monitorenter
12: aload 0
getfield com.codahale.metrics.ScheduledReporter.scheduledFuture:Ljava/util/concurrent/ScheduledFuture;
ifnonnull 15
13: aload 1
monitorexit
14: return
15: StackMap locals: com.codahale.metrics.ScheduledReporter
StackMap stack:
aload 0
getfield com.codahale.metrics.ScheduledReporter.scheduledFuture:Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.isCancelled:()Z
ifeq 18
16: aload 1
monitorexit
17: return
18: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.ScheduledReporter.scheduledFuture:Ljava/util/concurrent/ScheduledFuture;
iconst_0
invokeinterface java.util.concurrent.ScheduledFuture.cancel:(Z)Z
pop
19: aload 1
monitorexit
20: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 1
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/codahale/metrics/ScheduledReporter;
Exception table:
from to target type
2 6 7 Class java.lang.InterruptedException
12 14 21 any
15 17 21 any
18 20 21 any
21 22 21 any
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.ScheduledReporter.stop:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/ScheduledReporter;
public void report();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
aload 0
getfield com.codahale.metrics.ScheduledReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.ScheduledReporter.filter:Lcom/codahale/metrics/MetricFilter;
invokevirtual com.codahale.metrics.MetricRegistry.getGauges:(Lcom/codahale/metrics/MetricFilter;)Ljava/util/SortedMap;
2: aload 0
getfield com.codahale.metrics.ScheduledReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.ScheduledReporter.filter:Lcom/codahale/metrics/MetricFilter;
invokevirtual com.codahale.metrics.MetricRegistry.getCounters:(Lcom/codahale/metrics/MetricFilter;)Ljava/util/SortedMap;
3: aload 0
getfield com.codahale.metrics.ScheduledReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.ScheduledReporter.filter:Lcom/codahale/metrics/MetricFilter;
invokevirtual com.codahale.metrics.MetricRegistry.getHistograms:(Lcom/codahale/metrics/MetricFilter;)Ljava/util/SortedMap;
4: aload 0
getfield com.codahale.metrics.ScheduledReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.ScheduledReporter.filter:Lcom/codahale/metrics/MetricFilter;
invokevirtual com.codahale.metrics.MetricRegistry.getMeters:(Lcom/codahale/metrics/MetricFilter;)Ljava/util/SortedMap;
5: aload 0
getfield com.codahale.metrics.ScheduledReporter.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
getfield com.codahale.metrics.ScheduledReporter.filter:Lcom/codahale/metrics/MetricFilter;
invokevirtual com.codahale.metrics.MetricRegistry.getTimers:(Lcom/codahale/metrics/MetricFilter;)Ljava/util/SortedMap;
6: invokevirtual com.codahale.metrics.ScheduledReporter.report:(Ljava/util/SortedMap;Ljava/util/SortedMap;Ljava/util/SortedMap;Ljava/util/SortedMap;Ljava/util/SortedMap;)V
7: aload 1
monitorexit
8: goto 11
StackMap locals: com.codahale.metrics.ScheduledReporter com.codahale.metrics.ScheduledReporter
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/codahale/metrics/ScheduledReporter;
Exception table:
from to target type
1 8 9 any
9 10 9 any
public abstract void report(java.util.SortedMap<java.lang.String, com.codahale.metrics.Gauge>, java.util.SortedMap<java.lang.String, com.codahale.metrics.Counter>, java.util.SortedMap<java.lang.String, com.codahale.metrics.Histogram>, java.util.SortedMap<java.lang.String, com.codahale.metrics.Meter>, java.util.SortedMap<java.lang.String, com.codahale.metrics.Timer>);
descriptor: (Ljava/util/SortedMap;Ljava/util/SortedMap;Ljava/util/SortedMap;Ljava/util/SortedMap;Ljava/util/SortedMap;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/SortedMap<Ljava/lang/String;Lcom/codahale/metrics/Gauge;>;Ljava/util/SortedMap<Ljava/lang/String;Lcom/codahale/metrics/Counter;>;Ljava/util/SortedMap<Ljava/lang/String;Lcom/codahale/metrics/Histogram;>;Ljava/util/SortedMap<Ljava/lang/String;Lcom/codahale/metrics/Meter;>;Ljava/util/SortedMap<Ljava/lang/String;Lcom/codahale/metrics/Timer;>;)V
MethodParameters:
Name Flags
gauges
counters
histograms
meters
timers
protected java.lang.String getRateUnit();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.ScheduledReporter.rateUnit:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/ScheduledReporter;
protected java.lang.String getDurationUnit();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.ScheduledReporter.durationUnit:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/ScheduledReporter;
protected double convertDuration(double);
descriptor: (D)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: dload 1
aload 0
getfield com.codahale.metrics.ScheduledReporter.durationFactor:J
l2d
ddiv
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/ScheduledReporter;
0 1 1 duration D
MethodParameters:
Name Flags
duration
protected double convertRate(double);
descriptor: (D)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: dload 1
aload 0
getfield com.codahale.metrics.ScheduledReporter.rateFactor:J
l2d
dmul
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/ScheduledReporter;
0 1 1 rate D
MethodParameters:
Name Flags
rate
protected boolean isShutdownExecutorOnStop();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.ScheduledReporter.shutdownExecutorOnStop:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/ScheduledReporter;
protected java.util.Set<com.codahale.metrics.MetricAttribute> getDisabledMetricAttributes();
descriptor: ()Ljava/util/Set;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.ScheduledReporter.disabledMetricAttributes:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/ScheduledReporter;
Signature: ()Ljava/util/Set<Lcom/codahale/metrics/MetricAttribute;>;
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 Lcom/codahale/metrics/ScheduledReporter;
0 2 1 unit Ljava/util/concurrent/TimeUnit;
1 2 2 s Ljava/lang/String;
MethodParameters:
Name Flags
unit
private static java.util.concurrent.ScheduledExecutorService createDefaultExecutor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new com.codahale.metrics.ScheduledReporter$NamedThreadFactory
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
getstatic com.codahale.metrics.ScheduledReporter.FACTORY_ID:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.codahale.metrics.ScheduledReporter$NamedThreadFactory.<init>:(Ljava/lang/String;)V
invokestatic java.util.concurrent.Executors.newSingleThreadScheduledExecutor:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.codahale.metrics.ScheduledReporter.report:()V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
start local 1 3: getstatic com.codahale.metrics.ScheduledReporter.LOG:Lorg/slf4j/Logger;
ldc "Exception thrown from {}#report. Exception was suppressed."
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/codahale/metrics/ScheduledReporter;
3 4 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
}
SourceFile: "ScheduledReporter.java"
NestMembers:
com.codahale.metrics.ScheduledReporter$NamedThreadFactory
InnerClasses:
private NamedThreadFactory = com.codahale.metrics.ScheduledReporter$NamedThreadFactory of com.codahale.metrics.ScheduledReporter
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles