MySQL 8.0.39
Source Code Documentation
|
Base class for all individual dump process tasks. More...
#include <abstract_simple_dump_task.h>
Public Member Functions | |
Abstract_simple_dump_task () | |
~Abstract_simple_dump_task () override | |
bool | is_completed () const override |
Returns true if task was fully completed by all elements of chain. More... | |
void | set_completed () override |
Sets task completed flag. More... | |
Public Member Functions inherited from Mysql::Tools::Dump::I_dump_task | |
virtual | ~I_dump_task () |
virtual I_data_object * | get_related_db_object () const =0 |
virtual bool | can_be_executed () const =0 |
Returns true if task can start processing, for example when all dependencies are met. More... | |
Private Attributes | |
std::atomic< bool > | m_is_completed |
Base class for all individual dump process tasks.
Abstract_simple_dump_task::Abstract_simple_dump_task | ( | ) |
|
overridedefault |
|
overridevirtual |
Returns true if task was fully completed by all elements of chain.
Implements Mysql::Tools::Dump::I_dump_task.
|
overridevirtual |
Sets task completed flag.
Need to be called once main chain element receives completion report.
Implements Mysql::Tools::Dump::I_dump_task.
Reimplemented in Mysql::Tools::Dump::Row_group_dump_task.
|
private |