XTA: API Reference for C language

xta_transaction_s Struct Reference

#include <xta_transaction.h>

Collaboration diagram for xta_transaction_s:

Data Fields

int already_opened
 
xta_transaction_client_status_tclient_status
 
int commit_suspended
 
xta_config_tlocal_ccc
 
int multiple_branches
 
xta_xid_txid
 

Detailed Description

XTA Transaction data type

Definition at line 52 of file xta_transaction.h.

Field Documentation

int xta_transaction_s::already_opened

Boolean value used to store if the open method has been already called or not

Definition at line 57 of file xta_transaction.h.

Referenced by xta_transaction_branch(), xta_transaction_close_internal(), xta_transaction_delete(), xta_transaction_open_internal(), xta_transaction_resume(), and xta_transaction_start().

int xta_transaction_s::commit_suspended

The transaction has already called xta_transaction_commit with non_block flag and must call xta_transaction_commit again to complete it

Definition at line 83 of file xta_transaction.h.

Referenced by xta_transaction_commit().

xta_config_t* xta_transaction_s::local_ccc

LIXA client configuration (it's a collection). The name of the property contains the prefix "local" to strongly distinguish it from the "global" instance that's used by legacy LIXA due to TX specification limitation

Definition at line 73 of file xta_transaction.h.

Referenced by xta_transaction_branch(), xta_transaction_close_internal(), xta_transaction_commit(), xta_transaction_delete(), xta_transaction_enlist_resource(), xta_transaction_get_config(), xta_transaction_open_internal(), xta_transaction_redigest(), xta_transaction_resume(), xta_transaction_rollback(), xta_transaction_start(), and xta_transaction_suspend().

int xta_transaction_s::multiple_branches

Boolean value used to store if the start method has been called with multiple_branches flag

Definition at line 62 of file xta_transaction.h.

Referenced by xta_transaction_get_multiple_branches(), and xta_transaction_start().


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

Copyright © 2009-2019, Christian Ferrari tiian@users.sourceforge.net http://www.tiian.org/