MySQL 9.1.0
Source Code Documentation
|
#include "mysqlrouter/cluster_metadata.h"
#include "mysqlrouter/metadata_cache_export.h"
#include "mysqlrouter/mysql_session.h"
#include <chrono>
#include <optional>
Go to the source code of this file.
Classes | |
class | RouterOptions |
Represents the Router options in v2_routers view in the metadata schema. More... | |
Enumerations | |
enum class | ReadOnlyTargets { all , read_replicas , secondaries } |
enum class | QuorumConnectionLostAllowTraffic { none , read , all } |
Functions | |
METADATA_CACHE_EXPORT std::string | to_string (const ReadOnlyTargets mode) |
METADATA_CACHE_EXPORT std::string | to_string (const QuorumConnectionLostAllowTraffic allow) |
Variables | |
static const auto | kDefautlInvalidatedClusterRoutingPolicy |
static const ReadOnlyTargets | kDefaultReadOnlyTargets |
static const QuorumConnectionLostAllowTraffic | kDefaultQuorumConnectionLostAllowTraffic |
|
strong |
|
strong |
METADATA_CACHE_EXPORT std::string to_string | ( | const QuorumConnectionLostAllowTraffic | allow | ) |
METADATA_CACHE_EXPORT std::string to_string | ( | const ReadOnlyTargets | mode | ) |
|
static |
|
static |
|
static |