Package org.apache.hadoop.hbase.ipc
Class SimpleServerCall
java.lang.Object
org.apache.hadoop.hbase.ipc.ServerCall<SimpleServerRpcConnection>
org.apache.hadoop.hbase.ipc.SimpleServerCall
- All Implemented Interfaces:
RpcCall
,RpcCallContext
,RpcResponse
Deprecated.
Datastructure that holds all necessary to a method invocation and then afterward, carries the
result.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.ipc.ServerCall
bbAllocator, cellBlockBuilder, cellBlockStream, cellScanner, clientCertificateChain, connection, deadline, header, id, isError, md, param, receiveTime, remoteAddress, reqCleanup, response, rpcCallback, service, size, startTime, timeout, user
-
Constructor Summary
ConstructorDescriptionSimpleServerCall
(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, ByteBuffAllocator bbAllocator, CellBlockBuilder cellBlockBuilder, RpcServer.CallCleanup reqCleanup, SimpleRpcServerResponder responder) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
done()
Deprecated.Call is done.(package private) SimpleServerRpcConnection
Deprecated.void
Deprecated.Send the response of this RPC call.Methods inherited from class org.apache.hadoop.hbase.ipc.ServerCall
cleanup, createHeaderAndMessageBytes, disconnectSince, getBlockBytesScanned, getCallBack, getCellScanner, getClientCertificateChain, getClientVersionInfo, getConnectionAttributes, getDeadline, getFsReadTime, getHeader, getMethod, getParam, getPriority, getReceiveTime, getRemoteAddress, getRemotePort, getRequestAttribute, getRequestAttributes, getRequestUser, getResponse, getResponseCellSize, getResponseExceptionSize, getService, getSize, getStartTime, getTimeout, incrementBlockBytesScanned, incrementResponseCellSize, incrementResponseExceptionSize, isClientCellBlockSupported, isRetryImmediatelySupported, releaseByWAL, retainByWAL, setCallBack, setExceptionResponse, setResponse, setStartTime, toShortString, toString, updateFsReadTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.ipc.RpcCallContext
getRequestUserName
-
Field Details
-
responder
Deprecated.
-
-
Constructor Details
-
SimpleServerCall
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, ByteBuffAllocator bbAllocator, CellBlockBuilder cellBlockBuilder, RpcServer.CallCleanup reqCleanup, SimpleRpcServerResponder responder) Deprecated.
-
-
Method Details
-
done
Deprecated.Call is done. Execution happened and we returned results to client. It is now safe to cleanup.- Specified by:
done
in interfaceRpcResponse
- Overrides:
done
in classServerCall<SimpleServerRpcConnection>
-
sendResponseIfReady
Deprecated.Description copied from interface:RpcCall
Send the response of this RPC call. Implementation provides the underlying facility (connection, etc) to send.- Throws:
IOException
-
getConnection
Deprecated.
-