Class BaseSettingsUpdater

java.lang.Object
org.elasticsearch.common.settings.BaseSettingsUpdater
Direct Known Subclasses:
SettingsUpdater

public abstract class BaseSettingsUpdater extends Object
  • Field Details

  • Constructor Details

  • 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 partition
      settingsType - a string to identify the settings (for logging)
      logger - a logger to sending warnings to
      Returns:
      the partitioned settings