| 22 | namespace brpc { |
| 23 | |
| 24 | ServerId2SocketIdMapper::ServerId2SocketIdMapper() { |
| 25 | _tmp.reserve(128); |
| 26 | if (_nref_map.init(128) != 0) { |
| 27 | LOG(WARNING) << "Fail to init _nref_map"; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | ServerId2SocketIdMapper::~ServerId2SocketIdMapper() { |
| 32 | } |