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

Method Init

phxqueue/store/basemgr.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56comm::RetCode BaseMgr::Init() {
57 //locks_.reset(new Mutex[conf_->GetIDCNum() * conf_->GetQueueNum()]);
58 impl_->meta_queues.reset(new StoreMetaQueue[impl_->store->GetStoreOption()->nqueue]);
59
60 //delay_stat_.reset(new DelayStat(topic_id_, conf_->GetQueueNum()));
61
62 return comm::RetCode::RET_OK;
63}
64
65
66comm::RetCode BaseMgr::Add(const uint64_t cursor_id, const comm::proto::AddRequest &req) {

Callers

nothing calls this directly

Calls 1

GetStoreOptionMethod · 0.80

Tested by

no test coverage detected