MySQL 8.0.39
Source Code Documentation
Mts_submode Class Referenceabstract

#include <rpl_mta_submode.h>

Inheritance diagram for Mts_submode:
[legend]

Public Member Functions

 Mts_submode ()=default
 
enum_mts_parallel_type get_type ()
 
virtual int schedule_next_event (Relay_log_info *rli, Log_event *ev)=0
 
virtual void attach_temp_tables (THD *thd, const Relay_log_info *rli, Query_log_event *ev)=0
 
virtual void detach_temp_tables (THD *thd, const Relay_log_info *rli, Query_log_event *ev)=0
 
virtual Slave_workerget_least_occupied_worker (Relay_log_info *rli, Slave_worker_array *ws, Log_event *ev)=0
 
virtual int wait_for_workers_to_finish (Relay_log_info *rli, Slave_worker *ignore=nullptr)=0
 
virtual bool set_multi_threaded_applier_context (const Relay_log_info &, Log_event &)
 Sets additional context before the event is set to execute. More...
 
virtual ~Mts_submode ()=default
 

Protected Attributes

enum_mts_parallel_type type
 

Constructor & Destructor Documentation

◆ Mts_submode()

Mts_submode::Mts_submode ( )
default

◆ ~Mts_submode()

virtual Mts_submode::~Mts_submode ( )
virtualdefault

Member Function Documentation

◆ attach_temp_tables()

virtual void Mts_submode::attach_temp_tables ( THD thd,
const Relay_log_info rli,
Query_log_event ev 
)
pure virtual

◆ detach_temp_tables()

virtual void Mts_submode::detach_temp_tables ( THD thd,
const Relay_log_info rli,
Query_log_event ev 
)
pure virtual

◆ get_least_occupied_worker()

virtual Slave_worker * Mts_submode::get_least_occupied_worker ( Relay_log_info rli,
Slave_worker_array ws,
Log_event ev 
)
pure virtual

◆ get_type()

enum_mts_parallel_type Mts_submode::get_type ( )
inline

◆ schedule_next_event()

virtual int Mts_submode::schedule_next_event ( Relay_log_info rli,
Log_event ev 
)
pure virtual

◆ set_multi_threaded_applier_context()

virtual bool Mts_submode::set_multi_threaded_applier_context ( const Relay_log_info ,
Log_event  
)
inlinevirtual

Sets additional context before the event is set to execute.

Reimplemented in Mts_submode_database.

◆ wait_for_workers_to_finish()

virtual int Mts_submode::wait_for_workers_to_finish ( Relay_log_info rli,
Slave_worker ignore = nullptr 
)
pure virtual

Member Data Documentation

◆ type

enum_mts_parallel_type Mts_submode::type
protected

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