MySQL 8.0.40
Source Code Documentation
Mysql::Tools::Dump::Abstract_simple_dump_task Class Reference

Base class for all individual dump process tasks. More...

#include <abstract_simple_dump_task.h>

Inheritance diagram for Mysql::Tools::Dump::Abstract_simple_dump_task:
[legend]

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_objectget_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
 

Detailed Description

Base class for all individual dump process tasks.

Constructor & Destructor Documentation

◆ Abstract_simple_dump_task()

Abstract_simple_dump_task::Abstract_simple_dump_task ( )

◆ ~Abstract_simple_dump_task()

Abstract_simple_dump_task::~Abstract_simple_dump_task ( )
overridedefault

Member Function Documentation

◆ is_completed()

bool Abstract_simple_dump_task::is_completed ( ) const
overridevirtual

Returns true if task was fully completed by all elements of chain.

Implements Mysql::Tools::Dump::I_dump_task.

◆ set_completed()

void Abstract_simple_dump_task::set_completed ( )
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.

Member Data Documentation

◆ m_is_completed

std::atomic<bool> Mysql::Tools::Dump::Abstract_simple_dump_task::m_is_completed
private

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