public static class BalancerTestBase.MockMapping extends Object implements org.apache.hadoop.net.DNSToSwitchMapping
Constructor and Description |
---|
MockMapping(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
reloadCachedMappings() |
void |
reloadCachedMappings(List<String> arg0) |
List<String> |
resolve(List<String> names) |
public MockMapping(org.apache.hadoop.conf.Configuration conf)
public List<String> resolve(List<String> names)
resolve
in interface org.apache.hadoop.net.DNSToSwitchMapping
public void reloadCachedMappings()
reloadCachedMappings
in interface org.apache.hadoop.net.DNSToSwitchMapping
public void reloadCachedMappings(List<String> arg0)
reloadCachedMappings
in interface org.apache.hadoop.net.DNSToSwitchMapping
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.