|  | MySQL 9.5.0
    Source Code Documentation | 
The extension class for the replica of semi-synchronous replication. More...
#include <semisync_replica.h>
| Public Member Functions | |
| ReplSemiSyncReplica () | |
| ~ReplSemiSyncReplica ()=default | |
| void | setTraceLevel (unsigned long trace_level) | 
| int | initObject () | 
| bool | getReplicaEnabled () | 
| void | setReplicaEnabled (bool enabled) | 
| int | replicaReadSyncHeader (const char *header, unsigned long total_len, bool *need_reply, const char **payload, unsigned long *payload_len) | 
| int | replicaReply (MYSQL *mysql, const char *binlog_filename, my_off_t binlog_filepos) | 
| int | replicaStart (Binlog_relay_IO_param *param) | 
| int | replicaStop (Binlog_relay_IO_param *param) | 
|  Public Member Functions inherited from Trace | |
| void | function_enter (const char *func_name) | 
| int | function_exit (const char *func_name, int exit_code) | 
| bool | function_exit (const char *func_name, bool exit_code) | 
| void | function_exit (const char *func_name) | 
| Trace () | |
| Trace (unsigned long trace_level) | |
| Private Attributes | |
| bool | init_done_ = false | 
| bool | replica_enabled_ = false | 
| MYSQL * | mysql_reply = nullptr | 
| 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 | 
|  Static Public Attributes inherited from Trace | |
| static const unsigned long | kTraceFunction = 0x0040 | 
| static const unsigned long | kTraceGeneral = 0x0001 | 
| static const unsigned long | kTraceDetail = 0x0010 | 
| static const unsigned long | kTraceNetWait = 0x0020 | 
The extension class for the replica of semi-synchronous replication.
| 
 | inline | 
| 
 | default | 
| 
 | inline | 
| int ReplSemiSyncReplica::initObject | ( | ) | 
| int ReplSemiSyncReplica::replicaReadSyncHeader | ( | const char * | header, | 
| unsigned long | total_len, | ||
| bool * | need_reply, | ||
| const char ** | payload, | ||
| unsigned long * | payload_len | ||
| ) | 
| int ReplSemiSyncReplica::replicaReply | ( | MYSQL * | mysql, | 
| const char * | binlog_filename, | ||
| my_off_t | binlog_filepos | ||
| ) | 
| int ReplSemiSyncReplica::replicaStart | ( | Binlog_relay_IO_param * | param | ) | 
| int ReplSemiSyncReplica::replicaStop | ( | Binlog_relay_IO_param * | param | ) | 
| 
 | inline | 
| 
 | inline | 
| 
 | private | 
| 
 | private |