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 <any>
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
#include <userver/compiler/impl/lifetime.hpp>
#include <userver/dynamic_config/impl/snapshot.hpp>
#include <userver/dynamic_config/impl/to_json.hpp>
#include <userver/dynamic_config/registered_config_meta.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::SchemaHash
 Opaque schema hash supplied by code generation. userver does not calculate it. More...
struct  dynamic_config::DefaultAsJsonString
 A strong typedef for usage in dynamic_config::Key constructors. More...
struct  dynamic_config::NoSchemaHash
 Explicitly opts out of schema hash metadata for a config item. Use only when the selected config source discovers configs by name and supports missing schema hashes, or for local tests. The standard components::DynamicConfigClientUpdater supports this path. 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...