@InterfaceAudience.Private public class RegionServerRegistry extends Object implements ConnectionRegistry
| Constructor and Description |
|---|
RegionServerRegistry(HRegionServer regionServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<ServerName> |
getActiveMaster() |
CompletableFuture<String> |
getClusterId() |
String |
getConnectionString() |
CompletableFuture<RegionLocations> |
getMetaRegionLocations() |
public RegionServerRegistry(HRegionServer regionServer)
public CompletableFuture<RegionLocations> getMetaRegionLocations()
getMetaRegionLocations in interface ConnectionRegistrypublic CompletableFuture<String> getClusterId()
getClusterId in interface ConnectionRegistrypublic CompletableFuture<ServerName> getActiveMaster()
getActiveMaster in interface ConnectionRegistrypublic String getConnectionString()
getConnectionString in interface ConnectionRegistrypublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface ConnectionRegistryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.