java.lang.Object
org.elasticsearch.common.settings.BaseSettingsUpdater
- Direct Known Subclasses:
SettingsUpdater
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
scopedSettings
-
-
Constructor Details
-
BaseSettingsUpdater
-
-
Method Details
-
partitionKnownAndValidSettings
protected final Tuple<Settings,Settings> partitionKnownAndValidSettings(Settings settings, String settingsType, org.apache.logging.log4j.Logger logger) Partitions the settings into those that are known and valid versus those that are unknown or invalid. The resulting tuple contains the known and valid settings in the first component and the unknown or invalid settings in the second component. Note that archived settings contained in the settings to partition are included in the first component.- Parameters:
settings
- the settings to partitionsettingsType
- a string to identify the settings (for logging)logger
- a logger to sending warnings to- Returns:
- the partitioned settings
-