MySQL 8.0.39
Source Code Documentation
AckInfo Struct Reference

AckInfo is a POD. More...

#include <semisync_source.h>

Public Member Functions

 AckInfo ()
 
void clear ()
 
bool empty () const
 
bool is_server (int server_id) const
 
bool equal_to (const char *log_file_name, my_off_t log_file_pos) const
 
bool less_than (const char *log_file_name, my_off_t log_file_pos) const
 
void set (int server_id, const char *log_file_name, my_off_t log_file_pos)
 
void update (const char *log_file_name, my_off_t log_file_pos)
 

Public Attributes

int server_id
 
char binlog_name [FN_REFLEN]
 
unsigned long long binlog_pos = 0
 

Detailed Description

AckInfo is a POD.

It defines a structure including information related to an ack: server_id - which slave the ack comes from. binlog_name - the binlog file name included in the ack. binlog_pos - the binlog file position included in the ack.

Constructor & Destructor Documentation

◆ AckInfo()

AckInfo::AckInfo ( )
inline

Member Function Documentation

◆ clear()

void AckInfo::clear ( )
inline

◆ empty()

bool AckInfo::empty ( ) const
inline

◆ equal_to()

bool AckInfo::equal_to ( const char *  log_file_name,
my_off_t  log_file_pos 
) const
inline

◆ is_server()

bool AckInfo::is_server ( int  server_id) const
inline

◆ less_than()

bool AckInfo::less_than ( const char *  log_file_name,
my_off_t  log_file_pos 
) const
inline

◆ set()

void AckInfo::set ( int  server_id,
const char *  log_file_name,
my_off_t  log_file_pos 
)
inline

◆ update()

void AckInfo::update ( const char *  log_file_name,
my_off_t  log_file_pos 
)
inline

Member Data Documentation

◆ binlog_name

char AckInfo::binlog_name[FN_REFLEN]

◆ binlog_pos

unsigned long long AckInfo::binlog_pos = 0

◆ server_id

int AckInfo::server_id

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