public class DummyConnectionRegistry extends Object implements org.apache.hadoop.hbase.client.ConnectionRegistry
ConnectionRegistry
.Modifier and Type | Field and Description |
---|---|
static String |
REGISTRY_IMPL_CONF_KEY |
Constructor and Description |
---|
DummyConnectionRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CompletableFuture<org.apache.hadoop.hbase.ServerName> |
getActiveMaster() |
CompletableFuture<String> |
getClusterId() |
String |
getConnectionString() |
CompletableFuture<org.apache.hadoop.hbase.RegionLocations> |
getMetaRegionLocations() |
public static final String REGISTRY_IMPL_CONF_KEY
public DummyConnectionRegistry()
public CompletableFuture<org.apache.hadoop.hbase.RegionLocations> getMetaRegionLocations()
getMetaRegionLocations
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
public CompletableFuture<String> getClusterId()
getClusterId
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
public CompletableFuture<org.apache.hadoop.hbase.ServerName> getActiveMaster()
getActiveMaster
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
public String getConnectionString()
getConnectionString
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.