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

Warning State. More...

#include <health_monitor_memory_state.h>

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

Public Member Functions

 Warning_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
 

Static Public Member Functions

static bool check_warning_level ()
 
- 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...
 

Additional Inherited Members

- Public Types inherited from hm::ms::Memory_State
enum  State {
  UNDEF , START , STOP , NORMAL ,
  WARNING , ERROR
}
 
- 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

Warning State.

Available memory is below one or more warning levels.

Constructor & Destructor Documentation

◆ Warning_State()

hm::ms::Warning_State::Warning_State ( )
inline

Member Function Documentation

◆ check_levels()

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

Reimplemented from hm::ms::Memory_State.

◆ check_warning_level()

static bool hm::ms::Warning_State::check_warning_level ( )
static

◆ enter()

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

Reimplemented from hm::ms::Memory_State.


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