![]() |
MySQL 26.7.0
Source Code Documentation
|
Represents a channel in the Change Stream Applier (CSA). More...
#include <channel.h>
Public Member Functions | |
| Channel (const std::string &name, unsigned int instance_id, Commit_order_manager *commit_order_manager) | |
| Constructor. More... | |
| virtual | ~Channel () |
| Destructor. More... | |
| const std::string & | get_name () const |
| Obtains the name of the channel. More... | |
| Commit_order_manager * | get_commit_order_manager () const |
| Commit order manager accessor. More... | |
| unsigned int | get_channel_id () const |
Protected Attributes | |
| const std::string | m_name |
| The name of the channel. More... | |
| unsigned int | m_instance_id {0} |
| Unique id of the channel. More... | |
| Commit_order_manager * | m_commit_order_manager |
| Pointer to the commit order manager. More... | |
Represents a channel in the Change Stream Applier (CSA).
| Channel::Channel | ( | const std::string & | name, |
| unsigned int | instance_id, | ||
| Commit_order_manager * | commit_order_manager | ||
| ) |
Constructor.
| name | Name of the channel |
| instance_id | Unique id of the channel |
| commit_order_manager | Pointer to the commit order manager |
|
virtual |
Destructor.
| unsigned int Channel::get_channel_id | ( | ) | const |
| Commit_order_manager * Channel::get_commit_order_manager | ( | ) | const |
Commit order manager accessor.
| const std::string & Channel::get_name | ( | ) | const |
Obtains the name of the channel.
|
protected |
Pointer to the commit order manager.
|
protected |
Unique id of the channel.
|
protected |
The name of the channel.