Package org.apache.hadoop.hbase.client
Class AsyncNonMetaRegionLocator.TableCache
java.lang.Object
org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator.TableCache
- Enclosing class:
- AsyncNonMetaRegionLocator
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<AsyncNonMetaRegionLocator.LocateRequest,
CompletableFuture<RegionLocations>> private final Set<AsyncNonMetaRegionLocator.LocateRequest>
private final AsyncRegionLocationCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclearCompletedRequests
(RegionLocations locations) boolean
hasQuota
(int max) boolean
void
private boolean
tryComplete
(AsyncNonMetaRegionLocator.LocateRequest req, CompletableFuture<RegionLocations> future, RegionLocations locations, List<AsyncNonMetaRegionLocator.RegionLocationsFutureResult> futureResultList)
-
Field Details
-
pendingRequests
-
allRequests
-
regionLocationCache
-
-
Constructor Details
-
TableCache
-
-
Method Details
-
hasQuota
-
isPending
-
send
-
getCandidate
-
clearCompletedRequests
-
tryComplete
private boolean tryComplete(AsyncNonMetaRegionLocator.LocateRequest req, CompletableFuture<RegionLocations> future, RegionLocations locations, List<AsyncNonMetaRegionLocator.RegionLocationsFutureResult> futureResultList)
-