Class DictionaryCache

template<typename key_t, typename value_t>
class DictionaryCache

Public Functions

DictionaryCache()
void put(const key_t &key, const std::shared_ptr<value_t> value)
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