public static final class TestConnectionRegistryLeak.ConnectionRegistryForTest extends DoNothingConnectionRegistry
Modifier and Type | Field and Description |
---|---|
private boolean |
closed |
Constructor and Description |
---|
ConnectionRegistryForTest(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CompletableFuture<String> |
getClusterId() |
getActiveMaster, getConnectionString, getMetaRegionLocations
private boolean closed
public ConnectionRegistryForTest(org.apache.hadoop.conf.Configuration conf)
public CompletableFuture<String> getClusterId()
getClusterId
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
getClusterId
in class DoNothingConnectionRegistry
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.client.ConnectionRegistry
close
in class DoNothingConnectionRegistry
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.