Class NettyServerCall

All Implemented Interfaces:
RpcCall, RpcCallContext, RpcResponse

Datastructure that holds all necessary to a method invocation and then afterward, carries the result.
Since:
2.0.0
  • Constructor Details

    • NettyServerCall

      NettyServerCall(int id, org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service, org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md, org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param, CellScanner cellScanner, NettyServerRpcConnection connection, long size, InetAddress remoteAddress, long receiveTime, int timeout, ByteBuffAllocator bbAllocator, CellBlockBuilder cellBlockBuilder, RpcServer.CallCleanup reqCleanup)
  • Method Details

    • sendResponseIfReady

      public void sendResponseIfReady() throws IOException
      If we have a response, and delay is not set, then respond immediately. Otherwise, do not respond to client. This is called by the RPC code in the context of the Handler thread.
      Throws:
      IOException