| Package | Description | 
|---|---|
| org.apache.hadoop.net | Network-related classes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractDNSToSwitchMappingThis is a base class for DNS to Switch mappings. | 
| class  | CachedDNSToSwitchMappingA cached implementation of DNSToSwitchMapping that takes an
 raw DNSToSwitchMapping and stores the resolved network location in 
 a cache. | 
| class  | ScriptBasedMappingThis class implements the  DNSToSwitchMappinginterface using a 
 script configured via theCommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEYoption. | 
| class  | TableMapping
 Simple  DNSToSwitchMappingimplementation that reads a 2 column text
 file. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DNSToSwitchMapping | CachedDNSToSwitchMapping. rawMappingThe uncached mapping | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | AbstractDNSToSwitchMapping. isMappingSingleSwitch(DNSToSwitchMapping mapping)Query for a  DNSToSwitchMappinginstance being on a single
 switch. | 
| Constructor and Description | 
|---|
| CachedDNSToSwitchMapping(DNSToSwitchMapping rawMapping)cache a raw DNS mapping | 
| ScriptBasedMapping(DNSToSwitchMapping rawMap)Create an instance from the given raw mapping | 
Copyright © 2018 Apache Software Foundation. All rights reserved.