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
Modifier and TypeFieldDescriptionprivate RpcCall
private static final CallDroppedException
private RpcServerInterface
private final io.opentelemetry.api.trace.Span
private MonitoredRPCHandler
private boolean
-
Constructor Summary
ConstructorDescriptionCallRunner
(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 void
cleanup()
Cleanup after ourselves...void
drop()
When we want to drop this call because of server is overloaded.void
run()
void
setStatus
(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.
-