Format routers and monitors
This commit is contained in:
@ -110,7 +110,7 @@ public:
|
||||
|
||||
bool is_running() const
|
||||
{
|
||||
return m_nRunning > 0;
|
||||
return m_nRunning > 0;
|
||||
}
|
||||
|
||||
void set_running(bool running, approach_t approach = APPROACH_DEFAULT)
|
||||
@ -231,15 +231,15 @@ private:
|
||||
Clustrix::SubState m_substate;
|
||||
int m_instance;
|
||||
std::string m_ip;
|
||||
int m_mysql_port { DEFAULT_MYSQL_PORT };
|
||||
int m_health_port { DEFAULT_HEALTH_PORT };
|
||||
int m_health_check_threshold { DEFAULT_HEALTH_CHECK_THRESHOLD_VALUE };
|
||||
int m_nRunning { 0 };
|
||||
SERVER* m_pServer { nullptr };
|
||||
MYSQL* m_pCon { nullptr };
|
||||
int m_mysql_port {DEFAULT_MYSQL_PORT};
|
||||
int m_health_port {DEFAULT_HEALTH_PORT};
|
||||
int m_health_check_threshold {DEFAULT_HEALTH_CHECK_THRESHOLD_VALUE};
|
||||
int m_nRunning {0};
|
||||
SERVER* m_pServer {nullptr};
|
||||
MYSQL* m_pCon {nullptr};
|
||||
};
|
||||
|
||||
inline std::ostream& operator << (std::ostream& out, const ClustrixNode& x)
|
||||
inline std::ostream& operator<<(std::ostream& out, const ClustrixNode& x)
|
||||
{
|
||||
x.print(out);
|
||||
return out;
|
||||
|
||||
Reference in New Issue
Block a user