Package org.apache.hadoop.hbase.client
Class RpcConnectionRegistryURIFactory
java.lang.Object
org.apache.hadoop.hbase.client.RpcConnectionRegistryURIFactory
- All Implemented Interfaces:
ConnectionRegistryURIFactory
@Private
public class RpcConnectionRegistryURIFactory
extends Object
implements ConnectionRegistryURIFactory
Connection registry creator implementation for creating
RpcConnectionRegistry
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionInstantiate theConnectionRegistry
using the given parameters.The scheme for this implementation.void
Validate the givenuri
.
-
Field Details
-
LOG
-
-
Constructor Details
-
RpcConnectionRegistryURIFactory
public RpcConnectionRegistryURIFactory()
-
-
Method Details
-
create
public ConnectionRegistry create(URI uri, org.apache.hadoop.conf.Configuration conf, User user) throws IOException Description copied from interface:ConnectionRegistryURIFactory
Instantiate theConnectionRegistry
using the given parameters.- Specified by:
create
in interfaceConnectionRegistryURIFactory
- Throws:
IOException
-
getScheme
Description copied from interface:ConnectionRegistryURIFactory
The scheme for this implementation. Used to register this URI factory to theConnectionRegistryFactory
.- Specified by:
getScheme
in interfaceConnectionRegistryURIFactory
-
validate
Description copied from interface:ConnectionRegistryURIFactory
Validate the givenuri
.- Specified by:
validate
in interfaceConnectionRegistryURIFactory
- Throws:
IOException
- if this is not a valid connection registry URI.
-