Package org.elasticsearch.discovery
Interface ConfiguredHostsResolver
- All Known Implementing Classes:
SeedHostsResolver
public interface ConfiguredHostsResolver
-
Method Summary
Modifier and TypeMethodDescriptionvoid
resolveConfiguredHosts
(Consumer<List<TransportAddress>> consumer) Attempt to resolve the configured hosts list to a list of transport addresses.
-
Method Details
-
resolveConfiguredHosts
Attempt to resolve the configured hosts list to a list of transport addresses.- Parameters:
consumer
- Consumer for the resolved list. May not be called if an error occurs or if another resolution attempt is in progress.
-