Package org.apache.hadoop.hbase.client
Class DoNothingConnectionRegistry
java.lang.Object
org.apache.hadoop.hbase.client.DoNothingConnectionRegistry
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.client.ConnectionRegistry
- Direct Known Subclasses:
TestAsyncMetaRegionLocatorFailFast.FaultyConnectionRegistry,TestConnectionRegistryLeak.ConnectionRegistryForTest,TestWALEntrySinkFilter.DevNullConnectionRegistry,TestZooKeeperTableArchiveClient.MockRegistry
@Private
public class DoNothingConnectionRegistry
extends Object
implements org.apache.hadoop.hbase.client.ConnectionRegistry
Registry that does nothing. Otherwise, default Registry wants zookeeper up and running.
-
Constructor Summary
ConstructorsConstructorDescriptionDoNothingConnectionRegistry(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.security.User user) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()CompletableFuture<org.apache.hadoop.hbase.ServerName>CompletableFuture<org.apache.hadoop.hbase.RegionLocations>
-
Constructor Details
-
DoNothingConnectionRegistry
public DoNothingConnectionRegistry(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.security.User user)
-
-
Method Details
-
getMetaRegionLocations
- Specified by:
getMetaRegionLocationsin interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
getClusterId
- Specified by:
getClusterIdin interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
getActiveMaster
- Specified by:
getActiveMasterin interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
getConnectionString
- Specified by:
getConnectionStringin interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-