24#ifndef MYSQL_CSA_CHANNEL_H
25#define MYSQL_CSA_CHANNEL_H
47 Channel(
const std::string &name,
unsigned int instance_id,
On a replica and only on a replica, this class is responsible for committing the applied transactions...
Definition: rpl_replica_commit_order_manager.h:198
Represents a channel in the Change Stream Applier (CSA).
Definition: channel.h:33
unsigned int m_instance_id
Unique id of the channel.
Definition: channel.h:38
Commit_order_manager * m_commit_order_manager
Pointer to the commit order manager.
Definition: channel.h:40
Channel(const std::string &name, unsigned int instance_id, Commit_order_manager *commit_order_manager)
Constructor.
Definition: channel.cpp:30
const std::string m_name
The name of the channel.
Definition: channel.h:36
Commit_order_manager * get_commit_order_manager() const
Commit order manager accessor.
Definition: channel.cpp:38
virtual ~Channel()
Destructor.
Definition: channel.cpp:34
const std::string & get_name() const
Obtains the name of the channel.
Definition: channel.cpp:36
unsigned int get_channel_id() const
Definition: channel.cpp:42
Definition: channel.cpp:28