| Constructor and Description |
|---|
ScheduledReporterManager(com.codahale.metrics.ScheduledReporter reporter,
io.dropwizard.util.Duration period)
Manages the given
reporter by reporting with the given period. |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Begins reporting metrics using the configured
ScheduledReporter. |
void |
stop()
Stops the configured
ScheduledReporter from reporting metrics. |
public ScheduledReporterManager(com.codahale.metrics.ScheduledReporter reporter,
io.dropwizard.util.Duration period)
reporter by reporting with the given period.reporter - the reporter to manage.period - the frequency to report metrics at.public void start()
throws Exception
ScheduledReporter.Copyright © 2016. All rights reserved.