Package ratpack.dropwizard.metrics
Class ScheduledReporterConfigSupport<T extends ReporterConfigSupport<T>>
- java.lang.Object
-
- ratpack.dropwizard.metrics.ReporterConfigSupport<T>
-
- ratpack.dropwizard.metrics.ScheduledReporterConfigSupport<T>
-
- Type Parameters:
T- self type
- Direct Known Subclasses:
ConsoleConfig,CsvConfig,GraphiteConfig,Slf4jConfig,WebsocketConfig
public abstract class ScheduledReporterConfigSupport<T extends ReporterConfigSupport<T>> extends ReporterConfigSupport<T>
A common base for scheduled reporter config classes.- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description ScheduledReporterConfigSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.DurationgetReporterInterval()The interval between metrics reports.TreporterInterval(java.time.Duration reporterInterval)Configure the interval between metrics reports.-
Methods inherited from class ratpack.dropwizard.metrics.ReporterConfigSupport
excludeFilter, getExcludeFilter, getIncludeFilter, includeFilter
-
-
-
-
Method Detail
-
getReporterInterval
public java.time.Duration getReporterInterval()
The interval between metrics reports.- Returns:
- the interval between metrics reports
-
reporterInterval
public T reporterInterval(java.time.Duration reporterInterval)
Configure the interval between metrics reports.- Parameters:
reporterInterval- the report interval- Returns:
this
-
-