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

Method GetAddrScale

phxqueue_phxrpc/app/scheduler/scheduler_tool_impl.cpp:48–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int SchedulerToolImpl::GetAddrScale(phxrpc::OptMap &opt_map) {
49 phxqueue::comm::proto::GetAddrScaleRequest req;
50 phxqueue::comm::proto::GetAddrScaleResponse resp;
51
52 //TODO: fill req from opt_map
53
54
55 SchedulerClient client;
56 int ret = client.GetAddrScale(req, &resp);
57 printf("%s return %d\n", __func__, ret);
58 printf("resp: {\n%s}\n", resp.DebugString().c_str());
59
60 return ret;
61}
62

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected