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

Method ClearDequeueStat

phxqueue/store/storemeta.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void StoreMetaQueue::ClearDequeueStat() {
263 lock_guard<mutex> lock_guard(impl_->lock);
264
265 if (-1 != impl_->last_dequeue_meta.GetCursorID()) {
266 impl_->last_dequeue_meta = StoreMeta();
267 }
268
269}
270
271
272} // namespace store

Callers 1

SyncCursorIDMethod · 0.80

Calls 2

StoreMetaClass · 0.85
GetCursorIDMethod · 0.45

Tested by

no test coverage detected