#include <transaction_applier.h>
|
| static bool | addPlugin (TransactionApplier &applier) |
| static void | removePlugin (TransactionApplier &applier) |
|
| typedef std::pair< const std::string, const std::string > | map_key |
| typedef std::unique_ptr< plugin::Plugin, deleter_fn > | owned_ptr |
| typedef std::map< const map_key, owned_ptr > | map |
| typedef std::vector< Plugin * > | vector |
Base class for appliers of Transaction messages
Definition at line 46 of file transaction_applier.h.
◆ TransactionApplier()
| drizzled::plugin::TransactionApplier::TransactionApplier |
( |
std::string | name_arg | ) |
|
|
inlineexplicit |
◆ addPlugin()
◆ apply()
| virtual ReplicationReturnCode drizzled::plugin::TransactionApplier::apply |
( |
Session & | in_session, |
|
|
const message::Transaction & | to_apply ) |
|
pure virtual |
Apply something to a target.
- Note
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.
- Parameters
-
| Transaction | message to be replicated |
◆ removePlugin()
The documentation for this class was generated from the following files: