| Interface | Description | 
|---|---|
| DNSToSwitchMapping | An interface that must be implemented to allow pluggable
 DNS-name/IP-address to RackID resolvers. | 
| Class | Description | 
|---|---|
| AbstractDNSToSwitchMapping | This is a base class for DNS to Switch mappings. | 
| CachedDNSToSwitchMapping | A cached implementation of DNSToSwitchMapping that takes an
 raw DNSToSwitchMapping and stores the resolved network location in 
 a cache. | 
| ScriptBasedMapping | This class implements the  DNSToSwitchMappinginterface using a 
 script configured via theCommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEYoption. | 
| SocksSocketFactory | Specialized SocketFactory to create sockets with a SOCKS proxy | 
| StandardSocketFactory | Specialized SocketFactory to create sockets with a SOCKS proxy | 
| TableMapping | 
 Simple  DNSToSwitchMappingimplementation that reads a 2 column text
 file. | 
| Exception | Description | 
|---|---|
| ConnectTimeoutException | Thrown by  NetUtils.connect(java.net.Socket, java.net.SocketAddress, int)if it times out while connecting to the remote host. | 
Copyright © 2025 Apache Software Foundation. All rights reserved.