| 85 | } |
| 86 | |
| 87 | phxqueue::comm::RetCode |
| 88 | Consumer::GetLockInfo(const phxqueue::comm::proto::GetLockInfoRequest &req, |
| 89 | phxqueue::comm::proto::GetLockInfoResponse &resp) { |
| 90 | static __thread LockClient lock_client; |
| 91 | auto ret = lock_client.ProtoGetLockInfo(req, resp); |
| 92 | if (phxqueue::comm::RetCode::RET_OK != ret) { |
| 93 | QLErr("ProtoGetLockInfo ret %d", phxqueue::comm::as_integer(ret)); |
| 94 | } |
| 95 | return ret; |
| 96 | } |
| 97 | |
| 98 | phxqueue::comm::RetCode |
| 99 | Consumer::AcquireLock(const phxqueue::comm::proto::AcquireLockRequest &req, |
nothing calls this directly
no test coverage detected