drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
slave::ReplicationSlave::Master Class Reference
Collaboration diagram for slave::ReplicationSlave::Master:
[legend]

Public Member Functions

 Master (uint32_t id)
QueueProducer & producer ()
boost::thread & thread ()
void start ()

Private Attributes

QueueProducer _producer
boost::thread _producer_thread

Detailed Description

Class representing a master server.

Definition at line 67 of file replication_slave.h.

Constructor & Destructor Documentation

◆ Master()

slave::ReplicationSlave::Master::Master ( uint32_t id)
inline

Definition at line 70 of file replication_slave.h.

Member Function Documentation

◆ producer()

QueueProducer & slave::ReplicationSlave::Master::producer ( )
inline

Definition at line 75 of file replication_slave.h.

◆ start()

void slave::ReplicationSlave::Master::start ( )
inline

Definition at line 85 of file replication_slave.h.

◆ thread()

boost::thread & slave::ReplicationSlave::Master::thread ( )
inline

Definition at line 80 of file replication_slave.h.

Member Data Documentation

◆ _producer

QueueProducer slave::ReplicationSlave::Master::_producer
private

Manages a single master

Definition at line 92 of file replication_slave.h.

◆ _producer_thread

boost::thread slave::ReplicationSlave::Master::_producer_thread
private

I/O thread that will populate the work queue

Definition at line 95 of file replication_slave.h.


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