@InterfaceAudience.Private class AsyncMetaRegionLocator extends Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private AtomicReference<HRegionLocation> |
metaRegionLocation |
private AtomicReference<CompletableFuture<HRegionLocation>> |
metaRelocateFuture |
private AsyncRegistry |
registry |
Constructor and Description |
---|
AsyncMetaRegionLocator(AsyncRegistry registry) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
clearCache() |
(package private) CompletableFuture<HRegionLocation> |
getRegionLocation(boolean reload) |
(package private) void |
updateCachedLocation(HRegionLocation loc,
Throwable exception) |
private static final org.slf4j.Logger LOG
private final AsyncRegistry registry
private final AtomicReference<HRegionLocation> metaRegionLocation
private final AtomicReference<CompletableFuture<HRegionLocation>> metaRelocateFuture
AsyncMetaRegionLocator(AsyncRegistry registry)
CompletableFuture<HRegionLocation> getRegionLocation(boolean reload)
void updateCachedLocation(HRegionLocation loc, Throwable exception)
void clearCache()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.