public class DNSResolverForRows extends DNSResolver
It resolves domain name like `(region)-(row)xx-xxx-xxx.*` to network location `/(region)/(row)`. If resolution failed, it returns `/default-region/default-row`.
region could be override in
hostRegionOverrides. for example, if the
host name is regionA-row1-xx-yyy, it would be resolved to `/regionA/row1`
without any overrides. If the specified overrides is regionA-row1-xx-yyy:regionB,
the resolved network location would be /regionB/row1.
Region overrides provide optimization hits to bookkeeper if two `logical` regions are in same or close locations.
|Constructor and Description|
|Modifier and Type||Method and Description|
public DNSResolverForRows(String hostRegionOverrides)
domainNameto its network location.
Copyright © 2016-2018 The Apache Software Foundation. All Rights Reserved.