MCPcopy Create free account
hub / github.com/apache/impala / Reset

Method Reset

be/src/kudu/rpc/rpc_controller.cc:65–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void RpcController::Reset() {
66 std::lock_guard<simple_spinlock> l(lock_);
67 if (call_) {
68 CHECK(finished());
69 }
70 call_.reset();
71 required_server_features_.clear();
72 credentials_policy_ = CredentialsPolicy::ANY_CREDENTIALS;
73 messenger_ = nullptr;
74 outbound_sidecars_total_bytes_ = 0;
75}
76
77bool RpcController::finished() const {
78 if (call_) {

Callers 9

CallOneRpcMethod · 0.45
TEST_FFunction · 0.45
DelayedRetryCbMethod · 0.45
AsyncRequestMethod · 0.45
TEST_PFunction · 0.45
SendAndCancelRpcsFunction · 0.45
GotNewTokenRetryCbMethod · 0.45
TEST_FFunction · 0.45
RpcRetrierMethod · 0.45

Calls 2

resetMethod · 0.65
clearMethod · 0.65

Tested by 3

TEST_PFunction · 0.36
SendAndCancelRpcsFunction · 0.36
TEST_FFunction · 0.36