Class TestClientTimeouts.RandomTimeoutRpcChannel

java.lang.Object
org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
org.apache.hadoop.hbase.client.TestClientTimeouts.RandomTimeoutRpcChannel
All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
Enclosing class:
TestClientTimeouts

private static class TestClientTimeouts.RandomTimeoutRpcChannel extends org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
  • 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
    RandomTimeoutRpcChannel(org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    callMethod(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, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done)
     
    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

    • RandomTimeoutRpcChannel

      RandomTimeoutRpcChannel(org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
  • Method Details

    • callMethod

      public void callMethod(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, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done)
      Specified by:
      callMethod in interface org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
      Overrides:
      callMethod in class org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
    • configureRpcController

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