#include <transaction_replicator.h>
|
| static bool | addPlugin (TransactionReplicator &replicator) |
| static void | removePlugin (TransactionReplicator &replicator) |
|
| 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 |
Class which replicates Transaction messages
Definition at line 47 of file transaction_replicator.h.
◆ TransactionReplicator()
| drizzled::plugin::TransactionReplicator::TransactionReplicator |
( |
std::string | name_arg | ) |
|
|
inlineexplicit |
◆ addPlugin()
◆ removePlugin()
◆ replicate()
| virtual ReplicationReturnCode drizzled::plugin::TransactionReplicator::replicate |
( |
TransactionApplier * | in_applier, |
|
|
Session & | session, |
|
|
message::Transaction & | to_replicate ) |
|
pure virtual |
Replicate a Transaction message to a TransactionApplier.
- 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, replicators and appliers implementing an asynchronous replication system must copy the supplied message to their own controlled memory storage area.
- Parameters
-
| Pointer | to the applier of the command message |
| Transaction | message to be replicated |
The documentation for this class was generated from the following files: