VLink  2.0.0
A high-performance communication middleware
vlink::Status::LivelinessLost Struct Referencefinal

Writer-side event raised when the liveliness lease lapses without assertion. More...

#include <status_detail.h>

Inheritance diagram for vlink::Status::LivelinessLost:
Collaboration diagram for vlink::Status::LivelinessLost:

Public Member Functions

Type get_type () const override
 Returns kLivelinessLost. More...
 
std::string get_string () const override
 Returns the literal "LivelinessLost". 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

Detailed Description

Writer-side event raised when the liveliness lease lapses without assertion.

Peers will consider the writer dead until liveliness is re-asserted.

Member Function Documentation

◆ get_string()

std::string vlink::Status::LivelinessLost::get_string ( ) const
overridevirtual

Returns the literal "LivelinessLost".

Returns
Event name string.

Implements vlink::Status::Base.

◆ get_type()

Type vlink::Status::LivelinessLost::get_type ( ) const
overridevirtual

Returns kLivelinessLost.

Returns
Status type discriminator.

Implements vlink::Status::Base.

Friends And Related Function Documentation

◆ operator<<

VLINK_EXPORT friend std::ostream& operator<< ( std::ostream &  ostream,
const LivelinessLost status 
)
friend

Streams the counter fields to ostream.

Parameters
ostreamOutput stream.
statusEvent to print.
Returns
Reference to ostream.

Member Data Documentation

◆ total_count

int32_t vlink::Status::LivelinessLost::total_count {0}

Cumulative liveliness-lost events emitted.

◆ total_count_change

int32_t vlink::Status::LivelinessLost::total_count_change {0}

Delta in total_count since the last notification.


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