@InterfaceAudience.Private interface AsyncRegistry extends Closeable
Internal use only.
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<Integer> |
getCurrentNrHRS()
Get the number of 'running' regionservers.
|
CompletableFuture<ServerName> |
getMasterAddress()
Get the address of HMaster.
|
CompletableFuture<Integer> |
getMasterInfoPort()
Get the info port 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<Integer> getCurrentNrHRS()
CompletableFuture<ServerName> getMasterAddress()
CompletableFuture<Integer> getMasterInfoPort()
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.