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

Method Clear

phxqueue/store/storemeta.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252
253
254void StoreMetaQueue::Clear() {
255 lock_guard<mutex> lock_guard(impl_->lock);
256
257 if (impl_->metas.empty()) return;
258
259 impl_->metas.clear();
260}
261
262void StoreMetaQueue::ClearDequeueStat() {
263 lock_guard<mutex> lock_guard(impl_->lock);

Callers 9

MakeCheckPointMethod · 0.80
TestGetAddrScaleFunction · 0.80
ReadConfigMethod · 0.80
ReadConfigMethod · 0.80
ReadConfigMethod · 0.80
ReadConfigMethod · 0.80
ReadConfigMethod · 0.80
ReadConfigMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestGetAddrScaleFunction · 0.64