MySQL 9.0.0
Source Code Documentation
|
A class to hold different channel observation manager. More...
#include <channel_observation_manager.h>
Public Member Functions | |
Channel_observation_manager_list (MYSQL_PLUGIN plugin_info, uint num_managers) | |
Constructor. More... | |
~Channel_observation_manager_list () | |
Destructor. More... | |
void | add_channel_observation_manager (Channel_observation_manager *manager) |
A method to add channel observation manager to the channel_observation_manager list. More... | |
void | remove_channel_observation_manager (Channel_observation_manager *manager) |
A method to remove a channel observation manager from channel_observation_manager list. More... | |
std::list< Channel_observation_manager * > & | get_channel_observation_manager_list () |
Get all the channel observation manager. More... | |
Channel_observation_manager * | get_channel_observation_manager (uint position=0) |
Get particular channel observation manager. More... | |
Private Attributes | |
Binlog_relay_IO_observer | server_channel_state_observers |
Server relay log observer struct. More... | |
MYSQL_PLUGIN | group_replication_plugin_info |
server plugin handle More... | |
std::list< Channel_observation_manager * > | channel_observation_manager |
list of channel observation manager More... | |
A class to hold different channel observation manager.
Channel_observation_manager_list::Channel_observation_manager_list | ( | MYSQL_PLUGIN | plugin_info, |
uint | num_managers | ||
) |
Constructor.
Initializes the given number of channel observation manager and register an observer in the server.
plugin_info | The plugin info to register the hooks |
num_managers | The number of channel observation manager instantiated |
Channel_observation_manager_list::~Channel_observation_manager_list | ( | ) |
Destructor.
Unregister the server observer and deletes all the channel observation manager.
void Channel_observation_manager_list::add_channel_observation_manager | ( | Channel_observation_manager * | manager | ) |
A method to add channel observation manager to the channel_observation_manager list.
manager | A channel observation manager implementation. |
Channel_observation_manager * Channel_observation_manager_list::get_channel_observation_manager | ( | uint | position = 0 | ) |
Get particular channel observation manager.
position | get iterator value at position |
std::list< Channel_observation_manager * > & Channel_observation_manager_list::get_channel_observation_manager_list | ( | ) |
Get all the channel observation manager.
void Channel_observation_manager_list::remove_channel_observation_manager | ( | Channel_observation_manager * | manager | ) |
A method to remove a channel observation manager from channel_observation_manager list.
manager | A channel observation manager implementation. |
|
private |
list of channel observation manager
|
private |
server plugin handle
|
private |
Server relay log observer struct.