Package org.elasticsearch.discovery
Interface PeerFinder.ConfiguredHostsResolver
- All Known Implementing Classes:
SeedHostsResolver
- Enclosing class:
- PeerFinder
public static interface PeerFinder.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.
-