public class JmxConfig extends Object
Constructor and Description |
---|
JmxConfig() |
Modifier and Type | Method and Description |
---|---|
JmxConfig |
enable(boolean enabled)
Set the state of the JMX 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.
|
T |
includeFilter(String includeFilter)
Set the include metric filter of the reporter.
|
boolean |
isEnabled()
The state of the JMX publisher.
|
public boolean isEnabled()
public JmxConfig enable(boolean enabled)
enabled
- True if metrics are published to JMX. False otherwisepublic String getIncludeFilter()
public T includeFilter(String includeFilter)
includeFilter
- the regular expression to match on.this
public String getExcludeFilter()
public T excludeFilter(String excludeFilter)
excludeFilter
- the regular expression to match on.this