Constructor and Description |
---|
MetricsOptions()
Creates a new
MetricsOptions object with default values (metrics enabled, JMX reporting
enabled). |
MetricsOptions(boolean enabled,
boolean jmxEnabled)
Creates a new
MetricsOptions object. |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Returns whether metrics are enabled.
|
boolean |
isJMXReportingEnabled()
Returns whether JMX reporting is enabled.
|
public MetricsOptions()
MetricsOptions
object with default values (metrics enabled, JMX reporting
enabled).public MetricsOptions(boolean enabled, boolean jmxEnabled)
MetricsOptions
object.jmxEnabled
- whether to enable JMX reporting or not.Copyright © 2012–2024. All rights reserved.