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
DNSToSwitchMapping interface using a
script configured via the
CommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY option. |
ScriptBasedMapping.RawScriptBasedMapping |
This is the uncached script mapping that is fed into the cache managed
by the superclass
CachedDNSToSwitchMapping |
SocksSocketFactory |
Specialized SocketFactory to create sockets with a SOCKS proxy
|
StandardSocketFactory |
Specialized SocketFactory to create sockets with a SOCKS proxy
|
TableMapping |
Simple
DNSToSwitchMapping implementation 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. |
NetworkTopology.InvalidTopologyException |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.