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

Detailed Description

Component that stores the dynamic config.

Definition in file component.hpp.

Go to the source code of this file.

#include <memory>
#include <string_view>
#include <type_traits>
#include <userver/components/component_base.hpp>
#include <userver/concurrent/async_event_source.hpp>
#include <userver/dynamic_config/impl/snapshot.hpp>
#include <userver/dynamic_config/snapshot.hpp>
#include <userver/dynamic_config/source.hpp>
#include <userver/dynamic_config/updates_sink/component.hpp>
#include <userver/utils/fast_pimpl.hpp>
This graph shows which files directly or indirectly include this file:

Classes

class  components::DynamicConfig
 Component that stores the dynamic config. More...
class  components::DynamicConfig::NoblockSubscriber
 Allows to subscribe to DynamicConfig updates without waiting for the first update to complete. Primarily intended for internal use. More...

Namespaces

namespace  components
 Contains functions and types to start a userver based service/tool.

Functions

dynamic_config::Source components::LocateDependency (const components::WithType< dynamic_config::Source > &, const components::ComponentConfig &config, const components::ComponentContext &context)

Variables

template<>
constexpr bool components::kHasValidate< DynamicConfig > = true
template<>
constexpr auto components::kConfigFileMode< DynamicConfig > = ConfigFileMode::kNotRequired