45 virtual const std::string &
get_name()
const = 0;
61 const std::string &
get_name()
const override;
86 const std::string &
get_name()
const override;
113 lsn_t &oldest_needed_lsn);
Definition: log0consumer.h:82
log_t & m_log
Definition: log0consumer.h:93
void consumption_requested() override
Request the log consumer to consume faster.
Definition: log0consumer.cc:69
const std::string & get_name() const override
Definition: log0consumer.cc:60
lsn_t get_consumed_lsn() const override
Definition: log0consumer.cc:65
Log_checkpoint_consumer(log_t &log)
Definition: log0consumer.cc:58
Definition: log0consumer.h:40
virtual ~Log_consumer()
Definition: log0consumer.h:42
virtual void consumption_requested()=0
Request the log consumer to consume faster.
virtual const std::string & get_name() const =0
virtual lsn_t get_consumed_lsn() const =0
Definition: log0consumer.h:57
void consumption_requested() override
Request the log consumer to consume faster.
Definition: log0consumer.cc:56
const std::string m_name
Name of this consumer (saved value from ctor).
Definition: log0consumer.h:75
Log_user_consumer(const std::string &name)
Definition: log0consumer.cc:42
void set_consumed_lsn(lsn_t consumed_lsn)
Set the lsn reported by get_consumed_lsn() to the given value.
Definition: log0consumer.cc:46
lsn_t get_consumed_lsn() const override
Definition: log0consumer.cc:54
const std::string & get_name() const override
Definition: log0consumer.cc:44
lsn_t m_consumed_lsn
Value reported by get_consumed_lsn().
Definition: log0consumer.h:79
void log_consumer_register(log_t &log, Log_consumer *log_consumer)
Register the given redo log consumer.
Definition: log0consumer.cc:73
void log_consumer_unregister(log_t &log, Log_consumer *log_consumer)
Unregister the given redo log consumer.
Definition: log0consumer.cc:79
Log_consumer * log_consumer_get_oldest(const log_t &log, lsn_t &oldest_needed_lsn)
Find the registered redo log consumer which has the smallest value reported by get_consumed_lsn() - i...
Definition: log0consumer.cc:86
uint64_t lsn_t
Type used for all log sequence number storage and arithmetic.
Definition: log0types.h:63
case opt name
Definition: sslopt-case.h:33
Redo log - single data structure with state of the redo log system.
Definition: log0sys.h:77