MutableCacheEntry()
Default constructor.
Definition: mutable_cache_entry.h:46
MutableCacheEntry(const K &key, const V &val)
Constructor for existing entry.
Definition: mutable_cache_entry.h:73
MutableCacheEntry & operator=(const MutableCacheEntry &other)
Assignment operator.
Definition: mutable_cache_entry.h:100
MutableCacheEntry(const K &key)
Constructor for non-existing entry.
Definition: mutable_cache_entry.h:59
bool IsExists() const
Check whether cache entry exists in cache.
Definition: mutable_cache_entry.h:118
void SetValue(const V &val)
Sets or replaces the value associated with the key.
Definition: mutable_cache_entry.h:158
Mutable representation of CacheEntry class template.
Definition: mutable_cache_entry.h:40
void Remove()
Removes the entry from the Cache.
Definition: mutable_cache_entry.h:126
MutableCacheEntry(const MutableCacheEntry &other)
Copy constructor.
Definition: mutable_cache_entry.h:86
const K & GetKey() const
Get key.
Definition: mutable_cache_entry.h:136
const V & GetValue() const
Get value.
Definition: mutable_cache_entry.h:146