http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/49c6e8bd/src/site/resources/apidocs/org/apache/tephra/TransactionServiceMain.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs/org/apache/tephra/TransactionServiceMain.html b/src/site/resources/apidocs/org/apache/tephra/TransactionServiceMain.html new file mode 100644 index 0000000..0eae18d --- /dev/null +++ b/src/site/resources/apidocs/org/apache/tephra/TransactionServiceMain.html @@ -0,0 +1,361 @@ +<!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 (version 1.7.0_80) on Mon Sep 19 21:33:26 PDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TransactionServiceMain (Apache Tephra 0.10.0-incubating-SNAPSHOT API)</title> +<meta name="date" content="2016-09-19"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TransactionServiceMain (Apache Tephra 0.10.0-incubating-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/TransactionServiceMain.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/TransactionNotInProgressException.html" title="class in org.apache.tephra"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionServiceMain.html" target="_top">Frames</a></li> +<li><a href="TransactionServiceMain.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="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </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.tephra</div> +<h2 title="Class TransactionServiceMain" class="title">Class TransactionServiceMain</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>org.apache.tephra.TransactionServiceMain</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">TransactionServiceMain</span> +extends <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></pre> +<div class="block">Driver class to start and stop tx in distributed mode.</div> +</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="overviewSummary" 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><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#TransactionServiceMain()">TransactionServiceMain</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#TransactionServiceMain(org.apache.hadoop.conf.Configuration)">TransactionServiceMain</a></strong>(org.apache.hadoop.conf.Configuration conf)</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#destroy()">destroy</a></strong>()</code> +<div class="block">Invoked by jsvc for resource cleanup.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#doMain(java.lang.String[])">doMain</a></strong>(<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>[] args)</code> +<div class="block">The main method.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#init(java.lang.String[])">init</a></strong>(<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>[] args)</code> +<div class="block">Invoked by jsvc to initialize the program.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#main(java.lang.String[])">main</a></strong>(<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>[] args)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#start()">start</a></strong>()</code> +<div class="block">Invoked by jsvc to start the program.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionServiceMain.html#stop()">stop</a></strong>()</code> +<div class="block">Invoked by jsvc to stop the program.</div> +</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="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#toString()" title="class or interface in java.lang">toString</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,%20int)" 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="TransactionServiceMain()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>TransactionServiceMain</h4> +<pre>public TransactionServiceMain()</pre> +</li> +</ul> +<a name="TransactionServiceMain(org.apache.hadoop.conf.Configuration)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TransactionServiceMain</h4> +<pre>public TransactionServiceMain(org.apache.hadoop.conf.Configuration conf)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="main(java.lang.String[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>main</h4> +<pre>public static void main(<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>[] args) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> +</li> +</ul> +<a name="doMain(java.lang.String[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>doMain</h4> +<pre>public void doMain(<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>[] args) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +<div class="block">The main method. It simply call methods in the same sequence + as if the program is started by jsvc.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> +</li> +</ul> +<a name="init(java.lang.String[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>init</h4> +<pre>public void init(<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>[] args)</pre> +<div class="block">Invoked by jsvc to initialize the program.</div> +</li> +</ul> +<a name="start()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>start</h4> +<pre>public void start() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +<div class="block">Invoked by jsvc to start the program.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> +</li> +</ul> +<a name="stop()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stop</h4> +<pre>public void stop()</pre> +<div class="block">Invoked by jsvc to stop the program.</div> +</li> +</ul> +<a name="destroy()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>destroy</h4> +<pre>public void destroy()</pre> +<div class="block">Invoked by jsvc for resource cleanup.</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/TransactionServiceMain.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/TransactionNotInProgressException.html" title="class in org.apache.tephra"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/tephra/TransactionServiceMain.html" target="_top">Frames</a></li> +<li><a href="TransactionServiceMain.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="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </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>Copyright © 2016 <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/49c6e8bd/src/site/resources/apidocs/org/apache/tephra/TransactionSystemClient.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs/org/apache/tephra/TransactionSystemClient.html b/src/site/resources/apidocs/org/apache/tephra/TransactionSystemClient.html new file mode 100644 index 0000000..bc10402 --- /dev/null +++ b/src/site/resources/apidocs/org/apache/tephra/TransactionSystemClient.html @@ -0,0 +1,472 @@ +<!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 (version 1.7.0_80) on Mon Sep 19 21:33:26 PDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TransactionSystemClient (Apache Tephra 0.10.0-incubating-SNAPSHOT API)</title> +<meta name="date" content="2016-09-19"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TransactionSystemClient (Apache Tephra 0.10.0-incubating-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/TransactionServiceMain.html" title="class in org.apache.tephra"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra"><span class="strong">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="strong">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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#abort(org.apache.tephra.Transaction)">abort</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommit(org.apache.tephra.Transaction,%20java.util.Collection)">canCommit</a></strong>(<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 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><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#checkpoint(org.apache.tephra.Transaction)">checkpoint</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#commit(org.apache.tephra.Transaction)">commit</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#getInvalidSize()">getInvalidSize</a></strong>()</code> </td> +</tr> +<tr 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><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#getSnapshotInputStream()">getSnapshotInputStream</a></strong>()</code> +<div class="block">Retrieves the state of the transaction manager and send it as a stream.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#invalidate(long)">invalidate</a></strong>(long tx)</code> +<div class="block">Makes transaction invalid.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#resetState()">resetState</a></strong>()</code> +<div class="block">Resets the state of the transaction manager.</div> +</td> +</tr> +<tr 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><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#startLong()">startLong</a></strong>()</code> +<div class="block">Starts new long transaction.</div> +</td> +</tr> +<tr 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><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#startShort()">startShort</a></strong>()</code> +<div class="block">Starts new short transaction.</div> +</td> +</tr> +<tr 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><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#startShort(int)">startShort</a></strong>(int timeout)</code> +<div class="block">Starts new short transaction.</div> +</td> +</tr> +<tr class="rowColor"> +<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><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#status()">status</a></strong>()</code> +<div class="block">Return the status of the transaction Manager</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTx(java.util.Set)">truncateInvalidTx</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTxBefore(long)">truncateInvalidTxBefore</a></strong>(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="strong">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="strong">Parameters:</span></dt><dd><code>timeout</code> - the timeout for the transaction</dd> +<dt><span class="strong">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="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="strong">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>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">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#commit(org.apache.tephra.Transaction)"><code>commit(Transaction)</code></a> which may 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="strong">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="strong">Returns:</span></dt><dd>true if transaction can be committed otherwise false</dd> +<dt><span class="strong">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="commit(org.apache.tephra.Transaction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>commit</h4> +<pre>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">Makes transaction visible. It will again check conflicts of changes submitted previously with + <a href="../../../org/apache/tephra/TransactionSystemClient.html#canCommit(org.apache.tephra.Transaction,%20java.util.Collection)"><code>canCommit(Transaction, java.util.Collection)</code></a></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tx</code> - transaction to make visible.</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if transaction can be committed otherwise false</dd> +<dt><span class="strong">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="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="strong">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="strong">Parameters:</span></dt><dd><code>tx</code> - transaction id to invalidate.</dd> +<dt><span class="strong">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="strong">Parameters:</span></dt><dd><code>tx</code> - the current transaction to checkpoint</dd> +<dt><span class="strong">Returns:</span></dt><dd>an updated transaction instance with the new write pointer</dd> +<dt><span class="strong">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="strong">Returns:</span></dt><dd>an input stream containing an encoded snapshot of the transaction manager</dd> +<dt><span class="strong">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="strong">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="strong">Parameters:</span></dt><dd><code>invalidTxIds</code> - transaction ids</dd> +<dt><span class="strong">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="strong">Parameters:</span></dt><dd><code>time</code> - time in milliseconds</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if invalid list got changed, false otherwise</dd> +<dt><span class="strong">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="blockListLast"> +<li class="blockList"> +<h4>getInvalidSize</h4> +<pre>int getInvalidSize()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>the size of invalid list</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/TransactionServiceMain.html" title="class in org.apache.tephra"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TransactionType.html" title="enum in org.apache.tephra"><span class="strong">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 © 2016 <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/49c6e8bd/src/site/resources/apidocs/org/apache/tephra/TransactionType.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs/org/apache/tephra/TransactionType.html b/src/site/resources/apidocs/org/apache/tephra/TransactionType.html new file mode 100644 index 0000000..bbf935d --- /dev/null +++ b/src/site/resources/apidocs/org/apache/tephra/TransactionType.html @@ -0,0 +1,328 @@ +<!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 (version 1.7.0_80) on Mon Sep 19 21:33:26 PDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TransactionType (Apache Tephra 0.10.0-incubating-SNAPSHOT API)</title> +<meta name="date" content="2016-09-19"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TransactionType (Apache Tephra 0.10.0-incubating-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.html" title="class in org.apache.tephra"><span class="strong">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="strong">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="overviewSummary" 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><strong><a href="../../../org/apache/tephra/TransactionType.html#LONG">LONG</a></strong></code> +<div class="block">Long running transactions do not detect conflicts during commit.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../org/apache/tephra/TransactionType.html#SHORT">SHORT</a></strong></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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr 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><strong><a href="../../../org/apache/tephra/TransactionType.html#valueOf(java.lang.String)">valueOf</a></strong>(<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 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><strong><a href="../../../org/apache/tephra/TransactionType.html#values()">values</a></strong>()</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,%20java.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,%20int)" 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="strong">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="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> +<dt><span class="strong">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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.html" title="class in org.apache.tephra"><span class="strong">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 © 2016 <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/49c6e8bd/src/site/resources/apidocs/org/apache/tephra/TxConstants.ConflictDetection.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs/org/apache/tephra/TxConstants.ConflictDetection.html b/src/site/resources/apidocs/org/apache/tephra/TxConstants.ConflictDetection.html new file mode 100644 index 0000000..13a93fa --- /dev/null +++ b/src/site/resources/apidocs/org/apache/tephra/TxConstants.ConflictDetection.html @@ -0,0 +1,349 @@ +<!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 (version 1.7.0_80) on Mon Sep 19 21:33:26 PDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TxConstants.ConflictDetection (Apache Tephra 0.10.0-incubating-SNAPSHOT API)</title> +<meta name="date" content="2016-09-19"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="TxConstants.ConflictDetection (Apache Tephra 0.10.0-incubating-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.DataJanitor.html" title="class in org.apache.tephra"><span class="strong">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="strong">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="overviewSummary" 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><strong><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#COLUMN">COLUMN</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#NONE">NONE</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#ROW">ROW</a></strong></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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr 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><strong><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#valueOf(java.lang.String)">valueOf</a></strong>(<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 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><strong><a href="../../../org/apache/tephra/TxConstants.ConflictDetection.html#values()">values</a></strong>()</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,%20java.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,%20int)" 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="strong">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="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> +<dt><span class="strong">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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="strong">Prev Class</span></a></li> +<li><a href="../../../org/apache/tephra/TxConstants.DataJanitor.html" title="class in org.apache.tephra"><span class="strong">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 © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>