MySQL  8.0.21
Source Code Documentation
Delegate Class Reference

#include <rpl_handler.h>

Inheritance diagram for Delegate:
Binlog_relay_IO_delegate Binlog_storage_delegate Binlog_transmit_delegate Server_state_delegate Trans_delegate

Public Types

typedef List< Observer_infoObserver_info_list
 
typedef List_iterator< Observer_infoObserver_info_iterator
 

Public Member Functions

int add_observer (void *observer, st_plugin_int *plugin)
 
int remove_observer (void *observer)
 
Observer_info_iterator observer_info_iter ()
 
bool is_empty ()
 
int read_lock ()
 
int write_lock ()
 
int unlock ()
 
bool is_inited ()
 
 Delegate (PSI_rwlock_key key)
 
 ~Delegate ()
 

Private Attributes

Observer_info_list observer_info_list
 
mysql_rwlock_t lock
 
MEM_ROOT memroot
 
bool inited
 

Member Typedef Documentation

◆ Observer_info_iterator

◆ Observer_info_list

Constructor & Destructor Documentation

◆ Delegate()

Delegate::Delegate ( PSI_rwlock_key  key)
explicit

◆ ~Delegate()

Delegate::~Delegate ( )
inline

Member Function Documentation

◆ add_observer()

int Delegate::add_observer ( void *  observer,
st_plugin_int plugin 
)
inline

◆ is_empty()

bool Delegate::is_empty ( )
inline

◆ is_inited()

bool Delegate::is_inited ( )
inline

◆ observer_info_iter()

Observer_info_iterator Delegate::observer_info_iter ( )
inline

◆ read_lock()

int Delegate::read_lock ( )
inline

◆ remove_observer()

int Delegate::remove_observer ( void *  observer)
inline

◆ unlock()

int Delegate::unlock ( )
inline

◆ write_lock()

int Delegate::write_lock ( )
inline

Member Data Documentation

◆ inited

bool Delegate::inited
private

◆ lock

mysql_rwlock_t Delegate::lock
private

◆ memroot

MEM_ROOT Delegate::memroot
private

◆ observer_info_list

Observer_info_list Delegate::observer_info_list
private

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