MySQL 8.3.0
Source Code Documentation
router_options.h File Reference
#include "mysqlrouter/cluster_metadata.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

std::string to_string (const ReadOnlyTargets mode)
 
std::string to_string (const QuorumConnectionLostAllowTraffic allow)
 

Variables

static const ReadOnlyTargets kDefaultReadOnlyTargets
 
static const QuorumConnectionLostAllowTraffic kDefaultQuorumConnectionLostAllowTraffic
 

Enumeration Type Documentation

◆ QuorumConnectionLostAllowTraffic

Enumerator
none 
read 
all 

◆ ReadOnlyTargets

enum class ReadOnlyTargets
strong
Enumerator
all 
read_replicas 
secondaries 

Function Documentation

◆ to_string() [1/2]

std::string to_string ( const QuorumConnectionLostAllowTraffic  allow)

◆ to_string() [2/2]

std::string to_string ( const ReadOnlyTargets  mode)

Variable Documentation

◆ kDefaultQuorumConnectionLostAllowTraffic

const QuorumConnectionLostAllowTraffic kDefaultQuorumConnectionLostAllowTraffic
static

◆ kDefaultReadOnlyTargets

const ReadOnlyTargets kDefaultReadOnlyTargets
static