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

Method GetAddrScale

phxqueue_phxrpc/consumer/consumer.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76phxqueue::comm::RetCode
77Consumer::GetAddrScale(const phxqueue::comm::proto::GetAddrScaleRequest &req,
78 phxqueue::comm::proto::GetAddrScaleResponse &resp) {
79 static __thread SchedulerClient scheduler_client;
80 auto ret = scheduler_client.ProtoGetAddrScale(req, resp);
81 if (phxqueue::comm::RetCode::RET_OK != ret) {
82 QLErr("ProtoGetAddrScale ret %d", phxqueue::comm::as_integer(ret));
83 }
84 return ret;
85}
86
87phxqueue::comm::RetCode
88Consumer::GetLockInfo(const phxqueue::comm::proto::GetLockInfoRequest &req,

Callers

nothing calls this directly

Calls 2

as_integerFunction · 0.85
ProtoGetAddrScaleMethod · 0.80

Tested by

no test coverage detected