MySQL 8.0.39
Source Code Documentation
Handler_applier_configuration_action Class Reference

Action to configure existing applier handlers. More...

#include <pipeline_handlers.h>

Inheritance diagram for Handler_applier_configuration_action:
[legend]

Public Member Functions

 Handler_applier_configuration_action (char *applier_name, bool reset_logs, ulong plugin_shutdown_timeout, rpl_sidno group_sidno)
 Configuration for applier handlers. More...
 
 Handler_applier_configuration_action (ulong plugin_shutdown_timeout)
 Configuration for applier handlers. More...
 
 ~Handler_applier_configuration_action () override=default
 
char * get_applier_name ()
 
ulong get_applier_shutdown_timeout ()
 
bool is_reset_logs_planned ()
 
rpl_sidno get_sidno ()
 
bool is_initialization_conf ()
 Informs if this is a action with configurations for initialization or just timeout configurations. More...
 
- Public Member Functions inherited from Pipeline_action
 Pipeline_action (int action_type)
 
virtual ~Pipeline_action ()=default
 
int get_action_type ()
 Returns this action type. More...
 

Private Attributes

char * applier_name
 
bool reset_logs
 
ulong applier_shutdown_timeout
 
rpl_sidno group_sidno
 
bool initialization_conf
 

Detailed Description

Action to configure existing applier handlers.

Constructor & Destructor Documentation

◆ Handler_applier_configuration_action() [1/2]

Handler_applier_configuration_action::Handler_applier_configuration_action ( char *  applier_name,
bool  reset_logs,
ulong  plugin_shutdown_timeout,
rpl_sidno  group_sidno 
)
inline

Configuration for applier handlers.

Parameters
applier_namethe applier's channel name
reset_logsif a reset was executed in the server
plugin_shutdown_timeoutthe plugin's timeout for component shutdown
group_sidnothe group configured sidno

◆ Handler_applier_configuration_action() [2/2]

Handler_applier_configuration_action::Handler_applier_configuration_action ( ulong  plugin_shutdown_timeout)
inline

Configuration for applier handlers.

Parameters
plugin_shutdown_timeoutthe plugin's timeout for component shutdown

◆ ~Handler_applier_configuration_action()

Handler_applier_configuration_action::~Handler_applier_configuration_action ( )
overridedefault

Member Function Documentation

◆ get_applier_name()

char * Handler_applier_configuration_action::get_applier_name ( )
inline
Returns
the applier's name
Return values
NULLif not defined
!=NULLif defined

◆ get_applier_shutdown_timeout()

ulong Handler_applier_configuration_action::get_applier_shutdown_timeout ( )
inline

◆ get_sidno()

rpl_sidno Handler_applier_configuration_action::get_sidno ( )
inline

◆ is_initialization_conf()

bool Handler_applier_configuration_action::is_initialization_conf ( )
inline

Informs if this is a action with configurations for initialization or just timeout configurations.

Return values
trueif initialization action
falseif timeout configuration action

◆ is_reset_logs_planned()

bool Handler_applier_configuration_action::is_reset_logs_planned ( )
inline

Member Data Documentation

◆ applier_name

char* Handler_applier_configuration_action::applier_name
private

◆ applier_shutdown_timeout

ulong Handler_applier_configuration_action::applier_shutdown_timeout
private

◆ group_sidno

rpl_sidno Handler_applier_configuration_action::group_sidno
private

◆ initialization_conf

bool Handler_applier_configuration_action::initialization_conf
private

◆ reset_logs

bool Handler_applier_configuration_action::reset_logs
private

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