24#ifndef MYSQL_CSA_CORE_TRANSACTION_PROVIDER_H
25#define MYSQL_CSA_CORE_TRANSACTION_PROVIDER_H
33class Transaction_provider;
A job represents a single unit of work applied by worker pool threads.
Definition: job.h:47
Iterates over relay log and returns fetchable Jobs This reader reads consecutive events from the rela...
Definition: relay_log_adaptive_reader.h:55
Interface for all transaction providers.
Definition: transaction_provider.h:45
virtual bool is_error() const =0
Check if provider has an error.
virtual bool is_stopped() const =0
Checks whether provider has been stopped externally or internally.
virtual void stop()=0
Stop provider and wake blocked reader calls.
virtual void start()=0
Start provider (if asynchronous)
virtual void finish()=0
Complete provider shutdown from the owner thread (transaction receiver).
virtual Job_ptr next()=0
Get the next job.
virtual ~Transaction_provider()=default
Destructor.
Definition: channel.cpp:28
std::shared_ptr< Transaction_provider > Transaction_provider_sptr
Definition: transaction_provider.h:34