public class ConsoleConfig extends Object
| Constructor and Description |
|---|
ConsoleConfig() |
| Modifier and Type | Method and Description |
|---|---|
ConsoleConfig |
enable(boolean enabled)
Set the state of the Console publisher.
|
T |
excludeFilter(String excludeFilter)
Set the exclude metric filter expression of the reporter.
|
String |
getExcludeFilter()
The exclude metric filter expression of the reporter.
|
String |
getIncludeFilter()
The include metric filter expression of the reporter.
|
Duration |
getReporterInterval()
The interval between metrics reports.
|
T |
includeFilter(String includeFilter)
Set the include metric filter of the reporter.
|
boolean |
isEnabled()
The state of the Console publisher.
|
T |
reporterInterval(Duration reporterInterval)
Configure the interval between metrics reports.
|
public boolean isEnabled()
public ConsoleConfig enable(boolean enabled)
enabled - True if metrics are published to the console. False otherwisethispublic Duration getReporterInterval()
public T reporterInterval(Duration reporterInterval)
reporterInterval - the report intervalthispublic String getIncludeFilter()
public T includeFilter(String includeFilter)
includeFilter - the regular expression to match on.thispublic String getExcludeFilter()
public T excludeFilter(String excludeFilter)
excludeFilter - the regular expression to match on.this