You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tephra.apache.org by an...@apache.org on 2017/09/22 01:02:15 UTC

[20/51] [abbrv] [partial] incubator-tephra git commit: Update site for release 0.13.0-incubating

http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/4e1e5e9a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceClient.html
----------------------------------------------------------------------
diff --git a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceClient.html b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceClient.html
new file mode 100644
index 0000000..9c304a0
--- /dev/null
+++ b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceClient.html
@@ -0,0 +1,795 @@
+<!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>TransactionServiceClient (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="TransactionServiceClient (Apache Tephra 0.13.0-incubating API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance 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/TransactionServiceClient.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/distributed/TransactionService.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/tephra/distributed/TransactionServiceClient.html" target="_top">Frames</a></li>
+<li><a href="TransactionServiceClient.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.distributed</div>
+<h2 title="Class TransactionServiceClient" class="title">Class TransactionServiceClient</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.distributed.TransactionServiceClient</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">TransactionServiceClient</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>
+implements <a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></pre>
+<div class="block">A tx service client</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</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/distributed/TransactionServiceClient.html#TransactionServiceClient-org.apache.hadoop.conf.Configuration-org.apache.tephra.distributed.ThriftClientProvider-">TransactionServiceClient</a></span>(org.apache.hadoop.conf.Configuration&nbsp;config,
+                        <a href="../../../../org/apache/tephra/distributed/ThriftClientProvider.html" title="interface in org.apache.tephra.distributed">ThriftClientProvider</a>&nbsp;clientProvider)</code>
+<div class="block">Create from a configuration.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#TransactionServiceClient-org.apache.hadoop.conf.Configuration-org.apache.tephra.distributed.ThriftClientProvider-java.lang.String-">TransactionServiceClient</a></span>(org.apache.hadoop.conf.Configuration&nbsp;config,
+                        <a href="../../../../org/apache/tephra/distributed/ThriftClientProvider.html" title="interface in org.apache.tephra.distributed">ThriftClientProvider</a>&nbsp;clientProvider,
+                        <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>&nbsp;clientId)</code>
+<div class="block">Create from a configuration.</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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/distributed/TransactionServiceClient.html#abort-org.apache.tephra.Transaction-">abort</a></span>(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;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/distributed/TransactionServiceClient.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>&nbsp;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>&lt;byte[]&gt;&nbsp;changeIds)</code>
+<div class="block">Checks if transaction with the set of changes can be committed.</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/distributed/TransactionServiceClient.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>&nbsp;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>&lt;byte[]&gt;&nbsp;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/distributed/TransactionServiceClient.html#checkpoint-org.apache.tephra.Transaction-">checkpoint</a></span>(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;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/distributed/TransactionServiceClient.html#commit-org.apache.tephra.Transaction-">commit</a></span>(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)</code>
+<div class="block">Makes transaction visible.</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/distributed/TransactionServiceClient.html#commitOrThrow-org.apache.tephra.Transaction-">commitOrThrow</a></span>(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)</code>
+<div class="block">Makes transaction visible.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#doMain-boolean-org.apache.hadoop.conf.Configuration-">doMain</a></span>(boolean&nbsp;verbose,
+      org.apache.hadoop.conf.Configuration&nbsp;conf)</code>&nbsp;</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#getInvalidSize--">getInvalidSize</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i8" class="altColor">
+<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/distributed/TransactionServiceClient.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="i9" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#invalidate-long-">invalidate</a></span>(long&nbsp;tx)</code>
+<div class="block">Makes transaction invalid.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#main-java.lang.String:A-">main</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>[]&nbsp;args)</code>
+<div class="block">Utility to be used for basic verification of transaction system availability and functioning</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#pruneNow--">pruneNow</a></span>()</code>
+<div class="block">Trigger transaction pruning now.</div>
+</td>
+</tr>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#resetState--">resetState</a></span>()</code>
+<div class="block">Resets the state of the transaction manager.</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/distributed/TransactionServiceClient.html#startLong--">startLong</a></span>()</code>
+<div class="block">Starts new long transaction.</div>
+</td>
+</tr>
+<tr id="i14" 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/distributed/TransactionServiceClient.html#startShort--">startShort</a></span>()</code>
+<div class="block">Starts new short transaction.</div>
+</td>
+</tr>
+<tr id="i15" 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/distributed/TransactionServiceClient.html#startShort-int-">startShort</a></span>(int&nbsp;timeout)</code>
+<div class="block">Starts new short transaction.</div>
+</td>
+</tr>
+<tr id="i16" 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/distributed/TransactionServiceClient.html#status--">status</a></span>()</code>
+<div class="block">Return the status of the transaction Manager</div>
+</td>
+</tr>
+<tr id="i17" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.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>&lt;<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>&gt;&nbsp;invalidTxIds)</code>
+<div class="block">Removes the given transaction ids from the invalid list.</div>
+</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceClient.html#truncateInvalidTxBefore-long-">truncateInvalidTxBefore</a></span>(long&nbsp;time)</code>
+<div class="block">Removes all transaction ids started before the given time from invalid list.</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&nbsp;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-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="TransactionServiceClient-org.apache.hadoop.conf.Configuration-org.apache.tephra.distributed.ThriftClientProvider-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>TransactionServiceClient</h4>
+<pre>public&nbsp;TransactionServiceClient(org.apache.hadoop.conf.Configuration&nbsp;config,
+                                <a href="../../../../org/apache/tephra/distributed/ThriftClientProvider.html" title="interface in org.apache.tephra.distributed">ThriftClientProvider</a>&nbsp;clientProvider)</pre>
+<div class="block">Create from a configuration. This will first attempt to find a zookeeper for service discovery.
+ This constructor can be used if Guice dependency injection is not used. JVM name will be used for the client id.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>config</code> - a configuration containing the zookeeper properties</dd>
+</dl>
+</li>
+</ul>
+<a name="TransactionServiceClient-org.apache.hadoop.conf.Configuration-org.apache.tephra.distributed.ThriftClientProvider-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TransactionServiceClient</h4>
+<pre>@Inject
+public&nbsp;TransactionServiceClient(org.apache.hadoop.conf.Configuration&nbsp;config,
+                                        <a href="../../../../org/apache/tephra/distributed/ThriftClientProvider.html" title="interface in org.apache.tephra.distributed">ThriftClientProvider</a>&nbsp;clientProvider,
+                                        <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>&nbsp;clientId)</pre>
+<div class="block">Create from a configuration. This will first attempt to find a zookeeper
+ for service discovery. Otherwise it will look for the port in the
+ config and use localhost.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>config</code> - a configuration containing the zookeeper properties</dd>
+<dd><code>clientId</code> - id of the client that identifies it when it starts a transaction</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="main-java.lang.String:A-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>main</h4>
+<pre>public static&nbsp;void&nbsp;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>[]&nbsp;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">Utility to be used for basic verification of transaction system availability and functioning</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>args</code> - arguments list, accepts single option "-v" that makes it to print out more details about started tx</dd>
+<dt><span class="throwsLabel">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-boolean-org.apache.hadoop.conf.Configuration-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>doMain</h4>
+<pre>public static&nbsp;void&nbsp;doMain(boolean&nbsp;verbose,
+                          org.apache.hadoop.conf.Configuration&nbsp;conf)
+                   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="throwsLabel">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="startLong--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startLong</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startLong()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#startLong--">TransactionSystemClient</a></code></span></div>
+<div class="block">Starts new long transaction.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#startLong--">startLong</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></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>
+</dl>
+</li>
+</ul>
+<a name="startShort--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startShort</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startShort()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#startShort--">TransactionSystemClient</a></code></span></div>
+<div class="block">Starts new short transaction.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#startShort--">startShort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></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>
+</dl>
+</li>
+</ul>
+<a name="startShort-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startShort</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startShort(int&nbsp;timeout)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#startShort-int-">TransactionSystemClient</a></code></span></div>
+<div class="block">Starts new short transaction.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#startShort-int-">startShort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>
+</dl>
+</li>
+</ul>
+<a name="canCommit-org.apache.tephra.Transaction-java.util.Collection-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>canCommit</h4>
+<pre>public&nbsp;boolean&nbsp;canCommit(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;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>&lt;byte[]&gt;&nbsp;changeIds)
+                  throws <a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#canCommit-org.apache.tephra.Transaction-java.util.Collection-">TransactionSystemClient</a></code></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>TransactionSystemClient.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="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#canCommit-org.apache.tephra.Transaction-java.util.Collection-">canCommit</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;void&nbsp;canCommitOrThrow(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;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>&lt;byte[]&gt;&nbsp;changeIds)
+                      throws <a href="../../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-">TransactionSystemClient</a></code></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>TransactionSystemClient.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="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#canCommitOrThrow-org.apache.tephra.Transaction-java.util.Collection-">canCommitOrThrow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;boolean&nbsp;commit(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)
+               throws <a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#commit-org.apache.tephra.Transaction-">TransactionSystemClient</a></code></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>TransactionSystemClient.canCommitOrThrow(Transaction, java.util.Collection)</code></a></div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#commit-org.apache.tephra.Transaction-">commit</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;void&nbsp;commitOrThrow(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)
+                   throws <a href="../../../../org/apache/tephra/TransactionFailureException.html" title="class in org.apache.tephra">TransactionFailureException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#commitOrThrow-org.apache.tephra.Transaction-">TransactionSystemClient</a></code></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>TransactionSystemClient.canCommitOrThrow(Transaction, java.util.Collection)</code></a></div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#commitOrThrow-org.apache.tephra.Transaction-">commitOrThrow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;void&nbsp;abort(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#abort-org.apache.tephra.Transaction-">TransactionSystemClient</a></code></span></div>
+<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="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#abort-org.apache.tephra.Transaction-">abort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;boolean&nbsp;invalidate(long&nbsp;tx)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#invalidate-long-">TransactionSystemClient</a></code></span></div>
+<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="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#invalidate-long-">invalidate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;checkpoint(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)
+                       throws <a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#checkpoint-org.apache.tephra.Transaction-">TransactionSystemClient</a></code></span></div>
+<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="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#checkpoint-org.apache.tephra.Transaction-">checkpoint</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;<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>&nbsp;getSnapshotInputStream()
+                                   throws <a href="../../../../org/apache/tephra/TransactionCouldNotTakeSnapshotException.html" title="class in org.apache.tephra">TransactionCouldNotTakeSnapshotException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#getSnapshotInputStream--">TransactionSystemClient</a></code></span></div>
+<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="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#getSnapshotInputStream--">getSnapshotInputStream</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;<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>&nbsp;status()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#status--">TransactionSystemClient</a></code></span></div>
+<div class="block">Return the status of the transaction Manager</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#status--">status</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;void&nbsp;resetState()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#resetState--">TransactionSystemClient</a></code></span></div>
+<div class="block">Resets the state of the transaction manager.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#resetState--">resetState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="truncateInvalidTx-java.util.Set-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>truncateInvalidTx</h4>
+<pre>public&nbsp;boolean&nbsp;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>&lt;<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>&gt;&nbsp;invalidTxIds)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTx-java.util.Set-">TransactionSystemClient</a></code></span></div>
+<div class="block">Removes the given transaction ids from the invalid list.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTx-java.util.Set-">truncateInvalidTx</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;boolean&nbsp;truncateInvalidTxBefore(long&nbsp;time)
+                                throws <a href="../../../../org/apache/tephra/InvalidTruncateTimeException.html" title="class in org.apache.tephra">InvalidTruncateTimeException</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTxBefore-long-">TransactionSystemClient</a></code></span></div>
+<div class="block">Removes all transaction ids started before the given time from invalid list.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#truncateInvalidTxBefore-long-">truncateInvalidTxBefore</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;int&nbsp;getInvalidSize()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#getInvalidSize--">getInvalidSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+<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>public&nbsp;void&nbsp;pruneNow()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#pruneNow--">TransactionSystemClient</a></code></span></div>
+<div class="block">Trigger transaction pruning now.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSystemClient.html#pruneNow--">pruneNow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/tephra/TransactionSystemClient.html" title="interface in org.apache.tephra">TransactionSystemClient</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TransactionServiceClient.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/distributed/TransactionService.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/tephra/distributed/TransactionServiceClient.html" target="_top">Frames</a></li>
+<li><a href="TransactionServiceClient.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 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/distributed/TransactionServiceThriftClient.html
----------------------------------------------------------------------
diff --git a/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceThriftClient.html b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceThriftClient.html
new file mode 100644
index 0000000..573b54d
--- /dev/null
+++ b/src/site/resources/apidocs-0.13.0-incubating/org/apache/tephra/distributed/TransactionServiceThriftClient.html
@@ -0,0 +1,644 @@
+<!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>TransactionServiceThriftClient (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="TransactionServiceThriftClient (Apache Tephra 0.13.0-incubating API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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/TransactionServiceThriftClient.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/distributed/TransactionServiceClient.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftHandler.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/tephra/distributed/TransactionServiceThriftClient.html" target="_top">Frames</a></li>
+<li><a href="TransactionServiceThriftClient.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.distributed</div>
+<h2 title="Class TransactionServiceThriftClient" class="title">Class TransactionServiceThriftClient</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.distributed.TransactionServiceThriftClient</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">TransactionServiceThriftClient</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">This class is a wrapper around the thrift tx service client, it takes
+ Operations, converts them into thrift objects, calls the thrift
+ client, and converts the results back to data fabric classes.
+ This class also instruments the thrift calls with metrics.</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</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/distributed/TransactionServiceThriftClient.html#TransactionServiceThriftClient-org.apache.thrift.transport.TTransport-">TransactionServiceThriftClient</a></span>(org.apache.thrift.transport.TTransport&nbsp;transport)</code>
+<div class="block">Constructor from an existing, connected thrift transport.</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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/distributed/TransactionServiceThriftClient.html#abort-org.apache.tephra.Transaction-">abort</a></span>(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)</code>&nbsp;</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.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>&nbsp;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>&lt;byte[]&gt;&nbsp;changeIds)</code>&nbsp;</td>
+</tr>
+<tr id="i2" 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/distributed/TransactionServiceThriftClient.html#checkpoint-org.apache.tephra.Transaction-">checkpoint</a></span>(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)</code>&nbsp;</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html#close--">close</a></span>()</code>
+<div class="block">close this client.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html#commit-long-long-">commit</a></span>(long&nbsp;txId,
+      long&nbsp;wp)</code>&nbsp;</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html#getInvalidSize--">getInvalidSize</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i6" class="altColor">
+<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/distributed/TransactionServiceThriftClient.html#getSnapshotStream--">getSnapshotStream</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html#invalidate-long-">invalidate</a></span>(long&nbsp;tx)</code>&nbsp;</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/distributed/TransactionServiceThriftClient.html#isValid--">isValid</a></span>()</code>&nbsp;</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/distributed/TransactionServiceThriftClient.html#pruneNow--">pruneNow</a></span>()</code>&nbsp;</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/distributed/TransactionServiceThriftClient.html#resetState--">resetState</a></span>()</code>&nbsp;</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/distributed/TransactionServiceThriftClient.html#startLong--">startLong</a></span>()</code>&nbsp;</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/distributed/TransactionServiceThriftClient.html#startLong-java.lang.String-">startLong</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>&nbsp;clientId)</code>&nbsp;</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/distributed/TransactionServiceThriftClient.html#startShort--">startShort</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i14" 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/distributed/TransactionServiceThriftClient.html#startShort-int-">startShort</a></span>(int&nbsp;timeout)</code>&nbsp;</td>
+</tr>
+<tr id="i15" 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/distributed/TransactionServiceThriftClient.html#startShort-java.lang.String-">startShort</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>&nbsp;clientId)</code>&nbsp;</td>
+</tr>
+<tr id="i16" 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/distributed/TransactionServiceThriftClient.html#startShort-java.lang.String-int-">startShort</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>&nbsp;clientId,
+          int&nbsp;timeout)</code>&nbsp;</td>
+</tr>
+<tr id="i17" 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><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html#status--">status</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.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>&lt;<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>&gt;&nbsp;invalidTxIds)</code>&nbsp;</td>
+</tr>
+<tr id="i19" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftClient.html#truncateInvalidTxBefore-long-">truncateInvalidTxBefore</a></span>(long&nbsp;time)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;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-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="TransactionServiceThriftClient-org.apache.thrift.transport.TTransport-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TransactionServiceThriftClient</h4>
+<pre>public&nbsp;TransactionServiceThriftClient(org.apache.thrift.transport.TTransport&nbsp;transport)</pre>
+<div class="block">Constructor from an existing, connected thrift transport.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>transport</code> - the thrift transport layer. It must already be connected</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="close--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>close</h4>
+<pre>public&nbsp;void&nbsp;close()</pre>
+<div class="block">close this client. may be called multiple times</div>
+</li>
+</ul>
+<a name="startLong--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startLong</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startLong()
+                      throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="startLong-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startLong</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startLong(<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>&nbsp;clientId)
+                      throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="startShort--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startShort</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startShort()
+                       throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="startShort-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startShort</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startShort(int&nbsp;timeout)
+                       throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="startShort-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startShort</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startShort(<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>&nbsp;clientId)
+                       throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="startShort-java.lang.String-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startShort</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;startShort(<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>&nbsp;clientId,
+                              int&nbsp;timeout)
+                       throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></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>public&nbsp;void&nbsp;canCommit(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;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>&lt;byte[]&gt;&nbsp;changeIds)
+               throws org.apache.thrift.TException,
+                      <a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a>,
+                      <a href="../../../../org/apache/tephra/TransactionSizeException.html" title="class in org.apache.tephra">TransactionSizeException</a>,
+                      <a href="../../../../org/apache/tephra/TransactionConflictException.html" title="class in org.apache.tephra">TransactionConflictException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+<dd><code><a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code></dd>
+<dd><code><a href="../../../../org/apache/tephra/TransactionSizeException.html" title="class in org.apache.tephra">TransactionSizeException</a></code></dd>
+<dd><code><a href="../../../../org/apache/tephra/TransactionConflictException.html" title="class in org.apache.tephra">TransactionConflictException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="commit-long-long-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>commit</h4>
+<pre>public&nbsp;void&nbsp;commit(long&nbsp;txId,
+                   long&nbsp;wp)
+            throws org.apache.thrift.TException,
+                   <a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a>,
+                   <a href="../../../../org/apache/tephra/TransactionConflictException.html" title="class in org.apache.tephra">TransactionConflictException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+<dd><code><a href="../../../../org/apache/tephra/TransactionNotInProgressException.html" title="class in org.apache.tephra">TransactionNotInProgressException</a></code></dd>
+<dd><code><a href="../../../../org/apache/tephra/TransactionConflictException.html" title="class in org.apache.tephra">TransactionConflictException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="abort-org.apache.tephra.Transaction-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>abort</h4>
+<pre>public&nbsp;void&nbsp;abort(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)
+           throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="invalidate-long-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>invalidate</h4>
+<pre>public&nbsp;boolean&nbsp;invalidate(long&nbsp;tx)
+                   throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="checkpoint-org.apache.tephra.Transaction-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>checkpoint</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;checkpoint(<a href="../../../../org/apache/tephra/Transaction.html" title="class in org.apache.tephra">Transaction</a>&nbsp;tx)
+                       throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="getSnapshotStream--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSnapshotStream</h4>
+<pre>public&nbsp;<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>&nbsp;getSnapshotStream()
+                              throws org.apache.thrift.TException,
+                                     <a href="../../../../org/apache/tephra/TransactionCouldNotTakeSnapshotException.html" title="class in org.apache.tephra">TransactionCouldNotTakeSnapshotException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+<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>public&nbsp;<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>&nbsp;status()
+              throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="resetState--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>resetState</h4>
+<pre>public&nbsp;void&nbsp;resetState()
+                throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="truncateInvalidTx-java.util.Set-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>truncateInvalidTx</h4>
+<pre>public&nbsp;boolean&nbsp;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>&lt;<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>&gt;&nbsp;invalidTxIds)
+                          throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="truncateInvalidTxBefore-long-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>truncateInvalidTxBefore</h4>
+<pre>public&nbsp;boolean&nbsp;truncateInvalidTxBefore(long&nbsp;time)
+                                throws org.apache.thrift.TException,
+                                       <a href="../../../../org/apache/tephra/InvalidTruncateTimeException.html" title="class in org.apache.tephra">InvalidTruncateTimeException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+<dd><code><a href="../../../../org/apache/tephra/InvalidTruncateTimeException.html" title="class in org.apache.tephra">InvalidTruncateTimeException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getInvalidSize--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInvalidSize</h4>
+<pre>public&nbsp;int&nbsp;getInvalidSize()
+                   throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="pruneNow--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>pruneNow</h4>
+<pre>public&nbsp;void&nbsp;pruneNow()
+              throws org.apache.thrift.TException</pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>org.apache.thrift.TException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="isValid--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>isValid</h4>
+<pre>public&nbsp;boolean&nbsp;isValid()</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/TransactionServiceThriftClient.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/distributed/TransactionServiceClient.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/tephra/distributed/TransactionServiceThriftHandler.html" title="class in org.apache.tephra.distributed"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/tephra/distributed/TransactionServiceThriftClient.html" target="_top">Frames</a></li>
+<li><a href="TransactionServiceThriftClient.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2017 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>