Package org.elasticsearch.discovery
Interface SeedHostsProvider
- All Known Implementing Classes:
FileBasedSeedHostsProvider
,SettingsBasedSeedHostsProvider
public interface SeedHostsProvider
A pluggable provider of the list of seed hosts to use for discovery.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Helper object that allows to resolve a list of hosts to a list of transport addresses. -
Method Summary
Modifier and TypeMethodDescriptiongetSeedAddresses
(SeedHostsProvider.HostsResolver hostsResolver) Returns a list of seed hosts to use for discovery.
-
Method Details
-
getSeedAddresses
Returns a list of seed hosts to use for discovery. Called repeatedly while discovery is active (i.e. while there is no master) so that this list may be dynamic.
-