T - The type of the concrete configuration class extending this
            base class.public abstract class BaseMetricsConfig<T extends BaseMetricsConfig> extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected int | collectionFrequencySeconds | 
| protected boolean | enabled | 
| protected MetricsJmxConfig | jmxConfig | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | BaseMetricsConfig() | 
| protected  | BaseMetricsConfig(BaseMetricsConfig metricsConfig) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getCollectionFrequencySeconds()Returns the metrics collection frequency in seconds. | 
| MetricsJmxConfig | getJmxConfig() | 
| boolean | isEnabled()Returns if metrics collection is enabled. | 
| T | setCollectionFrequencySeconds(int intervalSeconds)Sets the metrics collection frequency in seconds. | 
| T | setEnabled(boolean enabled)Sets whether metrics collection should be enabled for the node. | 
| T | setJmxConfig(MetricsJmxConfig jmxConfig) | 
protected boolean enabled
protected MetricsJmxConfig jmxConfig
protected int collectionFrequencySeconds
protected BaseMetricsConfig()
protected BaseMetricsConfig(BaseMetricsConfig metricsConfig)
@Nonnull public T setEnabled(boolean enabled)
 May be overridden by ClusterProperty.METRICS_ENABLED
 system property.
public boolean isEnabled()
@Nonnull public T setJmxConfig(MetricsJmxConfig jmxConfig)
@Nonnull public MetricsJmxConfig getJmxConfig()
@Nonnull public T setCollectionFrequencySeconds(int intervalSeconds)
 May be overridden by ClusterProperty.METRICS_COLLECTION_FREQUENCY
 system property.
public int getCollectionFrequencySeconds()
Copyright © 2021 Hazelcast, Inc.. All rights reserved.