MXS-2314 Move journal checking inside Monitor

This commit is contained in:
Johan Wikman
2019-02-08 14:24:38 +02:00
parent cac1d76e48
commit 3646c118c9
2 changed files with 15 additions and 10 deletions

View File

@ -337,6 +337,13 @@ protected:
*/
void detect_handle_state_changes();
/**
* Is the journal stale?
*
* @return True, if the journal is stale, false otherwise.
*/
bool journal_is_stale() const;
/**
* @brief Called when a server has been added to the monitor.
*
@ -450,8 +457,6 @@ private:
* @brief The monitor should populate associated services.
*/
virtual void populate_services();
bool journal_is_stale();
};
/**