Class TestClientTimeouts.RandomTimeoutBlockingRpcChannel

java.lang.Object
org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementation
org.apache.hadoop.hbase.client.TestClientTimeouts.RandomTimeoutBlockingRpcChannel
All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel
Enclosing class:
TestClientTimeouts

static class TestClientTimeouts.RandomTimeoutBlockingRpcChannel extends org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementation
Blocking rpc channel that goes via hbase rpc.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.hadoop.hbase.net.Address
     
    protected final org.apache.hadoop.hbase.ipc.AbstractRpcClient<?>
     
    protected final int
     
    protected final org.apache.hadoop.hbase.security.User
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RandomTimeoutBlockingRpcChannel(org.apache.hadoop.hbase.ipc.BlockingRpcClient rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hbase.thirdparty.com.google.protobuf.Message
    callBlockingMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message param, org.apache.hbase.thirdparty.com.google.protobuf.Message returnType)
     
    protected org.apache.hadoop.hbase.ipc.HBaseRpcController
    configureRpcController(org.apache.hbase.thirdparty.com.google.protobuf.RpcController arg0)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • addr

      protected final org.apache.hadoop.hbase.net.Address addr
    • rpcClient

      protected final org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient
    • ticket

      protected final org.apache.hadoop.hbase.security.User ticket
    • rpcTimeout

      protected final int rpcTimeout
  • Constructor Details

    • RandomTimeoutBlockingRpcChannel

      RandomTimeoutBlockingRpcChannel(org.apache.hadoop.hbase.ipc.BlockingRpcClient rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
  • Method Details

    • callBlockingMethod

      public org.apache.hbase.thirdparty.com.google.protobuf.Message callBlockingMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message param, org.apache.hbase.thirdparty.com.google.protobuf.Message returnType) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
      Specified by:
      callBlockingMethod in interface org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel
      Overrides:
      callBlockingMethod in class org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementation
      Throws:
      org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
    • configureRpcController

      protected org.apache.hadoop.hbase.ipc.HBaseRpcController configureRpcController(org.apache.hbase.thirdparty.com.google.protobuf.RpcController arg0)