| 167 | } |
| 168 | |
| 169 | int32_t RpcClient::IncreaseCount(const std::string& k, int32_t v) { |
| 170 | ClientCall<CtrlMethod::kIncreaseCount> call; |
| 171 | call.mut_request()->set_key(k); |
| 172 | call.mut_request()->set_val(v); |
| 173 | call(GetResponsibleStub(k)); |
| 174 | return call.response().val(); |
| 175 | } |
| 176 | |
| 177 | void RpcClient::EraseCount(const std::string& k) { |
| 178 | ClientCall<CtrlMethod::kEraseCount> call; |
nothing calls this directly
no test coverage detected