|
PACS System 0.1.0
PACS DICOM system library
|
Configuration options for the LRU cache. More...
#include <simple_lru_cache.h>

Public Attributes | |
| std::size_t | max_size {1000} |
| Maximum number of entries in the cache. | |
| std::chrono::seconds | ttl {300} |
| Time-To-Live for cache entries in seconds (default: 300 = 5 minutes) | |
| bool | enable_metrics {true} |
| Enable metrics collection for hit/miss tracking. | |
| std::string | cache_name {"lru_cache"} |
| Name for metrics identification (e.g., "query_cache", "study_cache") | |
Configuration options for the LRU cache.
Definition at line 53 of file simple_lru_cache.h.
| std::string kcenon::pacs::services::cache::cache_config::cache_name {"lru_cache"} |
Name for metrics identification (e.g., "query_cache", "study_cache")
Definition at line 64 of file simple_lru_cache.h.
Referenced by kcenon::pacs::services::cache::simple_lru_cache< Key, Value, Hash, KeyEqual >::name().
| bool kcenon::pacs::services::cache::cache_config::enable_metrics {true} |
Enable metrics collection for hit/miss tracking.
Definition at line 61 of file simple_lru_cache.h.
| std::size_t kcenon::pacs::services::cache::cache_config::max_size {1000} |
Maximum number of entries in the cache.
Definition at line 55 of file simple_lru_cache.h.
Referenced by kcenon::pacs::services::cache::simple_lru_cache< Key, Value, Hash, KeyEqual >::simple_lru_cache().
| std::chrono::seconds kcenon::pacs::services::cache::cache_config::ttl {300} |
Time-To-Live for cache entries in seconds (default: 300 = 5 minutes)
Definition at line 58 of file simple_lru_cache.h.
Referenced by kcenon::pacs::services::cache::simple_lru_cache< Key, Value, Hash, KeyEqual >::calculate_expiry(), kcenon::pacs::services::cache::simple_lru_cache< Key, Value, Hash, KeyEqual >::simple_lru_cache(), and kcenon::pacs::services::cache::simple_lru_cache< Key, Value, Hash, KeyEqual >::ttl().