MySQL 8.3.0
Source Code Documentation
Log_consumer Class Referenceabstract

#include <log0consumer.h>

Inheritance diagram for Log_consumer:
[legend]

Public Member Functions

virtual ~Log_consumer ()
 
virtual const std::string & get_name () const =0
 
virtual lsn_t get_consumed_lsn () const =0
 
virtual void consumption_requested ()=0
 Request the log consumer to consume faster. More...
 

Constructor & Destructor Documentation

◆ ~Log_consumer()

virtual Log_consumer::~Log_consumer ( )
inlinevirtual

Member Function Documentation

◆ consumption_requested()

virtual void Log_consumer::consumption_requested ( )
pure virtual

Request the log consumer to consume faster.

Remarks
This is called whenever the redo log consumer is the most lagging one and it is critical to consume the oldest redo log file.

Implemented in Arch_log_consumer, Log_user_consumer, and Log_checkpoint_consumer.

◆ get_consumed_lsn()

virtual lsn_t Log_consumer::get_consumed_lsn ( ) const
pure virtual
Returns
Maximum LSN up to which this consumer has consumed redo.

Implemented in Arch_log_consumer, Log_user_consumer, and Log_checkpoint_consumer.

◆ get_name()

virtual const std::string & Log_consumer::get_name ( ) const
pure virtual
Returns
Name of this consumer.

Implemented in Arch_log_consumer, Log_user_consumer, and Log_checkpoint_consumer.


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