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

#include <abstract_progress_reporter.h>

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

Public Member Functions

void register_progress_watcher (I_progress_watcher *new_progress_watcher) override
 Add new Progress Watcher to report to. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::I_progress_reporter
virtual ~I_progress_reporter ()
 

Protected Member Functions

bool have_progress_watcher ()
 Specifies if have any Progress Watcher registered. More...
 
void report_new_chain_created (Item_processing_data *new_chain_creator)
 Reports new non-empty chain being created by Chain Maker or new row fetched from table by Table Reader. More...
 
void report_object_processing_started (Item_processing_data *process_data)
 Report new object(table, row or any other) was started processing by specified Object Reader, Table Reader, Formatter or Row Formatter. More...
 
void report_object_processing_ended (Item_processing_data *finished_process_data)
 Report object(table, row or any other) finished being processed. More...
 
virtual void report_crawler_completed (I_crawler *crawler)
 Reports crawler ended enumerating objects and creating chains for them. More...
 
void register_progress_watchers_in_child (I_progress_reporter *reporter)
 

Private Attributes

std::vector< I_progress_watcher * > m_progress_watchers
 

Member Function Documentation

◆ have_progress_watcher()

bool Abstract_progress_reporter::have_progress_watcher ( )
protected

Specifies if have any Progress Watcher registered.

◆ register_progress_watcher()

◆ register_progress_watchers_in_child()

void Abstract_progress_reporter::register_progress_watchers_in_child ( I_progress_reporter reporter)
protected

◆ report_crawler_completed()

void Abstract_progress_reporter::report_crawler_completed ( I_crawler crawler)
protectedvirtual

Reports crawler ended enumerating objects and creating chains for them.

◆ report_new_chain_created()

void Abstract_progress_reporter::report_new_chain_created ( Item_processing_data new_chain_creator)
protected

Reports new non-empty chain being created by Chain Maker or new row fetched from table by Table Reader.

Called from Crawler or Table Reader.

◆ report_object_processing_ended()

void Abstract_progress_reporter::report_object_processing_ended ( Item_processing_data finished_process_data)
protected

Report object(table, row or any other) finished being processed.

In case of table, this does not necessarily mean that all rows were processed. That does not necessarily mean t3hat object was successfully written by Output Writers.

◆ report_object_processing_started()

void Abstract_progress_reporter::report_object_processing_started ( Item_processing_data process_data)
protected

Report new object(table, row or any other) was started processing by specified Object Reader, Table Reader, Formatter or Row Formatter.

Reported by these types. Is not reported by queues on enqueue but on dequeue.

Member Data Documentation

◆ m_progress_watchers

std::vector<I_progress_watcher *> Mysql::Tools::Dump::Abstract_progress_reporter::m_progress_watchers
private

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