MXS-1775 Add functions for checking disk space of servers

This commit is contained in:
Johan Wikman
2018-06-05 10:54:15 +03:00
parent 4325ab620b
commit 5172c43e29
4 changed files with 173 additions and 2 deletions

View File

@ -113,6 +113,12 @@ protected:
return atomic_load_int32(&m_shutdown) != 0;
}
bool should_check_disk_space(const MXS_MONITORED_SERVER* pMonitored_server) const;
void check_disk_space(MXS_MONITORED_SERVER* pMonitored_server);
static int64_t get_time_ms();
/**
* @brief Configure the monitor.
*