Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
74
SharedLoadBalancer::~SharedLoadBalancer() {
75
_st.hide();
76
if (_lb) {
77
_lb->Destroy();
78
_lb = NULL;
79
}
80
}
81
82
int SharedLoadBalancer::Init(const char* lb_protocol) {
83
std::string lb_name;
Callers
nothing calls this directly
Calls
2
hide
Method · 0.45
Destroy
Method · 0.45
Tested by
no test coverage detected