@InterfaceAudience.Private interface AsyncRegistry extends Closeable
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.
|
CompletableFuture<RegionLocations> getMetaRegionLocation()
CompletableFuture<String> getClusterId()
The upper layer should store this value somewhere as it will not be change any more.
CompletableFuture<ServerName> getMasterAddress()
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.