nfx-lrucache 0.1.1
High-performance C++20 thread-safe LRU cache with sliding expiration
Loading...
Searching...
No Matches
LruCache.h File Reference

Thread-safe LRU cache with sliding expiration. More...

#include <chrono>
#include <functional>
#include <mutex>
#include <optional>
#include <unordered_map>
#include "nfx/detail/cache/LruCache.inl"
Include dependency graph for LruCache.h:

Go to the source code of this file.

Classes

struct  nfx::cache::LruCacheOptions
 Configuration options for LruCache behavior. More...
struct  nfx::cache::CacheEntry
 Cache entry metadata with intrusive LRU list support. More...
class  nfx::cache::LruCache< TKey, TValue >
 Thread-safe memory cache with size limits and expiration policies. More...

Detailed Description

Thread-safe LRU cache with sliding expiration.

Definition in file LruCache.h.