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 &, 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 *, const std::string &) |
static bool | addPlugin (TransactionApplier *applier) |
static void | removePlugin (TransactionApplier *applier) |
Definition at line 27 of file replication_log.h.
|
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 1018 of file ha_innodb.cc.
References trx_struct::log_commit_id, and session_to_trx().