MySQL 8.3.0
Source Code Documentation
Log_checkpoint_consumer Class Reference

#include <log0consumer.h>

Inheritance diagram for Log_checkpoint_consumer:
[legend]

Public Member Functions

 Log_checkpoint_consumer (log_t &log)
 
const std::string & get_name () const override
 
lsn_t get_consumed_lsn () const override
 
void consumption_requested () override
 Request the log consumer to consume faster. More...
 
- Public Member Functions inherited from Log_consumer
virtual ~Log_consumer ()
 

Private Attributes

log_tm_log
 

Constructor & Destructor Documentation

◆ Log_checkpoint_consumer()

Log_checkpoint_consumer::Log_checkpoint_consumer ( log_t log)
explicit

Member Function Documentation

◆ consumption_requested()

void Log_checkpoint_consumer::consumption_requested ( )
overridevirtual

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.

Implements Log_consumer.

◆ get_consumed_lsn()

lsn_t Log_checkpoint_consumer::get_consumed_lsn ( ) const
overridevirtual
Returns
Maximum LSN up to which this consumer has consumed redo.

Implements Log_consumer.

◆ get_name()

const std::string & Log_checkpoint_consumer::get_name ( ) const
overridevirtual
Returns
Name of this consumer.

Implements Log_consumer.

Member Data Documentation

◆ m_log

log_t& Log_checkpoint_consumer::m_log
private

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