http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/4e1e5e9a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSizeException.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSizeException.html b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSizeException.html new file mode 100644 index 0000000..fac9864 --- /dev/null +++ b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSizeException.html @@ -0,0 +1,270 @@ +<!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_60) on Thu Sep 21 16:46:18 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TransactionSizeException (Apache Tephra 0.13.0-incubating API)</title> +<meta name="date" content="2017-09-21"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TransactionSizeException (Apache Tephra 0.13.0-incubating API)"; + } + } + catch(err) { + } +//--> +</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/TransactionSizeException.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/tephra/TransactionServiceMain.html" title="class in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionSizeException.html" target="_top">Frames</a></li> +<li><a href="TransactionSizeException.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>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li>Method</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.tephra</div> +<h2 title="Class TransactionSizeException" class="title">Class TransactionSizeException</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/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><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li> +<li> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">org.apache.tephra.TransactionFailureException</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.tephra.TransactionSizeException</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/7/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">TransactionSizeException</span> +extends <a href="../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></pre> +<div class="block">Thrown to indicate that a transaction's change set exceeds the allowed size.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../serialized-form.html#org.apache.tephra.TransactionSizeException">Serialized Form</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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/tephra/TransactionSizeException.html#TransactionSizeException-java.lang.String-">TransactionSizeException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or inter face in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lan g/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li> +</ul> +<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="TransactionSizeException-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TransactionSizeException</h4> +<pre>public TransactionSizeException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message)</pre> +</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/TransactionSizeException.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/tephra/TransactionServiceMain.html" title="class in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionSizeException.html" target="_top">Frames</a></li> +<li><a href="TransactionSizeException.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>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/4e1e5e9a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSystemClient.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSystemClient.html b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSystemClient.html new file mode 100644 index 0000000..3aeec12 --- /dev/null +++ b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionSystemClient.html @@ -0,0 +1,622 @@ +<!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_60) on Thu Sep 21 16:46:18 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TransactionSystemClient (Apache Tephra 0.13.0-incubating API)</title> +<meta name="date" content="2017-09-21"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TransactionSystemClient (Apache Tephra 0.13.0-incubating API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":38,"i2":6,"i3":6,"i4":38,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/TransactionSystemClient.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/tephra/TransactionSizeException.html" title="class in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionSystemClient.html" target="_top">Frames</a></li> +<li><a href="TransactionSystemClient.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>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.tephra</div> +<h2 title="Interface TransactionSystemClient" class="title">Interface TransactionSystemClient</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../org/apache/tephra/inmemory/DetachedTxSystemClient.html" title="class in org.apache.tephra.inmemory">DetachedTxSystemClient</a>, <a href="../../../org/apache/tephra/inmemory/InMemoryTxSystemClient.html" title="class in org.apache.tephra.inmemory">InMemoryTxSystemClient</a>, <a href="../../../org/apache/tephra/inmemory/MinimalTxSystemClient.html" title="class in org.apache.tephra.inmemory">MinimalTxSystemClient</a>, <a href="../../../org/apache/tephra/distributed/TransactionServiceClient.html" title="class in org.apache.tephra.distributed">TransactionServiceClient</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">TransactionSystemClient</span></pre> +<div class="block">Client talking to transaction system. + See also <a href="../../../org/apache/tephra/TransactionAware.html" title="interface in org.apache.tephra"><code>TransactionAware</code></a>. + todo: explain Omid.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#abort-org.apache.tephra.Transaction-">abort</a></span>(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx)</code> +<div class="block">Makes transaction visible.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommit-org.apache.tephra.Transaction-java.util.Collection-">canCommit</a></span>(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><byte[]> changeIds)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">since 0.13-incubating; use <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"><code>canCommitOrThrow(Transaction, Collection)</code></a> instead</span></div> +</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-">canCommitOrThrow</a></span>(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><byte[]> changeIds)</code> +<div class="block">Checks if transaction with the set of changes can be committed.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#checkpoint-org.apache.tephra.Transaction-">checkpoint</a></span>(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx)</code> +<div class="block">Performs a checkpoint operation on the current transaction, returning a new Transaction instance with the + updated state.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#commit-org.apache.tephra.Transaction-">commit</a></span>(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">as of 0.13-incubating. Use <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"><code>canCommitOrThrow(Transaction, Collection)</code></a> instead.</span></div> +</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#commitOrThrow-org.apache.tephra.Transaction-">commitOrThrow</a></span>(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx)</code> +<div class="block">Makes transaction visible.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#getInvalidSize--">getInvalidSize</a></span>()</code> </td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#getSnapshotInputStream--">getSnapshotInputStream</a></span>()</code> +<div class="block">Retrieves the state of the transaction manager and send it as a stream.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#invalidate-long-">invalidate</a></span>(long tx)</code> +<div class="block">Makes transaction invalid.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#pruneNow--">pruneNow</a></span>()</code> +<div class="block">Trigger transaction pruning now.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#resetState--">resetState</a></span>()</code> +<div class="block">Resets the state of the transaction manager.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#startLong--">startLong</a></span>()</code> +<div class="block">Starts new long transaction.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#startShort--">startShort</a></span>()</code> +<div class="block">Starts new short transaction.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#startShort-int-">startShort</a></span>(int timeout)</code> +<div class="block">Starts new short transaction.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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/tephra/TransactionSystemClient.html#status--">status</a></span>()</code> +<div class="block">Return the status of the transaction Manager</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTx-java.util.Set-">truncateInvalidTx</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> invalidTxIds)</code> +<div class="block">Removes the given transaction ids from the invalid list.</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTxBefore-long-">truncateInvalidTxBefore</a></span>(long time)</code> +<div class="block">Removes all transaction ids started before the given time from invalid list.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="startShort--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startShort</h4> +<pre><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> startShort()</pre> +<div class="block">Starts new short transaction.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>instance of <a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra"><code>Transaction</code></a></dd> +</dl> +</li> +</ul> +<a name="startShort-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startShort</h4> +<pre><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> startShort(int timeout)</pre> +<div class="block">Starts new short transaction.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>timeout</code> - the timeout for the transaction</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>instance of <a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra"><code>Transaction</code></a></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the provided timeout is negative or exceeds the configured maximum</dd> +</dl> +</li> +</ul> +<a name="startLong--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startLong</h4> +<pre><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> startLong()</pre> +<div class="block">Starts new long transaction.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>instance of <a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra"><code>Transaction</code></a></dd> +</dl> +</li> +</ul> +<a name="canCommit-org.apache.tephra.Transaction-java.util.Collection-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCommit</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +boolean canCommit(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><byte[]> changeIds) + throws <a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 0.13-incubating; use <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"><code>canCommitOrThrow(Transaction, Collection)</code></a> instead</span></div> +<div class="block">Checks if transaction with the set of changes can be committed. E.g. it can check conflicts with other changes and + refuse commit if there are conflicts. It is assumed that no other changes will be done in between this method call + and <a href="../../../org/apache/tephra/TransactionSystemClient.html#commitOrThrow-org.apache.tephra.Transaction-"><code>commitOrThrow(Transaction)</code></a> which will check conflicts again to avoid races. + <p/> + Since we do conflict detection at commit time as well, this may seem redundant. The idea is to check for conflicts + before we persist changes to avoid rollback in case of conflicts as much as possible. + NOTE: in some situations we may want to skip this step to save on RPC with a risk of many rollback ops. So by + default we take safe path.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - transaction to verify</dd> +<dd><code>changeIds</code> - ids of changes made by transaction</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if transaction can be committed otherwise false</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code> - if the transaction is not in progress; most likely it has timed out.</dd> +</dl> +</li> +</ul> +<a name="canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCommitOrThrow</h4> +<pre>void canCommitOrThrow(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><byte[]> changeIds) + throws <a href="../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></pre> +<div class="block">Checks if transaction with the set of changes can be committed. E.g. it can check conflicts with other changes and + refuse commit if there are conflicts. It is assumed that no other changes will be done in between this method call + and <a href="../../../org/apache/tephra/TransactionSystemClient.html#commitOrThrow-org.apache.tephra.Transaction-"><code>commitOrThrow(Transaction)</code></a> which will check conflicts again to avoid races. + <p/> + Since we do conflict detection at commit time as well, this may seem redundant. The idea is to check for conflicts + before we persist changes to avoid rollback in case of conflicts as much as possible. + NOTE: in some situations we may want to skip this step to save on RPC with a risk of many rollback ops. So by + default we take safe path.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - transaction to verify</dd> +<dd><code>changeIds</code> - ids of changes made by transaction</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/TransactionSizeException.html" title="class in org.apache.tephra">TransactionSizeException</a></code> - if the size of the change set exceeds the allowed limit</dd> +<dd><code><a href="../../../org/apache/tephra/TransactionConflictException.html" title="class in org.apache.tephra">TransactionConflictException</a></code> - if the change set has a conflict with an overlapping transaction</dd> +<dd><code><a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code> - if the transaction is not in progress; most likely it has timed out</dd> +<dd><code><a href="../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></code></dd> +</dl> +</li> +</ul> +<a name="commit-org.apache.tephra.Transaction-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>commit</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +boolean commit(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx) + throws <a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">as of 0.13-incubating. Use <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"><code>canCommitOrThrow(Transaction, Collection)</code></a> instead.</span></div> +<div class="block">Makes transaction visible. It will again check conflicts of changes submitted previously with + <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"><code>canCommitOrThrow(Transaction, java.util.Collection)</code></a></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - transaction to make visible.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if transaction can be committed otherwise false</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code></dd> +</dl> +</li> +</ul> +<a name="commitOrThrow-org.apache.tephra.Transaction-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>commitOrThrow</h4> +<pre>void commitOrThrow(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx) + throws <a href="../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></pre> +<div class="block">Makes transaction visible. It will again check conflicts of changes submitted previously with + <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-"><code>canCommitOrThrow(Transaction, java.util.Collection)</code></a></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - transaction to make visible.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/TransactionConflictException.html" title="class in org.apache.tephra">TransactionConflictException</a></code> - if the transaction has a conflict with an overlapping transaction</dd> +<dd><code><a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code> - if the transaction is not in progress; most likely it has timed out</dd> +<dd><code><a href="../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></code></dd> +</dl> +</li> +</ul> +<a name="abort-org.apache.tephra.Transaction-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>abort</h4> +<pre>void abort(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx)</pre> +<div class="block">Makes transaction visible. You should call it only when all changes of this tx are undone. + NOTE: it will not throw <a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra"><code>TransactionNotInProgressException</code></a> if transaction has timed out.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - transaction to make visible.</dd> +</dl> +</li> +</ul> +<a name="invalidate-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invalidate</h4> +<pre>boolean invalidate(long tx)</pre> +<div class="block">Makes transaction invalid. You should call it if not all changes of this tx could be undone. + NOTE: it will not throw <a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra"><code>TransactionNotInProgressException</code></a> if transaction has timed out.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - transaction id to invalidate.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if transaction has been successfully invalidated</dd> +</dl> +</li> +</ul> +<a name="checkpoint-org.apache.tephra.Transaction-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkpoint</h4> +<pre><a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> checkpoint(<a href="../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a> tx) + throws <a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></pre> +<div class="block">Performs a checkpoint operation on the current transaction, returning a new Transaction instance with the + updated state. A checkpoint operation assigns a new write pointer for the current transaction.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tx</code> - the current transaction to checkpoint</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an updated transaction instance with the new write pointer</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code></dd> +</dl> +</li> +</ul> +<a name="getSnapshotInputStream--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSnapshotInputStream</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> getSnapshotInputStream() + throws <a href="../../../org/apache/tephra/TransactionCouldNotTakeSnapshotException.html" title="class in org.apache.tephra">TransactionCouldNotTakeSnapshotException</a></pre> +<div class="block">Retrieves the state of the transaction manager and send it as a stream. The snapshot will not be persisted.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an input stream containing an encoded snapshot of the transaction manager</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/TransactionCouldNotTakeSnapshotException.html" title="class in org.apache.tephra">TransactionCouldNotTakeSnapshotException</a></code></dd> +</dl> +</li> +</ul> +<a name="status--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>status</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> status()</pre> +<div class="block">Return the status of the transaction Manager</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a String which denotes the status of txManager</dd> +</dl> +</li> +</ul> +<a name="resetState--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>resetState</h4> +<pre>void resetState()</pre> +<div class="block">Resets the state of the transaction manager.</div> +</li> +</ul> +<a name="truncateInvalidTx-java.util.Set-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>truncateInvalidTx</h4> +<pre>boolean truncateInvalidTx(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> invalidTxIds)</pre> +<div class="block">Removes the given transaction ids from the invalid list.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>invalidTxIds</code> - transaction ids</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if invalid list got changed, false otherwise</dd> +</dl> +</li> +</ul> +<a name="truncateInvalidTxBefore-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>truncateInvalidTxBefore</h4> +<pre>boolean truncateInvalidTxBefore(long time) + throws <a href="../../../org/apache/tephra/InvalidTruncateTimeException.html" title="class in org.apache.tephra">InvalidTruncateTimeException</a></pre> +<div class="block">Removes all transaction ids started before the given time from invalid list.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>time</code> - time in milliseconds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if invalid list got changed, false otherwise</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/tephra/InvalidTruncateTimeException.html" title="class in org.apache.tephra">InvalidTruncateTimeException</a></code> - if there are any in-progress transactions started before given time</dd> +</dl> +</li> +</ul> +<a name="getInvalidSize--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInvalidSize</h4> +<pre>int getInvalidSize()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the size of invalid list</dd> +</dl> +</li> +</ul> +<a name="pruneNow--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>pruneNow</h4> +<pre>void pruneNow()</pre> +<div class="block">Trigger transaction pruning now.</div> +</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/TransactionSystemClient.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/tephra/TransactionSizeException.html" title="class in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionSystemClient.html" target="_top">Frames</a></li> +<li><a href="TransactionSystemClient.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>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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>Copyright © 2017 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/4e1e5e9a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionType.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionType.html b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionType.html new file mode 100644 index 0000000..75daf72 --- /dev/null +++ b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TransactionType.html @@ -0,0 +1,350 @@ +<!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_60) on Thu Sep 21 16:46:18 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TransactionType (Apache Tephra 0.13.0-incubating API)</title> +<meta name="date" content="2017-09-21"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TransactionType (Apache Tephra 0.13.0-incubating API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete 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/TransactionType.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/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.html" title="class in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionType.html" target="_top">Frames</a></li> +<li><a href="TransactionType.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="#enum.constant.summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum.constant.detail">Enum Constants</a> | </li> +<li>Field | </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.tephra</div> +<h2 title="Enum TransactionType" class="title">Enum TransactionType</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/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><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a>></li> +<li> +<ul class="inheritance"> +<li>org.apache.tephra.TransactionType</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a>></dd> +</dl> +<hr> +<br> +<pre>public enum <span class="typeNameLabel">TransactionType</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a>></pre> +<div class="block">Type of transaction.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum.constant.summary"> +<!-- --> +</a> +<h3>Enum Constant Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> +<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Enum Constant and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionType.html#LONG">LONG</a></span></code> +<div class="block">Long running transactions do not detect conflicts during commit.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionType.html#SHORT">SHORT</a></span></code> +<div class="block">Short transactions detect conflicts during commit.</div> +</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="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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></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>static <a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionType.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TransactionType.html#values--">values</a></span>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/ api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li> +</ul> +<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/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"> +<!-- ============ ENUM CONSTANT DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum.constant.detail"> +<!-- --> +</a> +<h3>Enum Constant Detail</h3> +<a name="SHORT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>SHORT</h4> +<pre>public static final <a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a> SHORT</pre> +<div class="block">Short transactions detect conflicts during commit.</div> +</li> +</ul> +<a name="LONG"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>LONG</h4> +<pre>public static final <a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a> LONG</pre> +<div class="block">Long running transactions do not detect conflicts during commit.</div> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="values--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static <a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a>[] values()</pre> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +<pre> +for (TransactionType c : TransactionType.values()) + System.out.println(c); +</pre></div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an array containing the constants of this enum type, in the order they are declared</dd> +</dl> +</li> +</ul> +<a name="valueOf-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>valueOf</h4> +<pre>public static <a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra">TransactionType</a> valueOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Returns the enum constant of this type with the specified name. +The string must match <i>exactly</i> an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the enum constant with the specified name</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</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/TransactionType.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/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.html" title="class in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionType.html" target="_top">Frames</a></li> +<li><a href="TransactionType.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="#enum.constant.summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum.constant.detail">Enum Constants</a> | </li> +<li>Field | </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>Copyright © 2017 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/4e1e5e9a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TxConstants.ConflictDetection.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TxConstants.ConflictDetection.html b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TxConstants.ConflictDetection.html new file mode 100644 index 0000000..39f2a4f --- /dev/null +++ b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/TxConstants.ConflictDetection.html @@ -0,0 +1,371 @@ +<!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_60) on Thu Sep 21 16:46:18 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TxConstants.ConflictDetection (Apache Tephra 0.13.0-incubating API)</title> +<meta name="date" content="2017-09-21"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TxConstants.ConflictDetection (Apache Tephra 0.13.0-incubating API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete 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/TxConstants.ConflictDetection.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/tephra/TxConstants.html" title="class in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.HBase.html" title="class in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TxConstants.ConflictDetection.html" target="_top">Frames</a></li> +<li><a href="TxConstants.ConflictDetection.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="#enum.constant.summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum.constant.detail">Enum Constants</a> | </li> +<li>Field | </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.tephra</div> +<h2 title="Enum TxConstants.ConflictDetection" class="title">Enum TxConstants.ConflictDetection</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/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><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a>></li> +<li> +<ul class="inheritance"> +<li>org.apache.tephra.TxConstants.ConflictDetection</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a>></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../org/apache/tephra/TxConstants.html" title="class in org.apache.tephra">TxConstants</a></dd> +</dl> +<hr> +<br> +<pre>public static enum <span class="typeNameLabel">TxConstants.ConflictDetection</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a>></pre> +<div class="block">Defines what level of conflict detection should be used for transactions. <code>ROW</code> means that only the + table name and row key for each change will be used to determine if the transaction change sets conflict. + <code>COLUMN</code> means that the table name, row key, column family, and column qualifier will all be used to + identify write conflicts. <code>NONE</code> means that no conflict detection will be performed, but transaction + clients will still track the current transaction's change set to rollback any persisted changes in the event of + a failure. This should only be used where writes to the same coordinate should never conflict, such as + append-only data. The default value used by <code>TransactionAwareHTable</code> implementations is <code>COLUMN</code>. + + <p> + <strong>Note: for a given table, all clients must use the same conflict detection setting!</strong> + Otherwise conflicts will not be flagged correctly. + </p></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum.constant.summary"> +<!-- --> +</a> +<h3>Enum Constant Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> +<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Enum Constant and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#COLUMN">COLUMN</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#NONE">NONE</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#ROW">ROW</a></span></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="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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></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>static <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#values--">values</a></span>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/ api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li> +</ul> +<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/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"> +<!-- ============ ENUM CONSTANT DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum.constant.detail"> +<!-- --> +</a> +<h3>Enum Constant Detail</h3> +<a name="ROW"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ROW</h4> +<pre>public static final <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a> ROW</pre> +</li> +</ul> +<a name="COLUMN"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>COLUMN</h4> +<pre>public static final <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a> COLUMN</pre> +</li> +</ul> +<a name="NONE"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>NONE</h4> +<pre>public static final <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a> NONE</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="values--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a>[] values()</pre> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +<pre> +for (TxConstants.ConflictDetection c : TxConstants.ConflictDetection.values()) + System.out.println(c); +</pre></div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an array containing the constants of this enum type, in the order they are declared</dd> +</dl> +</li> +</ul> +<a name="valueOf-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>valueOf</h4> +<pre>public static <a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html" title="enum in org.apache.tephra">TxConstants.ConflictDetection</a> valueOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Returns the enum constant of this type with the specified name. +The string must match <i>exactly</i> an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the enum constant with the specified name</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</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/TxConstants.ConflictDetection.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/tephra/TxConstants.html" title="class in org.apache.tephra"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.HBase.html" title="class in org.apache.tephra"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TxConstants.ConflictDetection.html" target="_top">Frames</a></li> +<li><a href="TxConstants.ConflictDetection.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="#enum.constant.summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum.constant.detail">Enum Constants</a> | </li> +<li>Field | </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>Copyright © 2017 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>