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