@InterfaceAudience.Private interface CatalogReplicaLoadBalanceSelector
| Modifier and Type | Field and Description | 
|---|---|
static int | 
UNINITIALIZED_NUM_OF_REPLICAS  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onError(HRegionLocation loc)
This method is called when input location is stale, i.e, when clients run into
 org.apache.hadoop.hbase.NotServingRegionException. 
 | 
int | 
select(TableName tablename,
      byte[] row,
      RegionLocateType locateType)
Select a catalog replica region where client go to loop up the input row key. 
 | 
static final int UNINITIALIZED_NUM_OF_REPLICAS
void onError(HRegionLocation loc)
loc - stale locationint select(TableName tablename, byte[] row, RegionLocateType locateType)
tablename - table namerow - key to look uplocateType - locate typeCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.