| 35 | } |
| 36 | |
| 37 | int LockServiceImpl::GetLockInfo(const phxqueue::comm::proto::GetLockInfoRequest &req, |
| 38 | phxqueue::comm::proto::GetLockInfoResponse *resp) { |
| 39 | int ret{static_cast<int>(lock_->GetLockInfo(req, *resp))}; |
| 40 | |
| 41 | if (0 != ret) { |
| 42 | QLErr("Lock GetLockInfo err %d", ret); |
| 43 | } |
| 44 | |
| 45 | return ret; |
| 46 | } |
| 47 | |
| 48 | int LockServiceImpl::AcquireLock(const phxqueue::comm::proto::AcquireLockRequest &req, |
| 49 | phxqueue::comm::proto::AcquireLockResponse *resp) { |
nothing calls this directly
no outgoing calls
no test coverage detected