Class DictionaryCache¶
-
template<typename
key_t
, typenamevalue_t
>
classDictionaryCache
¶ Public Functions
-
DictionaryCache
()¶
-
std::shared_ptr<value_t>
get
(const key_t &key)¶
-
void
remove
(const key_t &key)¶
-
bool
is_empty
()¶
-
void
invalidateInvertedIndex
()¶
Private Members
-
std::unordered_map<key_t, std::shared_ptr<value_t>>
cache_items
¶
-