MySQL 8.3.0
Source Code Documentation
Mysql::Tools::Dump::I_dump_task Class Referenceabstract

Interface for all individual dump process tasks. More...

#include <i_dump_task.h>

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

Public Member Functions

virtual ~I_dump_task ()
 
virtual I_data_objectget_related_db_object () const =0
 
virtual bool is_completed () const =0
 Returns true if task was fully completed by all elements of chain. More...
 
virtual void set_completed ()=0
 Sets task completed flag. More...
 
virtual bool can_be_executed () const =0
 Returns true if task can start processing, for example when all dependencies are met. More...
 

Detailed Description

Interface for all individual dump process tasks.

Constructor & Destructor Documentation

◆ ~I_dump_task()

I_dump_task::~I_dump_task ( )
virtualdefault

Member Function Documentation

◆ can_be_executed()

virtual bool Mysql::Tools::Dump::I_dump_task::can_be_executed ( ) const
pure virtual

Returns true if task can start processing, for example when all dependencies are met.

Implemented in Mysql::Tools::Dump::Abstract_dump_task, and Mysql::Tools::Dump::Row_group_dump_task.

◆ get_related_db_object()

virtual I_data_object * Mysql::Tools::Dump::I_dump_task::get_related_db_object ( ) const
pure virtual

◆ is_completed()

virtual bool Mysql::Tools::Dump::I_dump_task::is_completed ( ) const
pure virtual

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

Implemented in Mysql::Tools::Dump::Abstract_simple_dump_task.

◆ set_completed()

virtual void Mysql::Tools::Dump::I_dump_task::set_completed ( )
pure virtual

Sets task completed flag.

Need to be called once main chain element receives completion report.

Implemented in Mysql::Tools::Dump::Abstract_dump_task, Mysql::Tools::Dump::Abstract_simple_dump_task, and Mysql::Tools::Dump::Row_group_dump_task.


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