24#ifndef MYSQL_CSA_READER_H
25#define MYSQL_CSA_READER_H
A job represents a single unit of work applied by worker pool threads.
Definition: job.h:47
virtual bool is_error() const =0
Checks whether the Change Stream Applier (CSA) has encountered an error.
virtual Job_ptr read()=0
Reads and returns a unique pointer to a Job object.
virtual bool is_stopped() const =0
Checks whether the Change Stream Applier (CSA) is stopped.
virtual ~Reader()=default
Destructor.
virtual void stop()=0
Stops the reader.
Definition: channel.cpp:28
std::shared_ptr< Reader > Reader_sptr
Shared reader type.
Definition: reader.h:38