All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
(package private) void |
addLocationToCache(HRegionLocation loc) |
private RegionLocations |
addToCache(AsyncNonMetaRegionLocator.TableCache tableCache,
RegionLocations locs) |
(package private) void |
clearCache() |
(package private) void |
clearCache(ServerName serverName) |
(package private) void |
clearCache(TableName tableName) |
private void |
complete(TableName tableName,
AsyncNonMetaRegionLocator.LocateRequest req,
RegionLocations locs,
Throwable error) |
private HRegionLocation |
getCachedLocation(HRegionLocation loc) |
(package private) RegionLocations |
getRegionLocationInCache(TableName tableName,
byte[] row) |
(package private) CompletableFuture<RegionLocations> |
getRegionLocations(TableName tableName,
byte[] row,
int replicaId,
RegionLocateType locateType,
boolean reload) |
private CompletableFuture<RegionLocations> |
getRegionLocationsInternal(TableName tableName,
byte[] row,
int replicaId,
RegionLocateType locateType,
boolean reload) |
private AsyncNonMetaRegionLocator.TableCache |
getTableCache(TableName tableName) |
private boolean |
isEqual(RegionLocations locs1,
RegionLocations locs2) |
private RegionLocations |
locateInCache(AsyncNonMetaRegionLocator.TableCache tableCache,
TableName tableName,
byte[] row,
int replicaId,
RegionLocateType locateType) |
private void |
locateInMeta(TableName tableName,
AsyncNonMetaRegionLocator.LocateRequest req) |
private RegionLocations |
locateRowBeforeInCache(AsyncNonMetaRegionLocator.TableCache tableCache,
TableName tableName,
byte[] row,
int replicaId) |
private RegionLocations |
locateRowInCache(AsyncNonMetaRegionLocator.TableCache tableCache,
TableName tableName,
byte[] row,
int replicaId) |
private boolean |
onScanNext(TableName tableName,
AsyncNonMetaRegionLocator.LocateRequest req,
Result result) |
private void |
recordCacheHit() |
private void |
recordCacheMiss() |
private void |
recordClearRegionCache() |
private void |
removeLocationFromCache(HRegionLocation loc) |
(package private) void |
updateCachedLocationOnError(HRegionLocation loc,
Throwable exception) |