Package | Description |
---|---|
org.apache.hadoop.net |
Network-related classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDNSToSwitchMapping
This is a base class for DNS to Switch mappings.
|
class |
CachedDNSToSwitchMapping
A cached implementation of DNSToSwitchMapping that takes an
raw DNSToSwitchMapping and stores the resolved network location in
a cache.
|
class |
ScriptBasedMapping
This class implements the
DNSToSwitchMapping interface using a
script configured via the
CommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY option. |
class |
TableMapping
Simple
DNSToSwitchMapping implementation that reads a 2 column text
file. |
Modifier and Type | Field and Description |
---|---|
protected DNSToSwitchMapping |
CachedDNSToSwitchMapping.rawMapping
The uncached mapping
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AbstractDNSToSwitchMapping.isMappingSingleSwitch(DNSToSwitchMapping mapping)
Query for a
DNSToSwitchMapping instance 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 © 2023 Apache Software Foundation. All rights reserved.