MySQL 8.0.39
Source Code Documentation
Binlog_transmit_delegate Class Reference

#include <rpl_handler.h>

Inheritance diagram for Binlog_transmit_delegate:
[legend]

Public Types

typedef Binlog_transmit_observer Observer
 
- Public Types inherited from Delegate
typedef List< Observer_infoObserver_info_list
 
typedef List_iterator< Observer_infoObserver_info_iterator
 

Public Member Functions

 Binlog_transmit_delegate ()
 
int transmit_start (THD *thd, ushort flags, const char *log_file, my_off_t log_pos, bool *observe_transmission)
 
int transmit_stop (THD *thd, ushort flags)
 
int reserve_header (THD *thd, ushort flags, String *packet)
 
int before_send_event (THD *thd, ushort flags, String *packet, const char *log_file, my_off_t log_pos)
 
int after_send_event (THD *thd, ushort flags, String *packet, const char *skipped_log_file, my_off_t skipped_log_pos)
 
int after_reset_master (THD *thd, ushort flags)
 
- Public Member Functions inherited from Delegate
 Delegate (PSI_rwlock_key key)
 Class constructor. More...
 
virtual ~Delegate ()
 Class destructor. More...
 
int add_observer (void *observer, st_plugin_int *plugin)
 Adds an observer to the observer list. More...
 
int remove_observer (void *observer)
 Removes an observer from the observer list. More...
 
Observer_info_iterator observer_info_iter ()
 Retrieves an iterator for the observer list. More...
 
bool is_empty ()
 Returns whether or not there are registered observers. More...
 
int read_lock ()
 Acquires this Delegate class instance lock in read/shared mode. More...
 
int write_lock ()
 Acquires this Delegate class instance lock in write/exclusive mode. More...
 
int unlock ()
 Releases this Delegate class instance lock. More...
 
bool is_inited ()
 Returns whether or not this instance was initialized. More...
 
void update_lock_type ()
 Toggles the type of lock between a classical read-write lock and a shared-exclusive spin-lock. More...
 
void update_plugin_ref_count ()
 Increases the info->plugin usage reference counting if replication_optimize_for_static_plugin_config is being enabled, in order to prevent plugin removal. More...
 
bool use_rw_lock_type ()
 Returns whether or not to use the classic read-write lock. More...
 
bool use_spin_lock_type ()
 Returns whether or not to use the shared spin-lock. More...
 

Member Typedef Documentation

◆ Observer

Constructor & Destructor Documentation

◆ Binlog_transmit_delegate()

Binlog_transmit_delegate::Binlog_transmit_delegate ( )
inline

Member Function Documentation

◆ after_reset_master()

int Binlog_transmit_delegate::after_reset_master ( THD thd,
ushort  flags 
)

◆ after_send_event()

int Binlog_transmit_delegate::after_send_event ( THD thd,
ushort  flags,
String packet,
const char *  skipped_log_file,
my_off_t  skipped_log_pos 
)

◆ before_send_event()

int Binlog_transmit_delegate::before_send_event ( THD thd,
ushort  flags,
String packet,
const char *  log_file,
my_off_t  log_pos 
)

◆ reserve_header()

int Binlog_transmit_delegate::reserve_header ( THD thd,
ushort  flags,
String packet 
)

◆ transmit_start()

int Binlog_transmit_delegate::transmit_start ( THD thd,
ushort  flags,
const char *  log_file,
my_off_t  log_pos,
bool *  observe_transmission 
)

◆ transmit_stop()

int Binlog_transmit_delegate::transmit_stop ( THD thd,
ushort  flags 
)

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