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

Method GetAllStore

phxqueue/config/storeconfig.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105
106comm::RetCode StoreConfig::GetAllStore(std::vector<shared_ptr<const proto::Store>> &stores) const {
107 for (auto &&it : impl_->store_id2store) {
108 stores.push_back(it.second);
109 }
110 return comm::RetCode::RET_OK;
111}
112
113comm::RetCode StoreConfig::GetAllStoreID(std::set<int> &store_ids) const {
114 for (auto &&it : impl_->store_id2store) {

Callers 4

GetStoreIDMethod · 0.80
CheckStoreConfigMethod · 0.80
TestStoreConfigMethod · 0.80
StoreRunFunction · 0.80

Calls

no outgoing calls

Tested by 3

CheckStoreConfigMethod · 0.64
TestStoreConfigMethod · 0.64
StoreRunFunction · 0.64