org.apache.hadoop.hbase.ipc
Class RpcClient.BlockingRpcChannelImplementation

java.lang.Object
  extended by org.apache.hadoop.hbase.ipc.RpcClient.BlockingRpcChannelImplementation
All Implemented Interfaces:
com.google.protobuf.BlockingRpcChannel
Enclosing class:
RpcClient

public static class RpcClient.BlockingRpcChannelImplementation
extends Object
implements com.google.protobuf.BlockingRpcChannel

Blocking rpc channel that goes via hbase rpc.


Constructor Summary
protected RpcClient.BlockingRpcChannelImplementation(RpcClient rpcClient, ServerName sn, User ticket, int rpcTimeout)
           
 
Method Summary
 com.google.protobuf.Message callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor md, com.google.protobuf.RpcController controller, com.google.protobuf.Message param, com.google.protobuf.Message returnType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcClient.BlockingRpcChannelImplementation

protected RpcClient.BlockingRpcChannelImplementation(RpcClient rpcClient,
                                                     ServerName sn,
                                                     User ticket,
                                                     int rpcTimeout)
Method Detail

callBlockingMethod

public com.google.protobuf.Message callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor md,
                                                      com.google.protobuf.RpcController controller,
                                                      com.google.protobuf.Message param,
                                                      com.google.protobuf.Message returnType)
                                               throws com.google.protobuf.ServiceException
Specified by:
callBlockingMethod in interface com.google.protobuf.BlockingRpcChannel
Throws:
com.google.protobuf.ServiceException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.