|
VLink
2.0.0
A high-performance communication middleware
|
Writer-side event raised when the writer fails to publish within its offered deadline. More...
#include <status_detail.h>
Public Member Functions | |
| Type | get_type () const override |
Returns kOfferedDeadlineMissed. More... | |
| std::string | get_string () const override |
Returns the literal "OfferedDeadlineMissed". 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 deadline misses across all instances. More... | |
| int32_t | total_count_change {0} |
Delta in total_count since the last notification. More... | |
| InstanceHandle | last_instance_handle {nullptr} |
| Opaque handle of the instance that missed most recently. More... | |
Friends | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const OfferedDeadlineMissed &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 writer fails to publish within its offered deadline.
Fires once per missed instance; last_instance_handle identifies the most recent offender.
|
overridevirtual |
Returns the literal "OfferedDeadlineMissed".
Implements vlink::Status::Base.
|
overridevirtual |
|
friend |
Streams the counter fields to ostream.
| ostream | Output stream. |
| status | Event to print. |
ostream. | InstanceHandle vlink::Status::OfferedDeadlineMissed::last_instance_handle {nullptr} |
Opaque handle of the instance that missed most recently.
| int32_t vlink::Status::OfferedDeadlineMissed::total_count {0} |
Cumulative deadline misses across all instances.
| int32_t vlink::Status::OfferedDeadlineMissed::total_count_change {0} |
Delta in total_count since the last notification.