@InterfaceAudience.Private interface CatalogReplicaLoadBalanceSelector
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.
|
void onError(HRegionLocation loc)
loc
- stale locationint select(TableName tablename, byte[] row, RegionLocateType locateType)
tablename
- table namerow
- key to look uplocateType
- locate typeCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.