public class io.dropwizard.metrics.ScheduledReporterManager implements io.dropwizard.lifecycle.Managed
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.metrics.ScheduledReporterManager
super_class: java.lang.Object
{
private final com.codahale.metrics.ScheduledReporter reporter;
descriptor: Lcom/codahale/metrics/ScheduledReporter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.util.Duration period;
descriptor: Lio/dropwizard/util/Duration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean reportOnStop;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.codahale.metrics.ScheduledReporter, io.dropwizard.util.Duration);
descriptor: (Lcom/codahale/metrics/ScheduledReporter;Lio/dropwizard/util/Duration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokespecial io.dropwizard.metrics.ScheduledReporterManager.<init>:(Lcom/codahale/metrics/ScheduledReporter;Lio/dropwizard/util/Duration;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/metrics/ScheduledReporterManager;
0 2 1 reporter Lcom/codahale/metrics/ScheduledReporter;
0 2 2 period Lio/dropwizard/util/Duration;
MethodParameters:
Name Flags
reporter
period
public void <init>(com.codahale.metrics.ScheduledReporter, io.dropwizard.util.Duration, boolean);
descriptor: (Lcom/codahale/metrics/ScheduledReporter;Lio/dropwizard/util/Duration;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.metrics.ScheduledReporterManager.reporter:Lcom/codahale/metrics/ScheduledReporter;
2: aload 0
aload 2
putfield io.dropwizard.metrics.ScheduledReporterManager.period:Lio/dropwizard/util/Duration;
3: aload 0
iload 3
putfield io.dropwizard.metrics.ScheduledReporterManager.reportOnStop:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/metrics/ScheduledReporterManager;
0 5 1 reporter Lcom/codahale/metrics/ScheduledReporter;
0 5 2 period Lio/dropwizard/util/Duration;
0 5 3 reportOnStop Z
MethodParameters:
Name Flags
reporter
period
reportOnStop
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.reporter:Lcom/codahale/metrics/ScheduledReporter;
aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.period:Lio/dropwizard/util/Duration;
invokevirtual io.dropwizard.util.Duration.getQuantity:()J
aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.period:Lio/dropwizard/util/Duration;
invokevirtual io.dropwizard.util.Duration.getUnit:()Ljava/util/concurrent/TimeUnit;
invokevirtual com.codahale.metrics.ScheduledReporter.start:(JLjava/util/concurrent/TimeUnit;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/metrics/ScheduledReporterManager;
Exceptions:
throws java.lang.Exception
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.reportOnStop:Z
ifeq 6
1: aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.reporter:Lcom/codahale/metrics/ScheduledReporter;
invokevirtual com.codahale.metrics.ScheduledReporter.report:()V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 1
4: aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.reporter:Lcom/codahale/metrics/ScheduledReporter;
invokevirtual com.codahale.metrics.ScheduledReporter.stop:()V
5: aload 1
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.metrics.ScheduledReporterManager.reporter:Lcom/codahale/metrics/ScheduledReporter;
invokevirtual com.codahale.metrics.ScheduledReporter.stop:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/metrics/ScheduledReporterManager;
Exception table:
from to target type
0 3 3 any
Exceptions:
throws java.lang.Exception
}
SourceFile: "ScheduledReporterManager.java"