Specifies the server-side time limit for the operation.
More...
#include <userver/storages/mongo/options.hpp>
|
| MaxServerTime (const std::chrono::milliseconds &value) |
|
const std::chrono::milliseconds & | Value () const |
|
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.
◆ MaxServerTime()
storages::mongo::options::MaxServerTime::MaxServerTime |
( |
const std::chrono::milliseconds & |
value | ) |
|
|
inlineexplicit |
◆ Value()
const std::chrono::milliseconds & storages::mongo::options::MaxServerTime::Value |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: