MySQL 26.10.0
Source Code Documentation
hm::ms::Normal_State Class Reference

Normal State. More...

#include <health_monitor_memory_state.h>

Inheritance diagram for hm::ms::Normal_State:
[legend]

Public Member Functions

 Normal_State ()
 
void check_levels () override
 
- Public Member Functions inherited from hm::ms::Memory_State
 Memory_State ()=default
 
 Memory_State (const char *state_name, State state)
 
virtual ~Memory_State ()=default
 
virtual void enter ()
 
virtual void exit ()
 
enum State state () const
 

Additional Inherited Members

- Public Types inherited from hm::ms::Memory_State
enum  State {
  UNDEF , START , STOP , NORMAL ,
  WARNING , ERROR
}
 
- Static Public Member Functions inherited from hm::ms::Memory_State
static void set_collector (Memory_Collector *collector)
 
static void get_params ()
 Memory State - Get params Get the memory threshold params from the memory collector. More...
 
static void get_levels ()
 Memory State - Get levels Get the memory levels from the memory collector. More...
 
- Static Public Attributes inherited from hm::ms::Memory_State
static Memory_Collector * mc {nullptr}
 
static uint64_t available_mb {0}
 
static uint64_t low_space_limit_mb
 
static uint64_t critical_level_mb
 
static uint64_t warn_level_1_mb {0}
 
static uint64_t warn_level_2_mb {0}
 
static uint64_t warn_level_3_mb {0}
 
static uint64_t max_warn_level_mb {0}
 

Detailed Description

Normal State.

Available memory is above warning levels.

Constructor & Destructor Documentation

◆ Normal_State()

hm::ms::Normal_State::Normal_State ( )
inline

Member Function Documentation

◆ check_levels()

void hm::ms::Normal_State::check_levels ( )
overridevirtual

Reimplemented from hm::ms::Memory_State.


The documentation for this class was generated from the following file: