userver: userver/dynamic_config/snapshot.hpp File Reference
Loading...
Searching...
No Matches
snapshot.hpp File Reference

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>
+ Include dependency graph for snapshot.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...