MCPcopy Create free account
hub / github.com/Tencent/phxqueue / GetLockInfo

Method GetLockInfo

phxqueue_phxrpc/app/lock/lock_service_impl.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37int 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
48int LockServiceImpl::AcquireLock(const phxqueue::comm::proto::AcquireLockRequest &req,
49 phxqueue::comm::proto::AcquireLockResponse *resp) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected