MXS-1775 Monitor stopping moved to maxscale::MonitorInstance
This commit is contained in:
@ -154,22 +154,6 @@ bool MMMonitor::start(const MXS_CONFIG_PARAMETER *params)
|
||||
return started;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stop a running monitor
|
||||
*
|
||||
* @param arg Handle on thr running monior
|
||||
*/
|
||||
void MMMonitor::stop()
|
||||
{
|
||||
m_shutdown = 1;
|
||||
thread_wait(m_thread);
|
||||
m_thread = 0;
|
||||
m_shutdown = 0;
|
||||
|
||||
MXS_FREE(m_script);
|
||||
m_script = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Diagnostic interface
|
||||
*
|
||||
|
@ -29,7 +29,6 @@ public:
|
||||
static MMMonitor* create(MXS_MONITOR* monitor);
|
||||
void destroy();
|
||||
bool start(const MXS_CONFIG_PARAMETER* param);
|
||||
void stop();
|
||||
void diagnostics(DCB* dcb) const;
|
||||
json_t* diagnostics_json() const;
|
||||
|
||||
|
Reference in New Issue
Block a user