userver
C++ Async Framework
Loading...
Searching...
No Matches
cluster_host_type.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/mysql/cluster_host_type.hpp
4
5
USERVER_NAMESPACE_BEGIN
6
7
namespace
storages::
mysql
{
8
9
/// @brief Enum for selecting the host type to carry query execution.
10
enum
class
ClusterHostType
{
11
/// Execute a query on primary host.
12
kPrimary
,
13
/// Execute a query on a secondary (replica) host.
14
/// Fallbacks to primary in standalone topology.
15
kSecondary
16
};
17
18
}
// namespace storages::mysql
19
20
USERVER_NAMESPACE_END
userver
storages
mysql
cluster_host_type.hpp
Generated on Tue Nov 19 2024 11:31:30 for userver by
Doxygen
1.10.0