- All Superinterfaces:
- Builder<BaseMetricsSettings.Builder,,- BaseMetricsSettings> - Supplier<BaseMetricsSettings>
- Enclosing interface:
- BaseMetricsSettings
public static interface BaseMetricsSettings.Builder
extends Builder<BaseMetricsSettings.Builder,BaseMetricsSettings> 
Builder for 
BaseMetricsSettings.- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionSets values in the builder based on the providedConfignode.enableBaseMetric(String dottedName, boolean value) Sets whether a specific base metric should be enabled.enabled(boolean value) Sets whether base metrics should be enabled.boolean
- 
Field Details- 
BASE_METRICS_CONFIG_KEYConfig key within the configmetricssection controlling base metrics behavior.- See Also:
 
- 
ENABLED_CONFIG_KEYConfig key within the config {code metrics.base} section controlling whether base metrics should be enabled.- See Also:
 
 
- 
- 
Method Details- 
enabledSets whether base metrics should be enabled.- Parameters:
- value- true if base metrics should be enabled; false otherwise
- Returns:
- updated builder
 
- 
configSets values in the builder based on the providedConfignode.- Parameters:
- baseMetricsConfig-- Confignode contain base metrics settings
- Returns:
- updated builder
 
- 
enableBaseMetricSets whether a specific base metric should be enabled.- Parameters:
- dottedName- the dotted name (e.g.,- memory.usedHeapfor the base metric
- value- whether that base metric should be enabled or not
- Returns:
- updated builder
 
- 
isEnabledboolean isEnabled()- Returns:
- builder's current setting for whether base metrics are to be used
 
 
-