Apache Ignite C++
Public Member Functions | List of all members
ignite::thin::transactions::ClientTransaction Class Reference

Transaction client. More...

#include <transaction.h>

Public Member Functions

 ClientTransaction (ignite::impl::thin::transactions::TransactionProxy impl)
 Constructor. More...
 
 ClientTransaction ()
 Default constructor.
 
 ~ClientTransaction ()
 Destructor.
 
void Commit ()
 Commits this transaction.
 
void Rollback ()
 Rolls back this transaction.
 
void Close ()
 Ends the transaction. More...
 

Detailed Description

Transaction client.

Implements main transactionsl API.

This class is implemented as a reference to an implementation so copying of this class instance will only create another reference to the same underlying object. Underlying object will be released automatically once all the instances are destructed.

Constructor & Destructor Documentation

◆ ClientTransaction()

ignite::thin::transactions::ClientTransaction::ClientTransaction ( ignite::impl::thin::transactions::TransactionProxy  impl)
inline

Constructor.

Parameters
implImplementation.

Member Function Documentation

◆ Close()

void ignite::thin::transactions::ClientTransaction::Close ( )
inline

Ends the transaction.

Transaction will be rolled back if it has not been committed.


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