MySQL 9.0.0
Source Code Documentation
|
This is the abstract base class for slave start until options. More...
#include <rpl_replica_until_options.h>
Public Member Functions | |
virtual | ~Until_option ()=default |
bool | is_satisfied_at_start_slave () |
Check if the until option is already satisfied at coordinator starting. More... | |
bool | is_satisfied_before_dispatching_event (const Log_event *ev) |
check if the until option is satisfied before applying or dispatching a event. More... | |
bool | is_satisfied_after_dispatching_event () |
check if the until option is satisfied after applied or dispatched a event. More... | |
bool | is_satisfied_all_transactions_read_from_relay_log () |
check if the until option is waiting for more transactions to be read from the relay log. More... | |
Protected Member Functions | |
Until_option (Relay_log_info *rli) | |
Protected Attributes | |
Relay_log_info * | m_rli |
Private Member Functions | |
virtual bool | check_at_start_slave ()=0 |
virtual bool | check_before_dispatching_event (const Log_event *ev)=0 |
virtual bool | check_after_dispatching_event ()=0 |
virtual bool | check_all_transactions_read_from_relay_log ()=0 |
This is the abstract base class for slave start until options.
It defines the public interfaces called by slave coordinator.
This class publics three interfaces:
These three interfaces cover all until options's check requirements.
|
virtualdefault |
|
inlineprotected |
|
privatepure virtual |
Implemented in Until_master_position, Until_relay_position, Until_before_gtids, Until_after_gtids, Until_view_id, and Until_mts_gap.
|
privatepure virtual |
Implemented in Until_master_position, Until_relay_position, Until_before_gtids, Until_after_gtids, Until_view_id, and Until_mts_gap.
|
privatepure virtual |
Implemented in Until_master_position, Until_relay_position, Until_before_gtids, Until_after_gtids, Until_view_id, and Until_mts_gap.
|
privatepure virtual |
Implemented in Until_master_position, Until_relay_position, Until_before_gtids, Until_after_gtids, Until_view_id, and Until_mts_gap.
|
inline |
check if the until option is satisfied after applied or dispatched a event.
true | if it is satisfied. |
false | if it is not satisfied. |
|
inline |
check if the until option is waiting for more transactions to be read from the relay log.
true | all log events where read. |
false | waiting for more log events to be read. |
|
inline |
Check if the until option is already satisfied at coordinator starting.
true | if it is satisfied. |
false | if it is not satisfied. |
|
inline |
check if the until option is satisfied before applying or dispatching a event.
[in] | ev | point to the event which will be applied or dispatched. |
true | if it is satisfied. |
false | if it is not satisfied. |
|
protected |