MCPcopy Create free account
hub / github.com/apache/impala / SendRequestAsync

Function SendRequestAsync

be/src/kudu/rpc/proxy-test.cc:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64const HostPort kFakeHostPort(kFakeHost, kPort);
65
66void SendRequestAsync(const ResponseCallback& cb,
67 Proxy* p, RpcController* controller, SleepResponsePB* resp) {
68 SleepRequestPB req;
69 req.set_sleep_micros(100 * 1000); // 100ms
70 p->AsyncRequest(GenericCalculatorService::kSleepMethodName, req, resp, controller, cb);
71}
72
73Status SendRequest(Proxy* p) {
74 SleepRequestPB req;

Callers 1

TEST_FFunction · 0.85

Calls 1

AsyncRequestMethod · 0.80

Tested by

no test coverage detected