MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ReplSemiSyncMaster Class Reference

#include <semisync_master.h>

Inheritance diagram for ReplSemiSyncMaster:
Collaboration diagram for ReplSemiSyncMaster:

Public Member Functions

bool getMasterEnabled ()
void setTraceLevel (unsigned long trace_level)
void setWaitTimeout (unsigned long wait_timeout)
int initObject ()
int enableMaster ()
int disableMaster ()
void add_slave ()
void remove_slave ()
bool is_semi_sync_slave ()
int reportReplyBinlog (uint32 server_id, const char *log_file_name, my_off_t end_offset, bool skipped_event=false)
int commitTrx (const char *trx_wait_binlog_name, my_off_t trx_wait_binlog_pos)
int reserveSyncHeader (unsigned char *header, unsigned long size)
int updateSyncHeader (unsigned char *packet, const char *log_file_name, my_off_t log_file_pos, uint32 server_id)
int writeTranxInBinlog (const char *log_file_name, my_off_t log_file_pos)
int readSlaveReply (NET *net, uint32 server_id, const char *event_buf)
int skipSlaveReply (const char *event_buf, uint32 server_id, const char *log_file_name, my_off_t log_file_pos)
void setExportStats ()
int resetMaster ()

Additional Inherited Members

- Public Attributes inherited from Trace
unsigned long trace_level_
- Static Public Attributes inherited from ReplSemiSyncBase
static const unsigned char kSyncHeader [2]
static const unsigned char kPacketMagicNum = 0xef
static const unsigned char kPacketFlagSync = 0x01

Detailed Description

The extension class for the master of semi-synchronous replication

Definition at line 370 of file semisync_master.h.


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