public static class CodaHaleMetricsModule.Config.Jmx extends Object
Constructor and Description |
---|
Jmx() |
Modifier and Type | Method and Description |
---|---|
CodaHaleMetricsModule.Config.Jmx |
enable(boolean enabled)
Set the state of the JMX publisher.
|
CodaHaleMetricsModule.Config.Jmx |
filter(String filter)
Set the filter of the reporter.
|
String |
getFilter()
The filter on the reporter.
|
boolean |
isEnabled()
The state of the JMX publisher.
|
public boolean isEnabled()
public CodaHaleMetricsModule.Config.Jmx enable(boolean enabled)
enabled
- True if metrics are published to JMX. False otherwisepublic String getFilter()
public CodaHaleMetricsModule.Config.Jmx filter(String filter)
filter
- the regular expression to match on.