MySQL 8.4.2
Source Code Documentation
Transaction_prepared_action_packet Class Reference

A packet to inform that a given member did prepare a given transaction. More...

#include <applier.h>

Inheritance diagram for Transaction_prepared_action_packet:
[legend]

Public Member Functions

 Transaction_prepared_action_packet (const gr::Gtid_tsid &tsid, bool is_tsid_specified, rpl_gno gno, const Gcs_member_identifier &gcs_member_id)
 Create a new transaction prepared action. More...
 
 ~Transaction_prepared_action_packet () override=default
 
const gr::Gtid_tsidget_tsid () const
 tsid accessor More...
 
bool is_tsid_specified () const
 returns information on whether TSID is specified for this trx More...
 
- Public Member Functions inherited from Packet
 Packet (int type)
 Create a new generic packet of a certain type. More...
 
virtual ~Packet ()=default
 
int get_packet_type ()
 

Public Attributes

const bool m_tsid_specified
 
const rpl_gno m_gno
 
const Gcs_member_identifier m_gcs_member_id
 

Private Attributes

gr::Gtid_tsid m_tsid
 

Detailed Description

A packet to inform that a given member did prepare a given transaction.

Constructor & Destructor Documentation

◆ Transaction_prepared_action_packet()

Transaction_prepared_action_packet::Transaction_prepared_action_packet ( const gr::Gtid_tsid tsid,
bool  is_tsid_specified,
rpl_gno  gno,
const Gcs_member_identifier gcs_member_id 
)
inline

Create a new transaction prepared action.

Parameters
tsidthe prepared transaction tsid
is_tsid_specifiedinformation on whether tsid is specified
gnothe prepared transaction gno
gcs_member_idthe member id that did prepare the transaction

◆ ~Transaction_prepared_action_packet()

Transaction_prepared_action_packet::~Transaction_prepared_action_packet ( )
overridedefault

Member Function Documentation

◆ get_tsid()

const gr::Gtid_tsid & Transaction_prepared_action_packet::get_tsid ( ) const
inline

tsid accessor

Returns
tsid const reference

◆ is_tsid_specified()

bool Transaction_prepared_action_packet::is_tsid_specified ( ) const
inline

returns information on whether TSID is specified for this trx

Returns
information on whether TSID is specified for this trx

Member Data Documentation

◆ m_gcs_member_id

const Gcs_member_identifier Transaction_prepared_action_packet::m_gcs_member_id

◆ m_gno

const rpl_gno Transaction_prepared_action_packet::m_gno

◆ m_tsid

gr::Gtid_tsid Transaction_prepared_action_packet::m_tsid
private

◆ m_tsid_specified

const bool Transaction_prepared_action_packet::m_tsid_specified

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