- 
- All Superinterfaces:
- Builder<BaseMetricsSettings>,- Supplier<BaseMetricsSettings>
 - Enclosing interface:
- BaseMetricsSettings
 
 public static interface BaseMetricsSettings.Builder extends Builder<BaseMetricsSettings> Builder forBaseMetricsSettings.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringBASE_METRICS_CONFIG_KEYConfig key within the configmetricssection controlling base metrics behavior.static StringENABLED_CONFIG_KEYConfig key within the config {code metrics.base} section controlling whether base metrics should be enabled.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseMetricsSettings.Builderconfig(Config baseMetricsConfig)Sets values in the builder based on the providedConfignode.BaseMetricsSettings.BuilderenableBaseMetric(String dottedName, boolean value)Sets whether a specific base metric should be enabled.BaseMetricsSettings.Builderenabled(boolean value)Sets whether base metrics should be enabled.booleanisEnabled()
 
- 
- 
- 
Field Detail- 
BASE_METRICS_CONFIG_KEYstatic final String BASE_METRICS_CONFIG_KEY Config key within the configmetricssection controlling base metrics behavior.- See Also:
- Constant Field Values
 
 - 
ENABLED_CONFIG_KEYstatic final String ENABLED_CONFIG_KEY Config key within the config {code metrics.base} section controlling whether base metrics should be enabled.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
enabledBaseMetricsSettings.Builder enabled(boolean value) Sets whether base metrics should be enabled.- Parameters:
- value- true if base metrics should be enabled; false otherwise
- Returns:
- updated builder
 
 - 
configBaseMetricsSettings.Builder config(Config baseMetricsConfig) Sets values in the builder based on the providedConfignode.- Parameters:
- baseMetricsConfig-- Confignode contain base metrics settings
- Returns:
- updated builder
 
 - 
enableBaseMetricBaseMetricsSettings.Builder enableBaseMetric(String dottedName, boolean value) Sets 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
 
 
- 
 
-