OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::coordinator::controller::coordinator_state Struct Reference

Current state of distributed transactions managed by a coordinator. More...

#include <controller.hpp>

Public Member Functions

auto operator== (const coordinator_state &rhs) const -> bool
 

Data Fields

prepare_txs m_prepare_txs {}
 Transactions in the prepare phase.
 
commit_txs m_commit_txs {}
 Transactions in the commit phase.
 
discard_txs m_discard_txs {}
 Transactions in the discard phase.
 

Detailed Description

Current state of distributed transactions managed by a coordinator.

Includes lists of transactions upon which the coordinator is operating.

Definition at line 108 of file uhs/twophase/coordinator/controller.hpp.

Member Function Documentation

◆ operator==()

auto cbdc::coordinator::controller::coordinator_state::operator== ( const coordinator_state & rhs) const -> bool

Definition at line 676 of file uhs/twophase/coordinator/controller.cpp.

Field Documentation

◆ m_commit_txs

commit_txs cbdc::coordinator::controller::coordinator_state::m_commit_txs {}

Transactions in the commit phase.

Definition at line 113 of file uhs/twophase/coordinator/controller.hpp.

◆ m_discard_txs

discard_txs cbdc::coordinator::controller::coordinator_state::m_discard_txs {}

Transactions in the discard phase.

Definition at line 116 of file uhs/twophase/coordinator/controller.hpp.

◆ m_prepare_txs

prepare_txs cbdc::coordinator::controller::coordinator_state::m_prepare_txs {}

Transactions in the prepare phase.

Definition at line 110 of file uhs/twophase/coordinator/controller.hpp.


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