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

Error State. More...

#include <health_monitor_memory_state.h>

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

Public Member Functions

 Error_State ()
 
void enter () override
 
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 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

Error State.

The Memory Collector is running but there is an error that prevents it from collecting memory data.

Constructor & Destructor Documentation

◆ Error_State()

hm::ms::Error_State::Error_State ( )
inline

Member Function Documentation

◆ check_levels()

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

Reimplemented from hm::ms::Memory_State.

◆ enter()

void hm::ms::Error_State::enter ( )
overridevirtual

Reimplemented from hm::ms::Memory_State.


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