Store and synchronize the effective automatic monitored path.
More...
#include <health_monitor_monitored_path.h>
Store and synchronize the effective automatic monitored path.
◆ begin_refresh()
| bool hm::Monitored_path_cache::begin_refresh |
( |
| ) |
|
|
inline |
◆ generation()
| uint64_t hm::Monitored_path_cache::generation |
( |
| ) |
const |
|
inline |
◆ request_refresh()
| void hm::Monitored_path_cache::request_refresh |
( |
| ) |
|
|
inline |
◆ select()
| bool hm::Monitored_path_cache::select |
( |
const std::string & |
configured_path, |
|
|
std::string & |
effective_path, |
|
|
uint64_t & |
generation |
|
) |
| const |
|
inline |
◆ store()
| void hm::Monitored_path_cache::store |
( |
const std::optional< std::string > & |
path | ) |
|
|
inline |
◆ m_generation
| uint64_t hm::Monitored_path_cache::m_generation {0} |
|
private |
◆ m_mutex
| std::mutex hm::Monitored_path_cache::m_mutex |
|
mutableprivate |
◆ m_path
| std::optional<std::string> hm::Monitored_path_cache::m_path |
|
private |
◆ m_refresh_in_progress
| bool hm::Monitored_path_cache::m_refresh_in_progress {false} |
|
private |
◆ m_refresh_requested
| bool hm::Monitored_path_cache::m_refresh_requested {false} |
|
private |
The documentation for this class was generated from the following file: