userver: testsuite::PostgresControl Class Reference
Loading...
Searching...
No Matches
testsuite::PostgresControl Class Reference

Detailed Description

Definition at line 11 of file postgres_control.hpp.

Public Types

enum class  ReadonlyMaster {
  kNotExpected ,
  kExpected
}
 

Public Member Functions

 PostgresControl (std::chrono::milliseconds execute_timeout, std::chrono::milliseconds statement_timeout, ReadonlyMaster readonly_master)
 
engine::Deadline MakeExecuteDeadline (std::chrono::milliseconds duration) const
 
std::chrono::milliseconds MakeStatementTimeout (std::chrono::milliseconds duration) const
 
bool IsReadonlyMasterExpected () const
 

Member Enumeration Documentation

◆ ReadonlyMaster

enum class testsuite::PostgresControl::ReadonlyMaster
strong

Definition at line 13 of file postgres_control.hpp.


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