OmniSciDB
a5dc49c757
|
#include <DictionaryCache.hpp>
Public Member 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 () noexcept |
Private Attributes | |
std::unordered_map< key_t, std::shared_ptr< value_t > > | cache_items |
Definition at line 26 of file DictionaryCache.hpp.
|
inline |
Definition at line 28 of file DictionaryCache.hpp.
|
inline |
Definition at line 38 of file DictionaryCache.hpp.
|
inlinenoexcept |
Definition at line 50 of file DictionaryCache.hpp.
|
inline |
Definition at line 48 of file DictionaryCache.hpp.
|
inline |
Definition at line 30 of file DictionaryCache.hpp.
|
inline |
Definition at line 46 of file DictionaryCache.hpp.
|
private |
Definition at line 57 of file DictionaryCache.hpp.
Referenced by DictionaryCache< std::string, StringDictionary::compare_cache_value_t >::get(), DictionaryCache< std::string, StringDictionary::compare_cache_value_t >::invalidateInvertedIndex(), DictionaryCache< std::string, StringDictionary::compare_cache_value_t >::is_empty(), DictionaryCache< std::string, StringDictionary::compare_cache_value_t >::put(), and DictionaryCache< std::string, StringDictionary::compare_cache_value_t >::remove().