|
VLink
2.0.0
A high-performance communication middleware
|
Writer-side event raised when the liveliness lease lapses without assertion. More...
#include <status_detail.h>
Public Member Functions | |
| Type | get_type () const override |
Returns kLivelinessLost. More... | |
| std::string | get_string () const override |
Returns the literal "LivelinessLost". More... | |
Public Member Functions inherited from vlink::Status::Base | |
| template<typename T > | |
| std::shared_ptr< T > | as () const |
Safely narrows this event to a concrete Status subclass. More... | |
Public Attributes | |
| int32_t | total_count {0} |
| Cumulative liveliness-lost events emitted. More... | |
| int32_t | total_count_change {0} |
Delta in total_count since the last notification. More... | |
Friends | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const LivelinessLost &status) noexcept |
Streams the counter fields to ostream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Writer-side event raised when the liveliness lease lapses without assertion.
Peers will consider the writer dead until liveliness is re-asserted.
|
overridevirtual |
|
overridevirtual |
|
friend |
Streams the counter fields to ostream.
| ostream | Output stream. |
| status | Event to print. |
ostream. | int32_t vlink::Status::LivelinessLost::total_count {0} |
Cumulative liveliness-lost events emitted.
| int32_t vlink::Status::LivelinessLost::total_count_change {0} |
Delta in total_count since the last notification.