userver: userver/dynamic_config/snapshot.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
snapshot.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

The shared snapshot of dynamic configs. Cheap to copy, even cheaper to move. Thread safe, not updated with new dynamic config values in background (it's a snapshot!).

Definition in file snapshot.hpp.

Go to the source code of this file.

#include <cstdint>
#include <string>
#include <type_traits>
#include <userver/dynamic_config/impl/snapshot.hpp>
#include <userver/dynamic_config/impl/to_json.hpp>
#include <userver/formats/json_fwd.hpp>
#include <userver/utils/fast_pimpl.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

struct  dynamic_config::DefaultAsJsonString
 A strong typedef for usage in dynamic_config::Key constructors. More...
 
struct  dynamic_config::ConfigDefault
 A config name-value pair for usage in dynamic_config::Key constructors. More...
 
struct  dynamic_config::ConstantConfig
 A tag type for usage in dynamic_config::Key constructors. More...
 
class  dynamic_config::Key< Variable >
 A config key is a unique identifier for a config variable. More...
 
class  dynamic_config::Snapshot
 The shared snapshot of dynamic configs. Cheap to copy, even cheaper to move. Thread safe, not updated with new dynamic config values in background (it's a snapshot!). More...