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

Method Shutdown

be/src/rpc/rpc-mgr.cc:280–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void RpcMgr::Shutdown() {
281 if (messenger_.get() == nullptr) return;
282 for (const auto& service_pool : service_pools_) service_pool->Shutdown();
283 acceptor_pool_.reset();
284
285 messenger_->UnregisterAllServices();
286 messenger_->Shutdown();
287 service_pools_.clear();
288}
289
290bool RpcMgr::IsServerTooBusy(const RpcController& rpc_controller) {
291 const kudu::Status status = rpc_controller.status();

Callers 6

ShutdownForTestingMethod · 0.45
~AdmissiondEnvMethod · 0.45
TearDownMethod · 0.45
serveMethod · 0.45
TEST_PFunction · 0.45
TEST_PFunction · 0.45

Calls 4

UnregisterAllServicesMethod · 0.80
getMethod · 0.65
resetMethod · 0.65
clearMethod · 0.65

Tested by 4

ShutdownForTestingMethod · 0.36
TearDownMethod · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36