MCPcopy Create free account
hub / github.com/apache/brpc / Initialize

Method Initialize

src/brpc/acceptor.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167int Acceptor::Initialize() {
168 if (_socket_map.init(INITIAL_CONNECTION_CAP) != 0) {
169 LOG(WARNING) << "Fail to initialize FlatMap, size="
170 << INITIAL_CONNECTION_CAP;
171 }
172 return 0;
173}
174
175// NOTE: Join() can happen before StopAccept()
176void Acceptor::Join() {

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected