16 void Init(std::unordered_map<std::string, ItemDescriptor>
const& data);
17 void Upsert(std::string
const& key, ItemDescriptor item);
26 std::shared_ptr<ItemDescriptor>
Get(std::string
const& flag_key)
const;
33 std::unordered_map<std::string, std::shared_ptr<ItemDescriptor>>
GetAll()
38 std::unordered_map<std::string, ItemDescriptor>
const& data);
40 std::unordered_map<std::string, std::shared_ptr<ItemDescriptor>> data_;
41 mutable std::mutex data_mutex_;