|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Public @InterfaceStability.Evolving public interface DNSToSwitchMapping
An interface that must be implemented to allow pluggable DNS-name/IP-address to RackID resolvers.
Method Summary | |
---|---|
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). |
Method Detail |
---|
List<String> resolve(List<String> names)
NetworkTopology.DEFAULT_RACK
. This
is what the bundled implementations do, though it is not a formal requirement
names
- the list of hosts to resolve (can be empty)
void reloadCachedMappings()
void reloadCachedMappings(List<String> names)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |