public static class CodaHaleMetricsModule.Config.Console extends Object
Constructor and Description |
---|
Console() |
Modifier and Type | Method and Description |
---|---|
CodaHaleMetricsModule.Config.Console |
enable(boolean enabled)
Set the state of the Console publisher.
|
CodaHaleMetricsModule.Config.Console |
filter(String filter)
Set the filter of the reporter.
|
String |
getFilter()
The filter on the reporter.
|
Duration |
getReporterInterval()
The interval between metrics reports.
|
boolean |
isEnabled()
The state of the Console publisher.
|
CodaHaleMetricsModule.Config.Console |
reporterInterval(Duration reporterInterval)
Configure the interval between metrics reports.
|
public boolean isEnabled()
public CodaHaleMetricsModule.Config.Console enable(boolean enabled)
enabled
- True if metrics are published to the console. False otherwisepublic String getFilter()
public CodaHaleMetricsModule.Config.Console filter(String filter)
filter
- the regular expression to match on.public Duration getReporterInterval()
public CodaHaleMetricsModule.Config.Console reporterInterval(Duration reporterInterval)
reporterInterval
- the report interval