@InterfaceAudience.Public @InterfaceStability.Evolving public interface DNSToSwitchMapping
Modifier and Type | Method and Description |
---|---|
void |
reloadCachedMappings()
Reload all of the cached mappings.
|
void |
reloadCachedMappings(List<String> names)
Reload cached mappings on specific nodes.
|
List<String> |
resolve(List<String> names)
Resolves a list of DNS-names/IP-addresses and returns back a list of
switch information (network paths).
|
List<String> resolve(List<String> names)
NetworkTopology.DEFAULT_RACK
. This
is what the bundled implementations do, though it is not a formal requirementnames
- the list of hosts to resolve (can be empty)void reloadCachedMappings()
void reloadCachedMappings(List<String> names)
Copyright © 2016 Apache Software Foundation. All Rights Reserved.