@InternalApi public class BigtableAsyncRegistry extends Object
| Constructor and Description |
|---|
BigtableAsyncRegistry() |
BigtableAsyncRegistry(org.apache.hadoop.conf.Configuration ignored) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this instance and releases any system resources associated with it
|
CompletableFuture<String> |
getClusterId()
Should only be called once.
|
CompletableFuture<ServerName> |
getMasterAddress()
Get the address of HMaster.
|
CompletableFuture<RegionLocations> |
getMetaRegionLocation()
Get the location of meta region.
|
public BigtableAsyncRegistry()
public BigtableAsyncRegistry(org.apache.hadoop.conf.Configuration ignored)
public CompletableFuture<RegionLocations> getMetaRegionLocation()
public CompletableFuture<String> getClusterId()
The upper layer should store this value somewhere as it will not be change any more.
public CompletableFuture<ServerName> getMasterAddress()
public void close()