userver: userver/storages/mongo/pool_config.hpp File Reference
Loading...
Searching...
No Matches
pool_config.hpp File Reference

Detailed Description

MongoDB connection pool configuration.

Definition in file pool_config.hpp.

Go to the source code of this file.

#include <chrono>
#include <cstddef>
#include <optional>
#include <string>
#include <userver/components/component_fwd.hpp>
#include <userver/congestion_control/controllers/linear.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

struct  storages::mongo::PoolSettings
 Mongo connection pool options. More...
 
struct  storages::mongo::PoolConfig
 MongoDB connection pool configuration. More...
 

Namespaces

namespace  storages
 Components, clients and helpers for different databases and storages.
 
namespace  storages::mongo
 MongoDB client.
 

Enumerations

enum class  storages::mongo::StatsVerbosity {
  storages::mongo::kTerse ,
  storages::mongo::kFull ,
  storages::mongo::kNone
}
 

Functions

PoolSettings storages::mongo::Parse (const formats::json::Value &config, formats::parse::To< PoolSettings >)
 
PoolSettings storages::mongo::Parse (const yaml_config::YamlConfig &config, formats::parse::To< PoolSettings >)
 
PoolConfig storages::mongo::Parse (const yaml_config::YamlConfig &config, formats::parse::To< PoolConfig >)