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 | |
drizzled::plugin::ReplicationReturnCode | apply (drizzled::Session &session, const drizzled::message::Transaction &to_apply) |
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 |
Static Public Member Functions | |
static void | setup (ReplicationLog *logger) |
static bool | addPlugin (TransactionApplier *applier) |
static void | removePlugin (TransactionApplier *applier) |
Private Member Functions | |
ReplicationLog (const ReplicationLog &) | |
ReplicationLog & | operator= (const ReplicationLog &) |
Definition at line 27 of file replication_log.h.
plugin::ReplicationReturnCode ReplicationLog::apply | ( | drizzled::Session & | in_session, |
const drizzled::message::Transaction & | to_apply | ||
) | [virtual] |
Apply something to a target.
It is important to note that memory allocation for the supplied pointer is not guaranteed after the completion of this function -- meaning the caller can dispose of the supplied message. Therefore, appliers which are implementing an asynchronous replication system must copy the supplied message to their own controlled memory storage area.
Transaction | message to be replicated |
Implements drizzled::plugin::TransactionApplier.
Definition at line 952 of file ha_innodb.cc.
References trx_struct::log_commit_id, and session_to_trx().