Drizzled Public API Documentation

TransactionLogReader Class Reference

#include <transaction_log_reader.h>

Inheritance diagram for TransactionLogReader:
drizzled::plugin::TransactionReader drizzled::plugin::Plugin

List of all members.

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 TransactionLoglog

Detailed Description

A class which reads Transaction messages from the Transaction log file

Definition at line 47 of file transaction_log_reader.h.


Constructor & Destructor Documentation

Destructor

Definition at line 58 of file transaction_log_reader.h.


Member Function Documentation

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.

Parameters:
[in]Globaltransaction ID to find
[out]Pointerto a transaction message to fill
Return values:
trueif Transaction message was read successfully and the supplied pointer to message was filled
falseif not found or read successfully

Implements drizzled::plugin::TransactionReader.

Definition at line 68 of file transaction_log_reader.cc.


Member Data Documentation

The Transaction log object this reader uses

Definition at line 51 of file transaction_log_reader.h.


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