org.apache.hadoop.hbase.ipc
Class ProtobufRpcClientEngine
java.lang.Object
org.apache.hadoop.hbase.ipc.ProtobufRpcClientEngine
- All Implemented Interfaces:
- RpcClientEngine
public class ProtobufRpcClientEngine
- extends Object
- implements RpcClientEngine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected HBaseClient client
ProtobufRpcClientEngine
public ProtobufRpcClientEngine(org.apache.hadoop.conf.Configuration conf,
String clusterId)
getClient
public HBaseClient getClient()
- Specified by:
getClient
in interface RpcClientEngine
getProxy
public <T extends IpcProtocol> T getProxy(Class<T> protocol,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf,
int rpcTimeout)
throws IOException
- Description copied from interface:
RpcClientEngine
- Construct a client-side proxy object.
- Specified by:
getProxy
in interface RpcClientEngine
- Throws:
IOException
close
public void close()
- Description copied from interface:
RpcClientEngine
- Shutdown this instance
- Specified by:
close
in interface RpcClientEngine
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.