userver: storages::mongo::options::MaxServerTime Class Reference
Loading...
Searching...
No Matches
storages::mongo::options::MaxServerTime Class Reference

#include <userver/storages/mongo/options.hpp>

Detailed Description

Specifies the server-side time limit for the operation.

Warning
This does not set any client-side timeouts.

Definition at line 292 of file options.hpp.

Public Member Functions

 MaxServerTime (const std::chrono::milliseconds &value)
 
const std::chrono::milliseconds & Value () const
 

Constructor & Destructor Documentation

◆ MaxServerTime()

storages::mongo::options::MaxServerTime::MaxServerTime ( const std::chrono::milliseconds & value)
inlineexplicit

Definition at line 294 of file options.hpp.

Member Function Documentation

◆ Value()

const std::chrono::milliseconds & storages::mongo::options::MaxServerTime::Value ( ) const
inline

Definition at line 296 of file options.hpp.


The documentation for this class was generated from the following file: