public class ConsoleConfig extends ScheduledReporterConfigSupport<ConsoleConfig>
Constructor and Description |
---|
ConsoleConfig() |
Modifier and Type | Method and Description |
---|---|
ConsoleConfig |
enable(boolean enabled)
Set the state of the Console publisher.
|
boolean |
isEnabled()
The state of the Console publisher.
|
getReporterInterval, reporterInterval
excludeFilter, getExcludeFilter, getIncludeFilter, includeFilter
public boolean isEnabled()
public ConsoleConfig enable(boolean enabled)
enabled
- True if metrics are published to the console. False otherwisethis