userver: cache::LruCacheConfig Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
cache::LruCacheConfig Struct Referencefinal

Public Member Functions

 LruCacheConfig (const yaml_config::YamlConfig &config)
 
 LruCacheConfig (const components::ComponentConfig &config)
 
 LruCacheConfig (const formats::json::Value &value)
 
std::size_t GetWaySize (std::size_t ways) const
 

Public Attributes

std::size_t size
 
std::chrono::milliseconds lifetime
 
BackgroundUpdateMode background_update
 

Detailed Description

Definition at line 22 of file lru_cache_config.hpp.

Member Data Documentation

◆ background_update

BackgroundUpdateMode cache::LruCacheConfig::background_update

Definition at line 32 of file lru_cache_config.hpp.

◆ lifetime

std::chrono::milliseconds cache::LruCacheConfig::lifetime

Definition at line 31 of file lru_cache_config.hpp.

◆ size

std::size_t cache::LruCacheConfig::size

Definition at line 30 of file lru_cache_config.hpp.


The documentation for this struct was generated from the following file: