#include <bmqa_manualhosthealthmonitor.h>
◆ HostHealthChangeFn
Invoked as a response to the HostHealthMonitor detecting a change in the state of the host health.
◆ ManualHostHealthMonitor()
BloombergLP::bmqa::ManualHostHealthMonitor::ManualHostHealthMonitor |
( |
bmqt::HostHealthState::Enum |
initialState, |
|
|
bslma::Allocator * |
allocator = 0 |
|
) |
| |
Constructs a ManualHostHealthMonitor
with the given initial state. Optionally specify an allocator
to supply memory. If allocator
is 0, the currently installed default allocator is used.
◆ ~ManualHostHealthMonitor()
BloombergLP::bmqa::ManualHostHealthMonitor::~ManualHostHealthMonitor |
( |
| ) |
|
◆ observeHostHealth()
bdlmt::SignalerConnection BloombergLP::bmqa::ManualHostHealthMonitor::observeHostHealth |
( |
const HostHealthChangeFn & |
cb | ) |
|
|
virtual |
◆ setState()
◆ hostState()
The documentation for this class was generated from the following file: