@InterfaceAudience.Private class SimpleServerCall extends ServerCall<SimpleServerRpcConnection>
Modifier and Type | Field and Description |
---|---|
(package private) SimpleRpcServerResponder |
responder |
cellBlockBuilder, cellBlockStream, cellScanner, connection, deadline, header, id, isError, md, param, receiveTime, remoteAddress, reqCleanup, reservoir, response, rpcCallback, service, size, startTime, timeout, user
Constructor and Description |
---|
SimpleServerCall(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,
SimpleServerRpcConnection connection,
long size,
InetAddress remoteAddress,
long receiveTime,
int timeout,
ByteBufferPool reservoir,
CellBlockBuilder cellBlockBuilder,
RpcServer.CallCleanup reqCleanup,
SimpleRpcServerResponder responder) |
Modifier and Type | Method and Description |
---|---|
void |
done()
Call is done.
|
(package private) SimpleServerRpcConnection |
getConnection() |
void |
sendResponseIfReady()
Send the response of this RPC call.
|
cleanup, createHeaderAndMessageBytes, disconnectSince, getCellScanner, getClientVersionInfo, getDeadline, getHeader, getMethod, getParam, getPriority, getReceiveTime, getRemoteAddress, getRemotePort, getRequestUser, getResponse, getResponseBlockSize, getResponseCellSize, getResponseExceptionSize, getService, getSize, getStartTime, getTimeout, incrementResponseBlockSize, incrementResponseCellSize, incrementResponseExceptionSize, isClientCellBlockSupported, isRetryImmediatelySupported, releaseByWAL, retainByWAL, setCallBack, setExceptionResponse, setResponse, setStartTime, toShortString, toString, wrapWithSasl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestUserName
final SimpleRpcServerResponder responder
SimpleServerCall(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, SimpleServerRpcConnection connection, long size, InetAddress remoteAddress, long receiveTime, int timeout, ByteBufferPool reservoir, CellBlockBuilder cellBlockBuilder, RpcServer.CallCleanup reqCleanup, SimpleRpcServerResponder responder)
public void done()
done
in interface RpcResponse
done
in class ServerCall<SimpleServerRpcConnection>
public void sendResponseIfReady() throws IOException
RpcCall
IOException
SimpleServerRpcConnection getConnection()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.