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

Method set_last_instance_id

phxqueue/lock/lockmgr.cpp:294–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void LockMgr::set_last_instance_id(const GroupVector::size_type paxos_group_id,
295 const uint64_t instance_id) {
296 impl_->groups[paxos_group_id].set_last_instance_id(instance_id);
297}
298
299uint64_t LockMgr::last_instance_id(const GroupVector::size_type paxos_group_id) const {
300 return impl_->groups.at(paxos_group_id).last_instance_id();

Callers 2

InitMethod · 0.45
DoExecuteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected