MySQL  8.0.23
Source Code Documentation
Gcs_xcom_statistics_updater Class Referenceabstract

#include <gcs_xcom_statistics_interface.h>

Inheritance diagram for Gcs_xcom_statistics_updater:
Gcs_xcom_statistics

Public Member Functions

virtual void update_message_sent (unsigned long long message_length)=0
 Method called to register that a message has been sent. More...
 
virtual void update_message_received (long message_length)=0
 Method called to register when a message is received. More...
 
virtual ~Gcs_xcom_statistics_updater ()
 

Detailed Description

This interface contains the public methods that the implementation of the Gcs_statistics_interface will provide to the other interfaces that update statistics.

Constructor & Destructor Documentation

◆ ~Gcs_xcom_statistics_updater()

virtual Gcs_xcom_statistics_updater::~Gcs_xcom_statistics_updater ( )
inlinevirtual

Member Function Documentation

◆ update_message_received()

virtual void Gcs_xcom_statistics_updater::update_message_received ( long  message_length)
pure virtual

Method called to register when a message is received.

This will update:

  • Total Messages Received;
  • Total Bytes Received;
  • Min Message Length;
  • Max Message Lenghth;
  • Last Message Timestamp.
Parameters
[in]message_lengththe length of the message received

Implemented in Gcs_xcom_statistics.

◆ update_message_sent()

virtual void Gcs_xcom_statistics_updater::update_message_sent ( unsigned long long  message_length)
pure virtual

Method called to register that a message has been sent.

This will update:

  • Total Messages Sent;
  • Total Bytes Sent.
Parameters
[in]message_lengththe length of the message being sent

Implemented in Gcs_xcom_statistics.


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