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. |
protected static class |
ScriptBasedMapping.RawScriptBasedMapping
This is the uncached script mapping that is fed into the cache managed
by the superclass
CachedDNSToSwitchMapping |
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 © 2017 Apache Software Foundation. All Rights Reserved.