10#include <userver/clients/dns/resolver_fwd.hpp>
11#include <userver/dynamic_config/fwd.hpp>
12#include <userver/storages/mongo/collection.hpp>
13#include <userver/storages/mongo/pool_config.hpp>
14#include <userver/utils/statistics/fwd.hpp>
16USERVER_NAMESPACE_BEGIN
45 Pool(std::string id,
const std::string& uri,
const PoolConfig& pool_config,
46 clients::dns::Resolver* dns_resolver,
47 dynamic_config::Source config_source);
75 std::shared_ptr<impl::PoolImpl> impl_;
78using PoolPtr = std::shared_ptr<
Pool>;