Package ratpack.dropwizard.metrics
Class JmxConfig
- java.lang.Object
-
- ratpack.dropwizard.metrics.ReporterConfigSupport<JmxConfig>
-
- ratpack.dropwizard.metrics.JmxConfig
-
public class JmxConfig extends ReporterConfigSupport<JmxConfig>
-
-
Constructor Summary
Constructors Constructor Description JmxConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmxConfigenable(boolean enabled)Set the state of the JMX publisher.booleanisEnabled()The state of the JMX publisher.-
Methods inherited from class ratpack.dropwizard.metrics.ReporterConfigSupport
excludeFilter, getExcludeFilter, getIncludeFilter, includeFilter
-
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
The state of the JMX publisher.- Returns:
- the state of the JMX publisher
-
enable
public JmxConfig enable(boolean enabled)
Set the state of the JMX publisher.- Parameters:
enabled- True if metrics are published to JMX. False otherwise- Returns:
- this
-
-