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

Detailed Description

Definition at line 59 of file cache_config.hpp.

Public Member Functions

 Config (const yaml_config::YamlConfig &config, const std::optional< dump::Config > &dump_config)
 
Config MergeWith (const ConfigPatch &patch) const
 

Public Attributes

AllowedUpdateTypes allowed_update_types {}
 
bool allow_first_update_failure {}
 
std::optional< bool > force_periodic_update
 
bool config_updates_enabled {}
 
bool has_pre_assign_check {}
 
std::optional< std::string > task_processor_name
 
std::chrono::milliseconds cleanup_interval {}
 
bool is_strong_period {}
 
std::optional< std::uint64_t > failed_updates_before_expiration
 
bool is_safe_data_lifetime {}
 
FirstUpdateMode first_update_mode {}
 
FirstUpdateType first_update_type {}
 
std::chrono::milliseconds update_interval {}
 
std::chrono::milliseconds update_jitter {}
 
std::chrono::milliseconds full_update_interval {}
 
std::chrono::milliseconds full_update_jitter {}
 
std::optional< std::chrono::milliseconds > exception_interval
 
bool updates_enabled {}
 
std::uint64_t alert_on_failing_to_update_times {}
 

Member Data Documentation

◆ alert_on_failing_to_update_times

std::uint64_t cache::Config::alert_on_failing_to_update_times {}

Definition at line 85 of file cache_config.hpp.

◆ allow_first_update_failure

bool cache::Config::allow_first_update_failure {}

Definition at line 66 of file cache_config.hpp.

◆ allowed_update_types

AllowedUpdateTypes cache::Config::allowed_update_types {}

Definition at line 65 of file cache_config.hpp.

◆ cleanup_interval

std::chrono::milliseconds cache::Config::cleanup_interval {}

Definition at line 71 of file cache_config.hpp.

◆ config_updates_enabled

bool cache::Config::config_updates_enabled {}

Definition at line 68 of file cache_config.hpp.

◆ exception_interval

std::optional<std::chrono::milliseconds> cache::Config::exception_interval

Definition at line 83 of file cache_config.hpp.

◆ failed_updates_before_expiration

std::optional<std::uint64_t> cache::Config::failed_updates_before_expiration

Definition at line 73 of file cache_config.hpp.

◆ first_update_mode

FirstUpdateMode cache::Config::first_update_mode {}

Definition at line 76 of file cache_config.hpp.

◆ first_update_type

FirstUpdateType cache::Config::first_update_type {}

Definition at line 77 of file cache_config.hpp.

◆ force_periodic_update

std::optional<bool> cache::Config::force_periodic_update

Definition at line 67 of file cache_config.hpp.

◆ full_update_interval

std::chrono::milliseconds cache::Config::full_update_interval {}

Definition at line 81 of file cache_config.hpp.

◆ full_update_jitter

std::chrono::milliseconds cache::Config::full_update_jitter {}

Definition at line 82 of file cache_config.hpp.

◆ has_pre_assign_check

bool cache::Config::has_pre_assign_check {}

Definition at line 69 of file cache_config.hpp.

◆ is_safe_data_lifetime

bool cache::Config::is_safe_data_lifetime {}

Definition at line 74 of file cache_config.hpp.

◆ is_strong_period

bool cache::Config::is_strong_period {}

Definition at line 72 of file cache_config.hpp.

◆ task_processor_name

std::optional<std::string> cache::Config::task_processor_name

Definition at line 70 of file cache_config.hpp.

◆ update_interval

std::chrono::milliseconds cache::Config::update_interval {}

Definition at line 79 of file cache_config.hpp.

◆ update_jitter

std::chrono::milliseconds cache::Config::update_jitter {}

Definition at line 80 of file cache_config.hpp.

◆ updates_enabled

bool cache::Config::updates_enabled {}

Definition at line 84 of file cache_config.hpp.


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