#include <transaction_log_reader.h>
Public Types | |
typedef std::pair< const std::string, const std::string > | map_key |
typedef std::map< const map_key, plugin::Plugin * > | map |
typedef std::vector< Plugin * > | vector |
Public Member Functions | |
TransactionLogReader (std::string name_arg, const TransactionLog &in_log) | |
~TransactionLogReader () | |
bool | read (const drizzled::ReplicationServices::GlobalTransactionId &to_read_trx_id, drizzled::message::Transaction *to_fill) |
virtual void | shutdownPlugin () |
virtual void | prime () |
virtual void | startup (drizzled::Session &) |
void | activate () |
void | deactivate () |
bool | isActive () const |
const std::string & | getName () const |
void | setModule (module::Module *module) |
const std::string & | getTypeName () const |
virtual bool | removeLast () const |
const std::string & | getModuleName () const |
Private Attributes | |
const TransactionLog & | log |
A class which reads Transaction messages from the Transaction log file
Definition at line 47 of file transaction_log_reader.h.
TransactionLogReader::~TransactionLogReader | ( | ) | [inline] |
Destructor
Definition at line 58 of file transaction_log_reader.h.
bool TransactionLogReader::read | ( | const drizzled::ReplicationServices::GlobalTransactionId & | to_read_trx_id, |
drizzled::message::Transaction * | to_fill | ||
) | [virtual] |
Read and fill a Transaction message with the supplied Transaction message global transaction ID.
[in] | Global | transaction ID to find |
[out] | Pointer | to a transaction message to fill |
true | if Transaction message was read successfully and the supplied pointer to message was filled |
false | if not found or read successfully |
Implements drizzled::plugin::TransactionReader.
Definition at line 68 of file transaction_log_reader.cc.
const TransactionLog& TransactionLogReader::log [private] |
The Transaction log object this reader uses
Definition at line 51 of file transaction_log_reader.h.