| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_261) on Mon Dec 20 14:15:53 MSK 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>TransactionConfiguration (Ignite 2.11.1)</title> |
| <meta name="date" content="2021-12-20"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/> |
| </head> |
| |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="TransactionConfiguration (Ignite 2.11.1)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"i5":42,"i6":10,"i7":42,"i8":10,"i9":42,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":42,"i16":42,"i17":10,"i18":42,"i19":42,"i20":10,"i21":10,"i22":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/TransactionConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/ignite/configuration/TopologyValidator.html" title="interface in org.apache.ignite.configuration"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/ignite/configuration/WALMode.html" title="enum in org.apache.ignite.configuration"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/ignite/configuration/TransactionConfiguration.html" target="_top">Frames</a></li> |
| <li><a href="TransactionConfiguration.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.ignite.configuration</div> |
| <h2 title="Class TransactionConfiguration" class="title">Class TransactionConfiguration</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.configuration.TransactionConfiguration</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">TransactionConfiguration</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> |
| <div class="block">Transactions configuration.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../serialized-form.html#org.apache.ignite.configuration.TransactionConfiguration">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_DEADLOCK_TIMEOUT">DFLT_DEADLOCK_TIMEOUT</a></span></code> |
| <div class="block">Default timeout before starting deadlock detection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_PESSIMISTIC_TX_LOG_LINGER">DFLT_PESSIMISTIC_TX_LOG_LINGER</a></span></code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Pessimistic tx log linger property has no effect.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TRANSACTION_TIMEOUT">DFLT_TRANSACTION_TIMEOUT</a></span></code> |
| <div class="block">Default transaction timeout.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TX_CONCURRENCY">DFLT_TX_CONCURRENCY</a></span></code> |
| <div class="block">Default concurrency mode.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TX_ISOLATION">DFLT_TX_ISOLATION</a></span></code> |
| <div class="block">Default transaction isolation level.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TX_SERIALIZABLE_ENABLED">DFLT_TX_SERIALIZABLE_ENABLED</a></span></code> |
| <div class="block">Default value for 'txSerializableEnabled' flag.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE">TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE</a></span></code> |
| <div class="block">Transaction timeout on partition map synchronization.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#TransactionConfiguration--">TransactionConfiguration</a></span>()</code> |
| <div class="block">Empty constructor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#TransactionConfiguration-org.apache.ignite.configuration.TransactionConfiguration-">TransactionConfiguration</a></span>(<a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> cfg)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getDeadlockTimeout--">getDeadlockTimeout</a></span>()</code> |
| <div class="block"><b>This is an experimental feature.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getDefaultTxConcurrency--">getDefaultTxConcurrency</a></span>()</code> |
| <div class="block">Default cache transaction concurrency to use when one is not explicitly |
| specified.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getDefaultTxIsolation--">getDefaultTxIsolation</a></span>()</code> |
| <div class="block">Default cache transaction isolation to use when one is not explicitly |
| specified.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getDefaultTxTimeout--">getDefaultTxTimeout</a></span>()</code> |
| <div class="block">Gets default transaction timeout.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getPessimisticTxLogLinger--">getPessimisticTxLogLinger</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Pessimistic tx log linger property has no effect.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getPessimisticTxLogSize--">getPessimisticTxLogSize</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Pessimistic tx log size property has no effect.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> javax.cache.configuration.Factory<span class='angle_bracket'><</span>T<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getTxManagerFactory--">getTxManagerFactory</a></span>()</code> |
| <div class="block">Gets transaction manager factory for integration with JEE app servers.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getTxManagerLookupClassName--">getTxManagerLookupClassName</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getTxManagerFactory--"><code>getTxManagerFactory()</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getTxTimeoutOnPartitionMapExchange--">getTxTimeoutOnPartitionMapExchange</a></span>()</code> |
| <div class="block">Some Ignite operations provoke partition map exchange process within Ignite to ensure the partitions distribution |
| state is synchronized cluster-wide.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#isTxSerializableEnabled--">isTxSerializableEnabled</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#isUseJtaSynchronization--">isUseJtaSynchronization</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setDeadlockTimeout-long-">setDeadlockTimeout</a></span>(long deadlockTimeout)</code> |
| <div class="block"><b>This is an experimental feature.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setDefaultTxConcurrency-org.apache.ignite.transactions.TransactionConcurrency-">setDefaultTxConcurrency</a></span>(<a href="../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> dfltConcurrency)</code> |
| <div class="block">Sets default transaction concurrency.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setDefaultTxIsolation-org.apache.ignite.transactions.TransactionIsolation-">setDefaultTxIsolation</a></span>(<a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> dfltIsolation)</code> |
| <div class="block">Sets default transaction isolation.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setDefaultTxTimeout-long-">setDefaultTxTimeout</a></span>(long dfltTxTimeout)</code> |
| <div class="block">Sets default transaction timeout in milliseconds.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setPessimisticTxLogLinger-int-">setPessimisticTxLogLinger</a></span>(int pessimisticTxLogLinger)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Pessimistic tx log linger property has no effect.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setPessimisticTxLogSize-int-">setPessimisticTxLogSize</a></span>(int pessimisticTxLogSize)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Pessimistic tx log size property has no effect.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxManagerFactory-javax.cache.configuration.Factory-">setTxManagerFactory</a></span>(javax.cache.configuration.Factory<span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> factory)</code> |
| <div class="block">Sets transaction manager factory for available <code>javax.transaction.TransactionManager</code> implementation, |
| if any.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxManagerLookupClassName-java.lang.String-">setTxManagerLookupClassName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tmLookupClsName)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxManagerFactory-javax.cache.configuration.Factory-"><code>setTxManagerFactory(Factory)</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxSerializableEnabled-boolean-">setTxSerializableEnabled</a></span>(boolean txSerEnabled)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">This method has no effect, <a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html#SERIALIZABLE"><code>TransactionIsolation.SERIALIZABLE</code></a> isolation is always enabled.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxTimeoutOnPartitionMapExchange-long-">setTxTimeoutOnPartitionMapExchange</a></span>(long txTimeoutOnPartitionMapExchange)</code> |
| <div class="block">Sets the transaction timeout that will be enforced if the partition map exchange process starts.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setUseJtaSynchronization-boolean-">setUseJtaSynchronization</a></span>(boolean useJtaSync)</code> |
| <div class="block">Sets the flag that defines whether to use lightweight JTA synchronization callback to enlist |
| into JTA transaction instead of creating a separate XA resource.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#toString--">toString</a></span>()</code></td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="DFLT_TX_SERIALIZABLE_ENABLED"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TX_SERIALIZABLE_ENABLED</h4> |
| <pre>public static final boolean DFLT_TX_SERIALIZABLE_ENABLED</pre> |
| <div class="block">Default value for 'txSerializableEnabled' flag.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.TransactionConfiguration.DFLT_TX_SERIALIZABLE_ENABLED">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_TX_CONCURRENCY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TX_CONCURRENCY</h4> |
| <pre>public static final <a href="../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> DFLT_TX_CONCURRENCY</pre> |
| <div class="block">Default concurrency mode.</div> |
| </li> |
| </ul> |
| <a name="DFLT_TX_ISOLATION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TX_ISOLATION</h4> |
| <pre>public static final <a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> DFLT_TX_ISOLATION</pre> |
| <div class="block">Default transaction isolation level.</div> |
| </li> |
| </ul> |
| <a name="DFLT_TRANSACTION_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TRANSACTION_TIMEOUT</h4> |
| <pre>public static final long DFLT_TRANSACTION_TIMEOUT</pre> |
| <div class="block">Default transaction timeout.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.TransactionConfiguration.DFLT_TRANSACTION_TIMEOUT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE</h4> |
| <pre>public static final long TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE</pre> |
| <div class="block">Transaction timeout on partition map synchronization.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.TransactionConfiguration.TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_DEADLOCK_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_DEADLOCK_TIMEOUT</h4> |
| <pre>public static final long DFLT_DEADLOCK_TIMEOUT</pre> |
| <div class="block">Default timeout before starting deadlock detection.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.TransactionConfiguration.DFLT_DEADLOCK_TIMEOUT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_PESSIMISTIC_TX_LOG_LINGER"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DFLT_PESSIMISTIC_TX_LOG_LINGER</h4> |
| <pre>public static final int DFLT_PESSIMISTIC_TX_LOG_LINGER</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Pessimistic tx log linger property has no effect.</span></div> |
| <div class="block">Default size of pessimistic transactions log.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.TransactionConfiguration.DFLT_PESSIMISTIC_TX_LOG_LINGER">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="TransactionConfiguration--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TransactionConfiguration</h4> |
| <pre>public TransactionConfiguration()</pre> |
| <div class="block">Empty constructor.</div> |
| </li> |
| </ul> |
| <a name="TransactionConfiguration-org.apache.ignite.configuration.TransactionConfiguration-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>TransactionConfiguration</h4> |
| <pre>public TransactionConfiguration(<a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> cfg)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cfg</code> - Configuration to copy.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="isTxSerializableEnabled--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTxSerializableEnabled</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public boolean isTxSerializableEnabled()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> |
| <div class="block">Gets flag to enable/disable <a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html#SERIALIZABLE"><code>TransactionIsolation.SERIALIZABLE</code></a> isolation |
| level for cache transactions. Serializable level does carry certain overhead and |
| if not used, should be disabled. Default value is <code>false</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>True</code> if serializable transactions are enabled, <code>false</code> otherwise.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTxSerializableEnabled-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTxSerializableEnabled</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setTxSerializableEnabled(boolean txSerEnabled)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">This method has no effect, <a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html#SERIALIZABLE"><code>TransactionIsolation.SERIALIZABLE</code></a> isolation is always enabled.</span></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>txSerEnabled</code> - Flag to enable/disable serializable cache transactions.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDefaultTxConcurrency--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultTxConcurrency</h4> |
| <pre>public <a href="../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> getDefaultTxConcurrency()</pre> |
| <div class="block">Default cache transaction concurrency to use when one is not explicitly |
| specified. Default value is defined by <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TX_CONCURRENCY"><code>DFLT_TX_CONCURRENCY</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Default cache transaction concurrency.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/transactions/Transaction.html" title="interface in org.apache.ignite.transactions"><code>Transaction</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDefaultTxConcurrency-org.apache.ignite.transactions.TransactionConcurrency-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultTxConcurrency</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setDefaultTxConcurrency(<a href="../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> dfltConcurrency)</pre> |
| <div class="block">Sets default transaction concurrency.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>dfltConcurrency</code> - Default cache transaction concurrency.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDefaultTxIsolation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultTxIsolation</h4> |
| <pre>public <a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> getDefaultTxIsolation()</pre> |
| <div class="block">Default cache transaction isolation to use when one is not explicitly |
| specified. Default value is defined by <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TX_ISOLATION"><code>DFLT_TX_ISOLATION</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Default cache transaction isolation.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/transactions/Transaction.html" title="interface in org.apache.ignite.transactions"><code>Transaction</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDefaultTxIsolation-org.apache.ignite.transactions.TransactionIsolation-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultTxIsolation</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setDefaultTxIsolation(<a href="../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> dfltIsolation)</pre> |
| <div class="block">Sets default transaction isolation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>dfltIsolation</code> - Default cache transaction isolation.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDefaultTxTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultTxTimeout</h4> |
| <pre>public long getDefaultTxTimeout()</pre> |
| <div class="block">Gets default transaction timeout. Default value is defined by <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TRANSACTION_TIMEOUT"><code>DFLT_TRANSACTION_TIMEOUT</code></a> |
| which is <code>0</code> and means that transactions will never time out.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Default transaction timeout.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDefaultTxTimeout-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultTxTimeout</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setDefaultTxTimeout(long dfltTxTimeout)</pre> |
| <div class="block">Sets default transaction timeout in milliseconds. By default this value is defined by <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_TRANSACTION_TIMEOUT"><code>DFLT_TRANSACTION_TIMEOUT</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>dfltTxTimeout</code> - Default transaction timeout.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTxTimeoutOnPartitionMapExchange--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTxTimeoutOnPartitionMapExchange</h4> |
| <pre>public long getTxTimeoutOnPartitionMapExchange()</pre> |
| <div class="block">Some Ignite operations provoke partition map exchange process within Ignite to ensure the partitions distribution |
| state is synchronized cluster-wide. Topology update events and a start of a new distributed cache are examples |
| of those operations. |
| <p> |
| When the partition map exchange starts, Ignite acquires a global lock at a particular stage. The lock can't be |
| obtained until pending transactions are running in parallel. If there is a transaction that runs for a while, |
| then it will prevent the partition map exchange process from the start freezing some operations such as a new |
| node join process. |
| <p> |
| This property allows to rollback such long transactions to let Ignite acquire the lock faster and initiate the |
| partition map exchange process. The timeout is enforced only at the time of the partition map exchange process. |
| <p> |
| If not set, default value is <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE"><code>TX_TIMEOUT_ON_PARTITION_MAP_EXCHANGE</code></a> which means transactions will never be |
| rolled back on partition map exchange.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Transaction timeout for partition map synchronization in milliseconds.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTxTimeoutOnPartitionMapExchange-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTxTimeoutOnPartitionMapExchange</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setTxTimeoutOnPartitionMapExchange(long txTimeoutOnPartitionMapExchange)</pre> |
| <div class="block">Sets the transaction timeout that will be enforced if the partition map exchange process starts.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>txTimeoutOnPartitionMapExchange</code> - Transaction timeout value in milliseconds.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDeadlockTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDeadlockTimeout</h4> |
| <pre>public long getDeadlockTimeout()</pre> |
| <div class="block"><b>This is an experimental feature. Transactional SQL is currently in a beta status.</b> |
| <p> |
| Transaction deadlocks occurred for caches configured with <a href="../../../../org/apache/ignite/cache/CacheAtomicityMode.html#TRANSACTIONAL_SNAPSHOT"><code>CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT</code></a> |
| can be resolved automatically. |
| <p> |
| Deadlock detection starts when one transaction is waiting for an entry lock more than a timeout specified by |
| this property. |
| <p> |
| Timeout is specified in milliseconds and <code>0</code> means that automatic deadlock detection is disabled. Default |
| value is defined by <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_DEADLOCK_TIMEOUT"><code>DFLT_DEADLOCK_TIMEOUT</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Timeout before starting deadlock detection.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDeadlockTimeout-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDeadlockTimeout</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setDeadlockTimeout(long deadlockTimeout)</pre> |
| <div class="block"><b>This is an experimental feature. Transactional SQL is currently in a beta status.</b> |
| <p> |
| Sets a timeout before starting deadlock detection for caches configured with |
| <a href="../../../../org/apache/ignite/cache/CacheAtomicityMode.html#TRANSACTIONAL_SNAPSHOT"><code>CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT</code></a>. |
| <p> |
| Timeout is specified in milliseconds and <code>0</code> means that automatic deadlock detection is disabled. Default |
| value is defined by <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_DEADLOCK_TIMEOUT"><code>DFLT_DEADLOCK_TIMEOUT</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>deadlockTimeout</code> - Timeout value in milliseconds.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPessimisticTxLogSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPessimisticTxLogSize</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public int getPessimisticTxLogSize()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Pessimistic tx log size property has no effect.</span></div> |
| <div class="block">Gets size of pessimistic transactions log stored on node in order to recover transaction commit if originating |
| node has left grid before it has sent all messages to transaction nodes. |
| <p> |
| If not set, default value is <code>0</code> which means unlimited log size.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Pessimistic transaction log size.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPessimisticTxLogSize-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPessimisticTxLogSize</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setPessimisticTxLogSize(int pessimisticTxLogSize)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Pessimistic tx log size property has no effect.</span></div> |
| <div class="block">Sets pessimistic transactions log size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pessimisticTxLogSize</code> - Pessimistic transactions log size.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getPessimisticTxLogSize--"><code>getPessimisticTxLogSize()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPessimisticTxLogLinger--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPessimisticTxLogLinger</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public int getPessimisticTxLogLinger()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Pessimistic tx log linger property has no effect.</span></div> |
| <div class="block">Gets delay, in milliseconds, after which pessimistic recovery entries will be cleaned up for failed node. |
| <p> |
| If not set, default value is <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#DFLT_PESSIMISTIC_TX_LOG_LINGER"><code>DFLT_PESSIMISTIC_TX_LOG_LINGER</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Pessimistic log cleanup delay in milliseconds.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPessimisticTxLogLinger-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPessimisticTxLogLinger</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setPessimisticTxLogLinger(int pessimisticTxLogLinger)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Pessimistic tx log linger property has no effect.</span></div> |
| <div class="block">Sets cleanup delay for pessimistic transaction recovery log for failed node, in milliseconds.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pessimisticTxLogLinger</code> - Pessimistic log cleanup delay.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getPessimisticTxLogLinger--"><code>getPessimisticTxLogLinger()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTxManagerLookupClassName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTxManagerLookupClassName</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTxManagerLookupClassName()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getTxManagerFactory--"><code>getTxManagerFactory()</code></a> instead.</span></div> |
| <div class="block">Gets class name of transaction manager finder for integration for JEE app servers.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Transaction manager finder.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTxManagerLookupClassName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTxManagerLookupClassName</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setTxManagerLookupClassName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tmLookupClsName)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxManagerFactory-javax.cache.configuration.Factory-"><code>setTxManagerFactory(Factory)</code></a> instead.</span></div> |
| <div class="block">Sets look up mechanism for available <code>TransactionManager</code> implementation, if any.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tmLookupClsName</code> - Name of class implementing GridCacheTmLookup interface that is used to |
| receive JTA transaction manager.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTxManagerFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTxManagerFactory</h4> |
| <pre>public <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> javax.cache.configuration.Factory<span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> getTxManagerFactory()</pre> |
| <div class="block">Gets transaction manager factory for integration with JEE app servers.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Instance of <code>javax.transaction.TransactionManager</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Transaction manager factory.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#isUseJtaSynchronization--"><code>isUseJtaSynchronization()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTxManagerFactory-javax.cache.configuration.Factory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTxManagerFactory</h4> |
| <pre>public <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setTxManagerFactory(javax.cache.configuration.Factory<span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> factory)</pre> |
| <div class="block">Sets transaction manager factory for available <code>javax.transaction.TransactionManager</code> implementation, |
| if any. |
| <p> |
| It allows to use different transactional systems. Implement factory that produce native |
| <code>javax.transaction.TransactionManager</code> within your environment. |
| <p> |
| The following implementations are provided out of the box (jta module must be enabled): |
| <ul> |
| <li> |
| <code>org.apache.ignite.cache.jta.jndi.CacheJndiTmFactory</code> utilizes configured JNDI names to look up |
| a transaction manager. |
| </li> |
| <li> |
| <code>org.apache.ignite.cache.jta.websphere.WebSphereTmFactory</code> an implementation of Transaction Manager |
| factory to be used within WebSphere Application Server. |
| </li> |
| <li> |
| <code>org.apache.ignite.cache.jta.websphere.WebSphereLibertyTmFactory</code> an implementation of Transaction Manager |
| factory to be used within WebSphere Liberty. |
| </li> |
| </ul> |
| |
| Ignite will throw IgniteCheckedException if <code>Factory.create()</code> method throws any exception, |
| returns <code>null</code>-value or returns non-<code>TransactionManager</code> instance.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Instance of <code>javax.transaction.TransactionManager</code>.</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factory</code> - Transaction manager factory.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setUseJtaSynchronization-boolean-"><code>setUseJtaSynchronization(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isUseJtaSynchronization--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUseJtaSynchronization</h4> |
| <pre>public boolean isUseJtaSynchronization()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Whether to use JTA <code>javax.transaction.Synchronization</code> |
| instead of <code>javax.transaction.xa.XAResource</code>.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#getTxManagerFactory--"><code>getTxManagerFactory()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setUseJtaSynchronization-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUseJtaSynchronization</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html" title="class in org.apache.ignite.configuration">TransactionConfiguration</a> setUseJtaSynchronization(boolean useJtaSync)</pre> |
| <div class="block">Sets the flag that defines whether to use lightweight JTA synchronization callback to enlist |
| into JTA transaction instead of creating a separate XA resource. In some cases this can give |
| performance improvement, but keep in mind that most of the transaction managers do not allow |
| to add more that one callback to a single transaction.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>useJtaSync</code> - Whether to use JTA <code>javax.transaction.Synchronization</code> |
| instead of <code>javax.transaction.xa.XAResource</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/TransactionConfiguration.html#setTxManagerFactory-javax.cache.configuration.Factory-"><code>setTxManagerFactory(Factory)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/TransactionConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/ignite/configuration/TopologyValidator.html" title="interface in org.apache.ignite.configuration"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/ignite/configuration/WALMode.html" title="enum in org.apache.ignite.configuration"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/ignite/configuration/TransactionConfiguration.html" target="_top">Frames</a></li> |
| <li><a href="TransactionConfiguration.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2021 Copyright © Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Database and Caching Platform</b> </td> <td>: ver. <strong>2.11.1</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: December 20 2021 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| </body> |
| </html> |