userver: cache::LruCacheConfig Struct Reference
Loading...
Searching...
No Matches
cache::LruCacheConfig Struct Referencefinal

Detailed Description

Definition at line 22 of file lru_cache_config.hpp.

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
 

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: