@InterfaceAudience.Public @InterfaceStability.Evolving public interface DNSToSwitchMapping
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| 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.