Reorganize MariaDBServer code
The server-class keeps growing, so the additional classes are moved out of the main class file.
This commit is contained in:
@ -33,6 +33,13 @@ typedef std::unordered_map<int64_t, MariaDBServer*> IdToServerMap;
|
||||
// Map of cycle number to cycle members. The elements should be in order for predictability when iterating.
|
||||
typedef std::map<int, ServerArray> CycleMap;
|
||||
|
||||
// Some methods need a log on/off setting.
|
||||
enum class Log
|
||||
{
|
||||
OFF,
|
||||
ON
|
||||
};
|
||||
|
||||
// MariaDB Monitor instance data
|
||||
class MariaDBMonitor : public maxscale::MonitorInstance
|
||||
{
|
||||
|
Reference in New Issue
Block a user