MXS-1775 Move status management to MonitorInstance

This commit is contained in:
Johan Wikman
2018-05-16 14:00:23 +03:00
parent 1e084b78b1
commit 15e3a2887c
5 changed files with 12 additions and 12 deletions

View File

@ -40,7 +40,6 @@ protected:
static void main(void* pArg);
int m_status; /**< The current status of the monitor. */
MXS_MONITOR* m_monitor; /**< The generic monitor structure. */
int32_t m_shutdown; /**< Non-zero if the monitor should shut down. */
std::string m_script; /**< Launchable script. */
@ -48,6 +47,7 @@ protected:
bool m_checked; /**< Whether server access has been checked. */
private:
int32_t m_status; /**< The current status of the monitor. */
THREAD m_thread; /**< The thread handle of the monitoring thread. */
};