org.apache.hadoop.hbase.ipc
Class ProtobufRpcClientEngine

java.lang.Object
  extended by org.apache.hadoop.hbase.ipc.ProtobufRpcClientEngine
All Implemented Interfaces:
RpcClientEngine

public class ProtobufRpcClientEngine
extends Object
implements RpcClientEngine


Field Summary
protected  HBaseClient client
           
 
Constructor Summary
ProtobufRpcClientEngine(org.apache.hadoop.conf.Configuration conf, String clusterId)
           
 
Method Summary
 void close()
          Shutdown this instance
 HBaseClient getClient()
           
<T extends IpcProtocol>
T
getProxy(Class<T> protocol, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf, int rpcTimeout)
          Construct a client-side proxy object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected HBaseClient client
Constructor Detail

ProtobufRpcClientEngine

public ProtobufRpcClientEngine(org.apache.hadoop.conf.Configuration conf,
                               String clusterId)
Method Detail

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.