@InterfaceAudience.Public @InterfaceStability.Evolving public interface DNSToSwitchMapping
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()
Copyright © 2013 Apache Software Foundation. All rights reserved.