@InterfaceAudience.Private public interface FavoredNodesForRegion
Modifier and Type | Method and Description |
---|---|
InetSocketAddress[] |
getFavoredNodesForRegion(String encodedRegionName)
Get the favored nodes mapping for this region.
|
void |
updateRegionFavoredNodesMapping(String encodedRegionName,
List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
Used to update the favored nodes mapping when required.
|
void updateRegionFavoredNodesMapping(String encodedRegionName, List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
InetSocketAddress[] getFavoredNodesForRegion(String encodedRegionName)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.