6#include <userver/components/loggable_component_base.hpp>
7#include <userver/storages/mongo/multi_mongo.hpp>
8#include <userver/storages/mongo/pool.hpp>
9#include <userver/storages/secdist/component.hpp>
10#include <userver/utils/statistics/entry.hpp>
12USERVER_NAMESPACE_BEGIN
76 Mongo(
const ComponentConfig&,
const ComponentContext&);
87 storages::mongo::PoolPtr pool_;
88 utils::statistics::Entry statistics_holder_;
92inline constexpr bool kHasValidate<Mongo> =
true;
160 storages::mongo::PoolPtr
GetPool(
const std::string& dbalias)
const;
180 static yaml_config::Schema GetStaticConfigSchema();
184 utils::statistics::Entry statistics_holder_;
188inline constexpr bool kHasValidate<MultiMongo> =
true;