Package org.apache.hadoop.hbase.client
Class AsyncNonMetaRegionLocator.TableCache
java.lang.Object
org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator.TableCache
- Enclosing class:
- AsyncNonMetaRegionLocator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<AsyncNonMetaRegionLocator.LocateRequest,CompletableFuture<RegionLocations>> private final Set<AsyncNonMetaRegionLocator.LocateRequest>private final AsyncRegionLocationCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclearCompletedRequests(RegionLocations locations) booleanhasQuota(int max) booleanvoidprivate booleantryComplete(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)
-