Class BalancerTestBase.MockMapping

java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalancerTestBase.MockMapping
All Implemented Interfaces:
org.apache.hadoop.net.DNSToSwitchMapping
Enclosing class:
BalancerTestBase

public static class BalancerTestBase.MockMapping extends Object implements org.apache.hadoop.net.DNSToSwitchMapping
  • Constructor Details

    • MockMapping

      public MockMapping(org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • resolve

      public List<String> resolve(List<String> names)
      Specified by:
      resolve in interface org.apache.hadoop.net.DNSToSwitchMapping
    • reloadCachedMappings

      public void reloadCachedMappings()
      Specified by:
      reloadCachedMappings in interface org.apache.hadoop.net.DNSToSwitchMapping
    • reloadCachedMappings

      public void reloadCachedMappings(List<String> arg0)
      Specified by:
      reloadCachedMappings in interface org.apache.hadoop.net.DNSToSwitchMapping