MCPcopy Create free account
hub / github.com/apache/brpc / ~SharedLoadBalancer

Method ~SharedLoadBalancer

src/brpc/load_balancer.cpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74SharedLoadBalancer::~SharedLoadBalancer() {
75 _st.hide();
76 if (_lb) {
77 _lb->Destroy();
78 _lb = NULL;
79 }
80}
81
82int SharedLoadBalancer::Init(const char* lb_protocol) {
83 std::string lb_name;

Callers

nothing calls this directly

Calls 2

hideMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected