public class MetricsJmxConfig extends Object
Constructor and Description |
---|
MetricsJmxConfig() |
MetricsJmxConfig(MetricsJmxConfig jmxConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEnabled()
Returns whether metrics will be exposed through JMX MBeans.
|
MetricsJmxConfig |
setEnabled(boolean enabled)
Enables metrics exposure through JMX.
|
String |
toString() |
public MetricsJmxConfig()
public MetricsJmxConfig(MetricsJmxConfig jmxConfig)
public boolean isEnabled()
This configuration acts as a fine-tuning option beyond
enabling/disabling the Metrics collection entirely via the
BaseMetricsConfig.isEnabled()
master switch.
true
if exposing the metrics on JMX is enabled.BaseMetricsConfig.isEnabled()
@Nonnull public MetricsJmxConfig setEnabled(boolean enabled)
BaseMetricsConfig.getCollectionFrequencySeconds()
metric collection interval} and written to a set of MBeans.
This configuration acts as a fine-tuning option beyond
enabling/disabling the Metrics collection entirely via the enabled
master switch.
May be overridden by ClusterProperty.METRICS_JMX_ENABLED
system property.
Copyright © 2023 Hazelcast, Inc.. All rights reserved.