|
Common System 0.2.0
Common interfaces and patterns for system integration
|


Public Member Functions | |
| std::string | get_name () const override |
| Get the unique name of this health check. | |
| health_check_type | get_type () const override |
| Get the type of this health check. | |
| bool | is_critical () const override |
| Check if this health check is critical. | |
| health_check_result | check () override |
| Perform the health check. | |
Public Member Functions inherited from kcenon::common::interfaces::health_check | |
| health_check ()=default | |
| virtual | ~health_check ()=default |
| health_check (const health_check &)=delete | |
| health_check & | operator= (const health_check &)=delete |
| health_check (health_check &&)=delete | |
| health_check & | operator= (health_check &&)=delete |
| virtual std::chrono::milliseconds | get_timeout () const |
| Get timeout duration for this health check. | |
Definition at line 28 of file health_check_example.cpp.
|
inlineoverridevirtual |
Perform the health check.
Implements kcenon::common::interfaces::health_check.
Definition at line 35 of file health_check_example.cpp.
References kcenon::common::interfaces::health_check_result::message, and kcenon::common::interfaces::health_check_result::status.
|
inlineoverridevirtual |
Get the unique name of this health check.
Implements kcenon::common::interfaces::health_check.
Definition at line 31 of file health_check_example.cpp.
|
inlineoverridevirtual |
Get the type of this health check.
Implements kcenon::common::interfaces::health_check.
Definition at line 32 of file health_check_example.cpp.
|
inlineoverridevirtual |
Check if this health check is critical.
Critical health checks affect the overall system health status. Non-critical checks are reported but don't impact system health.
Implements kcenon::common::interfaces::health_check.
Definition at line 33 of file health_check_example.cpp.