Class SettingsBasedSeedHostsProvider

java.lang.Object
org.elasticsearch.discovery.SettingsBasedSeedHostsProvider
All Implemented Interfaces:
SeedHostsProvider

public class SettingsBasedSeedHostsProvider extends Object implements SeedHostsProvider
An implementation of SeedHostsProvider that reads hosts/ports from the "discovery.seed_hosts" node setting. If the port is left off an entry, we default to the first port in the transport.port range. An example setting might look as follows: [67.81.244.10, 67.81.244.11:9305, 67.81.244.15:9400]
  • Field Details

    • LEGACY_DISCOVERY_ZEN_PING_UNICAST_HOSTS_SETTING

      public static final Setting<List<String>> LEGACY_DISCOVERY_ZEN_PING_UNICAST_HOSTS_SETTING
    • DISCOVERY_SEED_HOSTS_SETTING

      public static final Setting<List<String>> DISCOVERY_SEED_HOSTS_SETTING
  • Constructor Details

    • SettingsBasedSeedHostsProvider

      public SettingsBasedSeedHostsProvider(Settings settings, TransportService transportService)
  • Method Details