Class for expirable LRU cache. Use cache::LruMap for not expirable LRU Cache.
Definition in file expirable_lru_cache.hpp.
Go to the source code of this file.
#include <atomic>#include <chrono>#include <optional>#include <userver/cache/lru_cache_config.hpp>#include <userver/cache/lru_cache_statistics.hpp>#include <userver/cache/nway_lru_cache.hpp>#include <userver/concurrent/mutex_set.hpp>#include <userver/dump/common.hpp>#include <userver/dump/dumper.hpp>#include <userver/engine/async.hpp>#include <userver/utils/datetime.hpp>#include <userver/utils/impl/cached_time.hpp>#include <userver/utils/impl/wait_token_storage.hpp>
 Include dependency graph for expirable_lru_cache.hpp:
 This graph shows which files directly or indirectly include this file:Classes | |
| class | cache::ExpirableLruCache< Key, Value, Hash, Equal > | 
| Class for expirable LRU cache. Use cache::LruMap for not expirable LRU Cache.  More... | |
| class | cache::LruCacheWrapper< Key, Value, Hash, Equal > | 
Namespaces | |
| namespace | cache | 
| Utilities for caching.  | |
Functions | |
| template<typename Key , typename Value , typename Hash , typename Equal > | |
| void | cache::DumpMetric (utils::statistics::Writer &writer, const ExpirableLruCache< Key, Value, Hash, Equal > &cache) |