MCPcopy Create free account
hub / github.com/Tencent/phxqueue / GetRouteKeyByReq

Method GetRouteKeyByReq

phxqueue/lock/lockmasterclient.h:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38template <typename Req, typename Resp>
39std::string LockMasterClient<Req, Resp>::GetRouteKeyByReq(const Req &req) {
40 return comm::GetRouteKey(req.topic_id(), req.lock_id(), req.lock_key());
41}
42
43template <>
44inline std::string LockMasterClient<comm::proto::AcquireLockRequest,

Callers

nothing calls this directly

Calls 1

GetRouteKeyFunction · 0.85

Tested by

no test coverage detected