Package org.apache.hadoop.hbase.ipc
Class CallRunner
java.lang.Object
org.apache.hadoop.hbase.ipc.CallRunner
The request processing logic, which is usually executed in thread pools provided by an
RpcScheduler. Call run() to actually execute the contained RpcServer.Call-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RpcCallprivate static final CallDroppedExceptionprivate RpcServerInterfaceprivate final io.opentelemetry.api.trace.Spanprivate MonitoredRPCHandlerprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionCallRunner(RpcServerInterface rpcServer, RpcCall call) On construction, adds the size of this call to the running count of outstanding call sizes. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcleanup()Cleanup after ourselves...voiddrop()When we want to drop this call because of server is overloaded.voidrun()voidsetStatus(MonitoredRPCHandler status)
-
Field Details
-
CALL_DROPPED_EXCEPTION
-
call
-
rpcServer
-
status
-
span
-
successful
-
-
Constructor Details
-
CallRunner
CallRunner(RpcServerInterface rpcServer, RpcCall call) On construction, adds the size of this call to the running count of outstanding call sizes. Presumption is that we are put on a queue while we wait on an executor to run us. During this time we occupy heap.
-
-
Method Details
-
getRpcCall
-
setStatus
-
cleanup
Cleanup after ourselves... let go of references. -
run
-
drop
When we want to drop this call because of server is overloaded.
-