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, getMetaRegionLocationsprivate boolean closed
public ConnectionRegistryForTest(org.apache.hadoop.conf.Configuration conf)
public CompletableFuture<String> getClusterId()
getClusterId in class DoNothingConnectionRegistrypublic void close()
close in class DoNothingConnectionRegistryCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.