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