blob: 25bcc90f06d411c6130bebd65f37fcfdb4f11195 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.8.0/cppdoc/classignite_1_1transactions_1_1Transactions.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>&nbsp; Apache Ignite C++: ignite::transactions::Transactions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="namespaceignite_1_1transactions.html">transactions</a></li><li class="navelem"><a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classignite_1_1transactions_1_1Transactions-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ignite::transactions::Transactions Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Transactions facade.
<a href="classignite_1_1transactions_1_1Transactions.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="transactions_8h_source.html">transactions.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a12d656ae8a3ef10e404d018a6fb2c20b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a12d656ae8a3ef10e404d018a6fb2c20b">Transactions</a> (ignite::common::concurrent::SharedPointer&lt; impl::transactions::TransactionsImpl &gt; impl)</td></tr>
<tr class="memdesc:a12d656ae8a3ef10e404d018a6fb2c20b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#a12d656ae8a3ef10e404d018a6fb2c20b">More...</a><br /></td></tr>
<tr class="separator:a12d656ae8a3ef10e404d018a6fb2c20b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04997af1676a73103ef6f5a3dd1ba57e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a04997af1676a73103ef6f5a3dd1ba57e">Transactions</a> (const <a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a> &amp;other)</td></tr>
<tr class="memdesc:a04997af1676a73103ef6f5a3dd1ba57e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="#a04997af1676a73103ef6f5a3dd1ba57e">More...</a><br /></td></tr>
<tr class="separator:a04997af1676a73103ef6f5a3dd1ba57e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48180fccd356ed2d0888889307b0899"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#ad48180fccd356ed2d0888889307b0899">operator=</a> (const <a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a> &amp;other)</td></tr>
<tr class="memdesc:ad48180fccd356ed2d0888889307b0899"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <a href="#ad48180fccd356ed2d0888889307b0899">More...</a><br /></td></tr>
<tr class="separator:ad48180fccd356ed2d0888889307b0899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdd4c701c3140a8fecd953f49f6def07"><td class="memItemLeft" align="right" valign="top"><a id="acdd4c701c3140a8fecd953f49f6def07"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#acdd4c701c3140a8fecd953f49f6def07">~Transactions</a> ()</td></tr>
<tr class="memdesc:acdd4c701c3140a8fecd953f49f6def07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:acdd4c701c3140a8fecd953f49f6def07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe2520191cbde531706aa03e9cee821e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#abe2520191cbde531706aa03e9cee821e">GetTx</a> ()</td></tr>
<tr class="memdesc:abe2520191cbde531706aa03e9cee821e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get active transaction for the current thread. <a href="#abe2520191cbde531706aa03e9cee821e">More...</a><br /></td></tr>
<tr class="separator:abe2520191cbde531706aa03e9cee821e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a998ea64ae4f3aeacc85ee519f5146558"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a998ea64ae4f3aeacc85ee519f5146558">TxStart</a> ()</td></tr>
<tr class="memdesc:a998ea64ae4f3aeacc85ee519f5146558"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start new transaction with default isolation, concurrency and timeout. <a href="#a998ea64ae4f3aeacc85ee519f5146558">More...</a><br /></td></tr>
<tr class="separator:a998ea64ae4f3aeacc85ee519f5146558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ba4852b353263477e7a76c55cf6b09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a33ba4852b353263477e7a76c55cf6b09">TxStart</a> (<a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:a33ba4852b353263477e7a76c55cf6b09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start new transaction with default isolation, concurrency and timeout. <a href="#a33ba4852b353263477e7a76c55cf6b09">More...</a><br /></td></tr>
<tr class="separator:a33ba4852b353263477e7a76c55cf6b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a050067ea4d7f35bb4f84edf6101a7197"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a050067ea4d7f35bb4f84edf6101a7197">TxStart</a> (<a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a> concurrency, <a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a> isolation)</td></tr>
<tr class="memdesc:a050067ea4d7f35bb4f84edf6101a7197"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts new transaction with the specified concurrency and isolation. <a href="#a050067ea4d7f35bb4f84edf6101a7197">More...</a><br /></td></tr>
<tr class="separator:a050067ea4d7f35bb4f84edf6101a7197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac58104f7e1affc8fd462426ca787ef9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#ac58104f7e1affc8fd462426ca787ef9c">TxStart</a> (<a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a> concurrency, <a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a> isolation, <a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:ac58104f7e1affc8fd462426ca787ef9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts new transaction with the specified concurrency and isolation. <a href="#ac58104f7e1affc8fd462426ca787ef9c">More...</a><br /></td></tr>
<tr class="separator:ac58104f7e1affc8fd462426ca787ef9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d0bbfcec4caaa4dc0c5d7727c96c901"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a0d0bbfcec4caaa4dc0c5d7727c96c901">TxStart</a> (<a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a> concurrency, <a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a> isolation, int64_t timeout, int32_t txSize)</td></tr>
<tr class="memdesc:a0d0bbfcec4caaa4dc0c5d7727c96c901"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts transaction with specified isolation, concurrency, timeout, and number of participating entries. <a href="#a0d0bbfcec4caaa4dc0c5d7727c96c901">More...</a><br /></td></tr>
<tr class="separator:a0d0bbfcec4caaa4dc0c5d7727c96c901"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeefda9d200a313a54c23b48c9e0e8bd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#aeefda9d200a313a54c23b48c9e0e8bd0">TxStart</a> (<a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a> concurrency, <a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a> isolation, int64_t timeout, int32_t txSize, <a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:aeefda9d200a313a54c23b48c9e0e8bd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start new transaction. <a href="#aeefda9d200a313a54c23b48c9e0e8bd0">More...</a><br /></td></tr>
<tr class="separator:aeefda9d200a313a54c23b48c9e0e8bd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4681b8929dda5227b31e2935c5094144"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1TransactionMetrics.html">TransactionMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a4681b8929dda5227b31e2935c5094144">GetMetrics</a> ()</td></tr>
<tr class="memdesc:a4681b8929dda5227b31e2935c5094144"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get transaction metrics. <a href="#a4681b8929dda5227b31e2935c5094144">More...</a><br /></td></tr>
<tr class="separator:a4681b8929dda5227b31e2935c5094144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a449f6900c797de1f2b1d771a12c00ac9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1TransactionMetrics.html">TransactionMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1transactions_1_1Transactions.html#a449f6900c797de1f2b1d771a12c00ac9">GetMetrics</a> (<a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:a449f6900c797de1f2b1d771a12c00ac9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get transaction metrics. <a href="#a449f6900c797de1f2b1d771a12c00ac9">More...</a><br /></td></tr>
<tr class="separator:a449f6900c797de1f2b1d771a12c00ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Transactions facade. </p>
<p>This class 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 released automatically once all the instances are destructed. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a12d656ae8a3ef10e404d018a6fb2c20b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12d656ae8a3ef10e404d018a6fb2c20b">&#9670;&nbsp;</a></span>Transactions() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ignite::transactions::Transactions::Transactions </td>
<td>(</td>
<td class="paramtype">ignite::common::concurrent::SharedPointer&lt; impl::transactions::TransactionsImpl &gt;&#160;</td>
<td class="paramname"><em>impl</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<p>Internal method. Should not be used by user.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">impl</td><td>Implementation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a04997af1676a73103ef6f5a3dd1ba57e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04997af1676a73103ef6f5a3dd1ba57e">&#9670;&nbsp;</a></span>Transactions() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ignite::transactions::Transactions::Transactions </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4681b8929dda5227b31e2935c5094144"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4681b8929dda5227b31e2935c5094144">&#9670;&nbsp;</a></span>GetMetrics() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1TransactionMetrics.html">TransactionMetrics</a> ignite::transactions::Transactions::GetMetrics </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get transaction metrics. </p>
<dl class="section return"><dt>Returns</dt><dd>Metrics instance. </dd></dl>
</div>
</div>
<a id="a449f6900c797de1f2b1d771a12c00ac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a449f6900c797de1f2b1d771a12c00ac9">&#9670;&nbsp;</a></span>GetMetrics() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1TransactionMetrics.html">TransactionMetrics</a> ignite::transactions::Transactions::GetMetrics </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get transaction metrics. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">err</td><td>Error. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Metrics instance. Returned instance is not valid if an error occurred during the operation. </dd></dl>
</div>
</div>
<a id="abe2520191cbde531706aa03e9cee821e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe2520191cbde531706aa03e9cee821e">&#9670;&nbsp;</a></span>GetTx()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::GetTx </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get active transaction for the current thread. </p>
<dl class="section return"><dt>Returns</dt><dd>Active transaction for current thread. Returned instance is not valid if there is no active transaction for the thread. </dd></dl>
</div>
</div>
<a id="ad48180fccd356ed2d0888889307b0899"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad48180fccd356ed2d0888889307b0899">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a> &amp; ignite::transactions::Transactions::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1transactions_1_1Transactions.html">Transactions</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other instance. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>This. </dd></dl>
</div>
</div>
<a id="a998ea64ae4f3aeacc85ee519f5146558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a998ea64ae4f3aeacc85ee519f5146558">&#9670;&nbsp;</a></span>TxStart() <span class="overload">[1/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::TxStart </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Start new transaction with default isolation, concurrency and timeout. </p>
<dl class="section return"><dt>Returns</dt><dd>New transaction instance. </dd></dl>
</div>
</div>
<a id="a33ba4852b353263477e7a76c55cf6b09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33ba4852b353263477e7a76c55cf6b09">&#9670;&nbsp;</a></span>TxStart() <span class="overload">[2/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::TxStart </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Start new transaction with default isolation, concurrency and timeout. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">err</td><td>Error. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New transaction instance. </dd></dl>
</div>
</div>
<a id="a050067ea4d7f35bb4f84edf6101a7197"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a050067ea4d7f35bb4f84edf6101a7197">&#9670;&nbsp;</a></span>TxStart() <span class="overload">[3/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::TxStart </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a>&#160;</td>
<td class="paramname"><em>concurrency</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a>&#160;</td>
<td class="paramname"><em>isolation</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Starts new transaction with the specified concurrency and isolation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">concurrency</td><td>Concurrency. </td></tr>
<tr><td class="paramname">isolation</td><td>Isolation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New transaction instance. </dd></dl>
</div>
</div>
<a id="ac58104f7e1affc8fd462426ca787ef9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac58104f7e1affc8fd462426ca787ef9c">&#9670;&nbsp;</a></span>TxStart() <span class="overload">[4/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::TxStart </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a>&#160;</td>
<td class="paramname"><em>concurrency</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a>&#160;</td>
<td class="paramname"><em>isolation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Starts new transaction with the specified concurrency and isolation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">concurrency</td><td>Concurrency. </td></tr>
<tr><td class="paramname">isolation</td><td>Isolation. </td></tr>
<tr><td class="paramname">err</td><td>Error. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New transaction instance. </dd></dl>
</div>
</div>
<a id="a0d0bbfcec4caaa4dc0c5d7727c96c901"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d0bbfcec4caaa4dc0c5d7727c96c901">&#9670;&nbsp;</a></span>TxStart() <span class="overload">[5/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::TxStart </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a>&#160;</td>
<td class="paramname"><em>concurrency</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a>&#160;</td>
<td class="paramname"><em>isolation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>timeout</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>txSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Starts transaction with specified isolation, concurrency, timeout, and number of participating entries. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">concurrency</td><td>Concurrency. </td></tr>
<tr><td class="paramname">isolation</td><td>Isolation. </td></tr>
<tr><td class="paramname">timeout</td><td>Timeout. Zero if for infinite timeout. </td></tr>
<tr><td class="paramname">txSize</td><td>Number of entries participating in transaction (may be approximate). </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New transaction instance. </dd></dl>
</div>
</div>
<a id="aeefda9d200a313a54c23b48c9e0e8bd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeefda9d200a313a54c23b48c9e0e8bd0">&#9670;&nbsp;</a></span>TxStart() <span class="overload">[6/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transaction.html">Transaction</a> ignite::transactions::Transactions::TxStart </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionConcurrency.html#ae4a4021eb1bbb6d2acdaad1defeb469a">TransactionConcurrency::Type</a>&#160;</td>
<td class="paramname"><em>concurrency</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structignite_1_1transactions_1_1TransactionIsolation.html#a3ac24463ce4e1f63186a974c33c6b3e3">TransactionIsolation::Type</a>&#160;</td>
<td class="paramname"><em>isolation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>timeout</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>txSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Start new transaction. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">concurrency</td><td>Concurrency. </td></tr>
<tr><td class="paramname">isolation</td><td>Isolation. </td></tr>
<tr><td class="paramname">timeout</td><td>Timeout. Zero if for infinite timeout. </td></tr>
<tr><td class="paramname">txSize</td><td>Number of entries participating in transaction (may be approximate). </td></tr>
<tr><td class="paramname">err</td><td>Error. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New transaction instance. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="transactions_8h_source.html">transactions.h</a></li>
<li>transactions.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Feb 27 2020 14:01:15 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>