Cluster properties.
Definition in file cluster_types.hpp.
Go to the source code of this file.
Classes | |
struct | storages::postgres::ClusterHostTypeHash |
Namespaces | |
namespace | logging |
Logging macro and utilities. | |
namespace | storages |
Components, clients and helpers for different databases and storages. | |
namespace | storages::postgres |
Top namespace for uPg driver. | |
Typedefs | |
using | storages::postgres::ClusterHostTypeFlags = ::utils::Flags<ClusterHostType> |
Enumerations | |
enum class | storages::postgres::ClusterHostType { Cluster roles , kNone = 0x00 , storages::postgres::kMaster = 0x01 , storages::postgres::kSyncSlave = 0x02 , storages::postgres::kSlave = 0x04 , storages::postgres::kSlaveOrMaster = kMaster | kSlave , Host selection strategies , storages::postgres::kRoundRobin = 0x08 , storages::postgres::kNearest = 0x10 } |
Functions | |
std::string | storages::postgres::ToString (ClusterHostType) |
std::string | storages::postgres::ToString (ClusterHostTypeFlags) |
logging::LogHelper & | storages::postgres::operator<< (logging::LogHelper &, ClusterHostType) |
logging::LogHelper & | storages::postgres::operator<< (logging::LogHelper &, ClusterHostTypeFlags) |