![]() |
GridGain C++
|
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... | |
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.
|
inline |
Constructor.
impl | Implementation. |
|
inline |
Ends the transaction.
Transaction will be rolled back if it has not been committed.