@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving 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.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
Used to update the favored nodes mapping when required.
|
void updateRegionFavoredNodesMapping(String encodedRegionName, List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
encodedRegionName
- favoredNodes
- InetSocketAddress[] getFavoredNodesForRegion(String encodedRegionName)
encodedRegionName
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.