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
,TestAsyncProcess.MyConnectionImpl.TestRegistry
,TestClientNoCluster.SimpleRegistry
,TestConnectionRegistryLeak.ConnectionRegistryForTest
,TestWALEntrySinkFilter.DevNullConnectionRegistry
@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
ConstructorDescriptionDoNothingConnectionRegistry
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.security.User user) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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:
getMetaRegionLocations
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
getClusterId
- Specified by:
getClusterId
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
getActiveMaster
- Specified by:
getActiveMaster
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
getConnectionString
- Specified by:
getConnectionString
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
-