MCPcopy Create free account
hub / github.com/apache/brpc / RunAsyncCall

Method RunAsyncCall

src/brpc/redis_cluster.cpp:1193–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193void* RedisClusterChannel::RunAsyncCall(void* arg) {
1194 std::unique_ptr<AsyncCall> ac(static_cast<AsyncCall*>(arg));
1195 ac->self->CallMethodImpl(ac->cntl, *ac->request, ac->response);
1196 ac->done->Run();
1197 return NULL;
1198}
1199
1200int RedisClusterChannel::CheckHealth() {
1201 std::string endpoint;

Callers

nothing calls this directly

Calls 2

CallMethodImplMethod · 0.80
RunMethod · 0.45

Tested by

no test coverage detected