MutableCacheEntry()
Default constructor.
Definition: mutable_cache_entry.h:45
MutableCacheEntry(const K &key, const V &val)
Constructor for existing entry.
Definition: mutable_cache_entry.h:72
MutableCacheEntry & operator=(const MutableCacheEntry &other)
Assignment operator.
Definition: mutable_cache_entry.h:99
MutableCacheEntry(const K &key)
Constructor for non-existing entry.
Definition: mutable_cache_entry.h:58
bool IsExists() const
Check whether cache entry exists in cache.
Definition: mutable_cache_entry.h:117
void SetValue(const V &val)
Sets or replaces the value associated with the key.
Definition: mutable_cache_entry.h:157
Mutable representation of CacheEntry class template.
Definition: mutable_cache_entry.h:39
void Remove()
Removes the entry from the Cache.
Definition: mutable_cache_entry.h:125
MutableCacheEntry(const MutableCacheEntry &other)
Copy constructor.
Definition: mutable_cache_entry.h:85
const K & GetKey() const
Get key.
Definition: mutable_cache_entry.h:135
const V & GetValue() const
Get value.
Definition: mutable_cache_entry.h:145