http://git-wip-us.apache.org/repos/asf/hbase/blob/a00babbc/devapidocs/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html
----------------------------------------------------------------------
diff --git
a/devapidocs/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html
b/devapidocs/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html
new file mode 100644
index 0000000..a472872
--- /dev/null
+++
b/devapidocs/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html
@@ -0,0 +1,1027 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>AsyncProcess.AsyncRequestFutureImpl (Apache HBase 2.0.0-SNAPSHOT
API)</title>
+<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="AsyncProcess.AsyncRequestFutureImpl (Apache
HBase 2.0.0-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/AsyncProcess.AsyncRequestFutureImpl.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/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in org.apache.hadoop.hbase.client"><span class="strong">Prev
Class</span></a></li>
+<li><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.ReplicaCallIssuingRunnable.html"
title="class in org.apache.hadoop.hbase.client"><span class="strong">Next
Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a
href="../../../../../index.html?org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html"
target="_top">Frames</a></li>
+<li><a href="AsyncProcess.AsyncRequestFutureImpl.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><a href="#nested_class_summary">Nested</a> | </li>
+<li><a href="#field_summary">Field</a> | </li>
+<li><a href="#constructor_summary">Constr</a> | </li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#field_detail">Field</a> | </li>
+<li><a href="#constructor_detail">Constr</a> | </li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.hadoop.hbase.client</div>
+<h2 title="Class AsyncProcess.AsyncRequestFutureImpl" class="title">Class
AsyncProcess.AsyncRequestFutureImpl<CResult></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.hadoop.hbase.client.AsyncProcess.AsyncRequestFutureImpl<CResult></li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></dd>
+</dl>
+<dl>
+<dt>Enclosing class:</dt>
+<dd><a href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.html"
title="class in org.apache.hadoop.hbase.client">AsyncProcess</a></dd>
+</dl>
+<hr>
+<br>
+<pre>protected class <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.html#line.577">AsyncProcess.AsyncRequestFutureImpl</a><CResult>
+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/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></pre>
+<div class="block">The context, and return value, for a single
submit/submitAll call.
+ Note on how this class (one AP submit) works. Initially, all requests are
split into groups
+ by server; request is sent to each server in parallel; the RPC calls are not
async so a
+ thread per server is used. Every time some actions fail, regions/locations
might have
+ changed, so we re-group them by server and region again and send these groups
in parallel
+ too. The result, in case of retries, is a "tree" of threads, with parent
exiting after
+ scheduling children. This is why lots of code doesn't require any
synchronization.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Nested Class Summary table, listing nested classes, and an
explanation">
+<caption><span>Nested Classes</span><span
class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private class </code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.ReplicaCallIssuingRunnable.html"
title="class in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFutureImpl.ReplicaCallIssuingRunnable</a></strong></code>
+<div class="block">Runnable (that can be submitted to thread pool) that waits
for when it's time
+ to issue replica calls, finds region replicas, groups the requests by replica
and
+ issues the calls (on separate threads, via sendMultiAction).</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private class </code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.SingleServerRequestRunnable.html"
title="class in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFutureImpl.SingleServerRequestRunnable</a></strong></code>
+<div class="block">Runnable (that can be submitted to thread pool) that
submits MultiAction to a
+ single server.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!-- -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true"
title="class or interface in
java.util.concurrent.atomic">AtomicLong</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#actionsInProgress">actionsInProgress</a></strong></code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/client/coprocessor/Batch.Callback.html"
title="interface in
org.apache.hadoop.hbase.client.coprocessor">Batch.Callback</a><<a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html"
title="type parameter in
AsyncProcess.AsyncRequestFutureImpl">CResult</a>></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#callback">callback</a></strong></code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <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="../../../../../org/apache/hadoop/hbase/client/MultiServerCallable.html"
title="class in org.apache.hadoop.hbase.client">MultiServerCallable</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#callsInProgress">callsInProgress</a></strong></code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.BatchErrors.html"
title="class in
org.apache.hadoop.hbase.client">AsyncProcess.BatchErrors</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#errors">errors</a></strong></code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.ServerErrorTracker.html"
title="class in
org.apache.hadoop.hbase.client">ConnectionImplementation.ServerErrorTracker</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#errorsByServer">errorsByServer</a></strong></code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private boolean</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#hasAnyReplicaGets">hasAnyReplicaGets</a></strong></code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private long</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#nonceGroup">nonceGroup</a></strong></code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ExecutorService</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#pool">pool</a></strong></code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private int[]</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#replicaGetIndices">replicaGetIndices</a></strong></code>
+<div class="block">Indices of replica gets in results.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <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></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#replicaResultLock">replicaResultLock</a></strong></code>
+<div class="block">The lock controls access to results.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <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>[]</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#results">results</a></strong></code>
+<div class="block">Result array.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#tableName">tableName</a></strong></code> </td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== 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/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#AsyncProcess.AsyncRequestFutureImpl(org.apache.hadoop.hbase.TableName,%20java.util.List,%20long,%20java.util.concurrent.ExecutorService,%20boolean,%20java.lang.Object[],%20org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)">AsyncProcess.AsyncRequestFutureImpl</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> tableName,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> actions,
+
long nonceGroup,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ExecutorService</a> pool,
+
boolean needResults,
+ <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>[] results,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/coprocessor/Batch.Callback.html"
title="interface in
org.apache.hadoop.hbase.client.coprocessor">Batch.Callback</a><<a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html"
title="type parameter in
AsyncProcess.AsyncRequestFutureImpl">CResult</a>> callback)</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>private <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/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#buildDetailedErrorMsg(java.lang.String,%20int)">buildDetailedErrorMsg</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> string,
+ int index)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <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/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#createLog(int,%20int,%20int,%20org.apache.hadoop.hbase.ServerName,%20java.lang.Throwable,%20long,%20boolean,%20java.lang.String,%20int,%20int)">createLog</a></strong>(int numAttempt,
+ int failureCount,
+ int replaySize,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> sn,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> error,
+ long backOffTime,
+ boolean willRetry,
+ <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> startTime,
+ int failed,
+ int stopped)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#decActionCounter(int)">decActionCounter</a></strong>(int index)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/RegionLocations.html" title="class
in org.apache.hadoop.hbase">RegionLocations</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#findAllLocationsOrFail(org.apache.hadoop.hbase.client.Action,%20boolean)">findAllLocationsOrFail</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action,
+
boolean useCache)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <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></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getBackoff(org.apache.hadoop.hbase.ServerName,%20byte[])">getBackoff</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ byte[] regionName)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><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="../../../../../org/apache/hadoop/hbase/client/MultiServerCallable.html"
title="class in org.apache.hadoop.hbase.client">MultiServerCallable</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getCallsInProgress()">getCallsInProgress</a></strong>()</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.html"
title="class in
org.apache.hadoop.hbase.client">RetriesExhaustedWithDetailsException</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getErrors()">getErrors</a></strong>()</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><? extends <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getFailedOperations()">getFailedOperations</a></strong>()</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <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><? extends <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true"
title="class or interface in java.lang">Runnable</a>></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getNewMultiActionRunnable(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.client.MultiAction,%20int)">getNewMultiActionRunnable</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> multiAction,
+
int numAttempt)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class
in org.apache.hadoop.hbase">HRegionLocation</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getReplicaLocationOrFail(org.apache.hadoop.hbase.client.Action)">getReplicaLocationOrFail</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><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>[]</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getResults()">getResults</a></strong>()</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#groupAndSendMultiAction(java.util.List,%20int)">groupAndSendMultiAction</a></strong>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> currentActions,
+ int numAttempt)</code>
+<div class="block">Group a list of actions per region servers, and send
them.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#hasError()">hasError</a></strong>()</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private boolean</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#isActionComplete(int,%20org.apache.hadoop.hbase.client.Row)">isActionComplete</a></strong>(int index,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row)</code>
+<div class="block">Checks if the action is complete; used on error to prevent
needless retries.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#logNoResubmit(org.apache.hadoop.hbase.ServerName,%20int,%20int,%20java.lang.Throwable,%20int,%20int)">logNoResubmit</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> oldServer,
+ int numAttempt,
+ int failureCount,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable,
+ int failed,
+ int stopped)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.Retry.html"
title="enum in
org.apache.hadoop.hbase.client">AsyncProcess.Retry</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#manageError(int,%20org.apache.hadoop.hbase.client.Row,%20org.apache.hadoop.hbase.client.AsyncProcess.Retry,%20java.lang.Throwable,%20org.apache.hadoop.hbase.ServerName)">manageError</a></strong>(int originalIndex,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.Retry.html"
title="enum in
org.apache.hadoop.hbase.client">AsyncProcess.Retry</a> canRetry,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server)</code>
+<div class="block">Check that we can retry acts accordingly: logs, set the
error status.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#manageLocationError(org.apache.hadoop.hbase.client.Action,%20java.lang.Exception)">manageLocationError</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action,
+ <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> ex)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#receiveGlobalFailure(org.apache.hadoop.hbase.client.MultiAction,%20org.apache.hadoop.hbase.ServerName,%20int,%20java.lang.Throwable)">receiveGlobalFailure</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> rsActions,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ int numAttempt,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> t)</code>
+<div class="block">Resubmit all the actions from this multiaction after a
failure.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#receiveMultiAction(org.apache.hadoop.hbase.client.MultiAction,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.client.MultiResponse,%20int)">receiveMultiAction</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> multiAction,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/MultiResponse.html"
title="class in
org.apache.hadoop.hbase.client">MultiResponse</a> responses,
+ int numAttempt)</code>
+<div class="block">Called when we receive the result of a server query.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#resubmit(org.apache.hadoop.hbase.ServerName,%20java.util.List,%20int,%20int,%20java.lang.Throwable)">resubmit</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> oldServer,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> toReplay,
+ int numAttempt,
+ int failureCount,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable)</code>
+<div class="block">Log as much info as possible, and, if there is something to
replay,
+ submit it again after a back off sleep.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#sendMultiAction(java.util.Map,%20int,%20java.util.List,%20boolean)">sendMultiAction</a></strong>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a><<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a>,<a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> actionsByServer,
+ int numAttempt,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> actionsForReplicaThread,
+ boolean reuseThread)</code>
+<div class="block">Send a multi action structure to the servers, after a delay
depending on the attempt
+ number.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#setError(int,%20org.apache.hadoop.hbase.client.Row,%20java.lang.Throwable,%20org.apache.hadoop.hbase.ServerName)">setError</a></strong>(int index,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server)</code>
+<div class="block">Sets the error from a particular action.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#setResult(org.apache.hadoop.hbase.client.Action,%20java.lang.Object)">setResult</a></strong>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action,
+ <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> result)</code>
+<div class="block">Sets the non-error result from a particular action.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#startWaitingForReplicaCalls(java.util.List)">startWaitingForReplicaCalls</a></strong>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in
org.apache.hadoop.hbase.client">Row</a>>> actionsForReplicaThread)</code>
+<div class="block">Starts waiting to issue replica calls on a different
thread; or issues them immediately.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.ReplicaResultState.html"
title="class in
org.apache.hadoop.hbase.client">AsyncProcess.ReplicaResultState</a></code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#trySetResultSimple(int,%20org.apache.hadoop.hbase.client.Row,%20boolean,%20java.lang.Object,%20org.apache.hadoop.hbase.ServerName,%20boolean)">trySetResultSimple</a></strong>(int index,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row,
+ boolean isError,
+ <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> result,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ boolean isFromReplica)</code>
+<div class="block">Tries to set the result or error for a particular action as
if there were no replica calls.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#waitUntilDone()">waitUntilDone</a></strong>()</code>
+<div class="block">Wait until all tasks are executed, successfully or
not.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private boolean</code></td>
+<td class="colLast"><code><strong><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#waitUntilDone(long)">waitUntilDone</a></strong>(long cutoff)</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a
href="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">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!-- -->
+</a>
+<h3>Field Detail</h3>
+<a name="callback">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>callback</h4>
+<pre>private final <a
href="../../../../../org/apache/hadoop/hbase/client/coprocessor/Batch.Callback.html"
title="interface in
org.apache.hadoop.hbase.client.coprocessor">Batch.Callback</a><<a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html"
title="type parameter in AsyncProcess.AsyncRequestFutureImpl">CResult</a>>
<a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.746">callback</a></pre>
+</li>
+</ul>
+<a name="errors">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>errors</h4>
+<pre>private final <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.BatchErrors.html"
title="class in org.apache.hadoop.hbase.client">AsyncProcess.BatchErrors</a>
<a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.747">errors</a></pre>
+</li>
+</ul>
+<a name="errorsByServer">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>errorsByServer</h4>
+<pre>private final <a
href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.ServerErrorTracker.html"
title="class in
org.apache.hadoop.hbase.client">ConnectionImplementation.ServerErrorTracker</a>
<a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.748">errorsByServer</a></pre>
+</li>
+</ul>
+<a name="pool">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>pool</h4>
+<pre>private final <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true"
title="class or interface in java.util.concurrent">ExecutorService</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.749">pool</a></pre>
+</li>
+</ul>
+<a name="callsInProgress">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>callsInProgress</h4>
+<pre>private final <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="../../../../../org/apache/hadoop/hbase/client/MultiServerCallable.html"
title="class in org.apache.hadoop.hbase.client">MultiServerCallable</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.750">callsInProgress</a></pre>
+</li>
+</ul>
+<a name="tableName">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>tableName</h4>
+<pre>private final <a
href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.753">tableName</a></pre>
+</li>
+</ul>
+<a name="actionsInProgress">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>actionsInProgress</h4>
+<pre>private final <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true"
title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.754">actionsInProgress</a></pre>
+</li>
+</ul>
+<a name="replicaResultLock">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>replicaResultLock</h4>
+<pre>private final <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> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.758">replicaResultLock</a></pre>
+<div class="block">The lock controls access to results. It is only held when
populating results where
+ there might be several callers (eventual consistency gets). For other
requests,
+ there's one unique call going on per result index.</div>
+</li>
+</ul>
+<a name="results">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>results</h4>
+<pre>private final <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>[] <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.766">results</a></pre>
+<div class="block">Result array. Null if results are not needed. Otherwise,
each index corresponds to
+ the action index in initial actions submitted. For most request types, has
null-s for
+ requests that are not done, and result/exception for those that are done.
+ For eventual-consistency gets, initially the same applies; at some point,
replica calls
+ might be started, and ReplicaResultState is put at the corresponding indices.
The
+ returning calls check the type to detect when this is the case. After all
calls are done,
+ ReplicaResultState-s are replaced with results for the user.</div>
+</li>
+</ul>
+<a name="replicaGetIndices">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>replicaGetIndices</h4>
+<pre>private final int[] <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.768">replicaGetIndices</a></pre>
+<div class="block">Indices of replica gets in results. If null, all or no
actions are replica-gets.</div>
+</li>
+</ul>
+<a name="hasAnyReplicaGets">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hasAnyReplicaGets</h4>
+<pre>private final boolean <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.769">hasAnyReplicaGets</a></pre>
+</li>
+</ul>
+<a name="nonceGroup">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>nonceGroup</h4>
+<pre>private final long <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.770">nonceGroup</a></pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a
name="AsyncProcess.AsyncRequestFutureImpl(org.apache.hadoop.hbase.TableName,
java.util.List, long, java.util.concurrent.ExecutorService, boolean,
java.lang.Object[], org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>AsyncProcess.AsyncRequestFutureImpl</h4>
+<pre>public <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.772">AsyncProcess.AsyncRequestFutureImpl</a>(<a
href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> tableName,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> actions,
+ long nonceGroup,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ExecutorService</a> pool,
+ boolean needResults,
+ <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>[] results,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/coprocessor/Batch.Callback.html"
title="interface in
org.apache.hadoop.hbase.client.coprocessor">Batch.Callback</a><<a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html"
title="type parameter in
AsyncProcess.AsyncRequestFutureImpl">CResult</a>> callback)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="getCallsInProgress()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCallsInProgress</h4>
+<pre>public <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="../../../../../org/apache/hadoop/hbase/client/MultiServerCallable.html"
title="class in org.apache.hadoop.hbase.client">MultiServerCallable</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.842">getCallsInProgress</a>()</pre>
+</li>
+</ul>
+<a name="groupAndSendMultiAction(java.util.List, int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>groupAndSendMultiAction</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.852">groupAndSendMultiAction</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> currentActions,
+ int numAttempt)</pre>
+<div class="block">Group a list of actions per region servers, and send
them.</div>
+<dl><dt><span
class="strong">Parameters:</span></dt><dd><code>currentActions</code> - - the
list of row to submit</dd><dd><code>numAttempt</code> - - the current
numAttempt (first attempt is 1)</dd></dl>
+</li>
+</ul>
+<a name="getReplicaLocationOrFail(org.apache.hadoop.hbase.client.Action)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getReplicaLocationOrFail</h4>
+<pre>private <a
href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class
in org.apache.hadoop.hbase">HRegionLocation</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.907">getReplicaLocationOrFail</a>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action)</pre>
+</li>
+</ul>
+<a name="manageLocationError(org.apache.hadoop.hbase.client.Action,
java.lang.Exception)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>manageLocationError</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.926">manageLocationError</a>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action,
+ <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> ex)</pre>
+</li>
+</ul>
+<a name="findAllLocationsOrFail(org.apache.hadoop.hbase.client.Action,
boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>findAllLocationsOrFail</h4>
+<pre>private <a
href="../../../../../org/apache/hadoop/hbase/RegionLocations.html" title="class
in org.apache.hadoop.hbase">RegionLocations</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.937">findAllLocationsOrFail</a>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action,
+ boolean useCache)</pre>
+</li>
+</ul>
+<a name="sendMultiAction(java.util.Map, int, java.util.List, boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>sendMultiAction</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.958">sendMultiAction</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a><<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a>,<a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> actionsByServer,
+ int numAttempt,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> actionsForReplicaThread,
+ boolean reuseThread)</pre>
+<div class="block">Send a multi action structure to the servers, after a delay
depending on the attempt
+ number. Asynchronous.</div>
+<dl><dt><span
class="strong">Parameters:</span></dt><dd><code>actionsByServer</code> - the
actions structured by regions</dd><dd><code>numAttempt</code> - the attempt
number.</dd><dd><code>actionsForReplicaThread</code> - original actions for
replica thread; null on non-first call.</dd></dl>
+</li>
+</ul>
+<a name="getNewMultiActionRunnable(org.apache.hadoop.hbase.ServerName,
org.apache.hadoop.hbase.client.MultiAction, int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getNewMultiActionRunnable</h4>
+<pre>private <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><? extends <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true"
title="class or interface in java.lang">Runnable</a>> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1007">getNewMultiActionRunnable</a>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> multiAction,
+
int numAttempt)</pre>
+</li>
+</ul>
+<a name="getBackoff(org.apache.hadoop.hbase.ServerName, byte[])">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getBackoff</h4>
+<pre>private <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> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1056">getBackoff</a>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ byte[] regionName)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>server</code> -
server location where the target region is
hosted</dd><dd><code>regionName</code> - name of the region which we are going
to write some data</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the amount of time the client
should wait until it submit a request to the
+ specified server and region</dd></dl>
+</li>
+</ul>
+<a name="startWaitingForReplicaCalls(java.util.List)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startWaitingForReplicaCalls</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1066">startWaitingForReplicaCalls</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in
org.apache.hadoop.hbase.client">Row</a>>> actionsForReplicaThread)</pre>
+<div class="block">Starts waiting to issue replica calls on a different
thread; or issues them immediately.</div>
+</li>
+</ul>
+<a name="manageError(int, org.apache.hadoop.hbase.client.Row,
org.apache.hadoop.hbase.client.AsyncProcess.Retry, java.lang.Throwable,
org.apache.hadoop.hbase.ServerName)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>manageError</h4>
+<pre>public <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.Retry.html"
title="enum in org.apache.hadoop.hbase.client">AsyncProcess.Retry</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1094">manageError</a>(int originalIndex,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.Retry.html"
title="enum in
org.apache.hadoop.hbase.client">AsyncProcess.Retry</a> canRetry,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server)</pre>
+<div class="block">Check that we can retry acts accordingly: logs, set the
error status.</div>
+<dl><dt><span
class="strong">Parameters:</span></dt><dd><code>originalIndex</code> - the
position in the list sent</dd><dd><code>row</code> - the
row</dd><dd><code>canRetry</code> - if false, we won't retry whatever the
settings.</dd><dd><code>throwable</code> - the throwable, if any (can be
null)</dd><dd><code>server</code> - the location, if any (can be null)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>true if the action can be
retried, false otherwise.</dd></dl>
+</li>
+</ul>
+<a name="receiveGlobalFailure(org.apache.hadoop.hbase.client.MultiAction,
org.apache.hadoop.hbase.ServerName, int, java.lang.Throwable)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>receiveGlobalFailure</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1118">receiveGlobalFailure</a>(<a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> rsActions,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ int numAttempt,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> t)</pre>
+<div class="block">Resubmit all the actions from this multiaction after a
failure.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rsActions</code>
- the actions still to do from the initial list</dd><dd><code>server</code> -
the destination</dd><dd><code>numAttempt</code> - the number of attempts so
far</dd><dd><code>t</code> - the throwable (if any) that caused the
resubmit</dd></dl>
+</li>
+</ul>
+<a name="resubmit(org.apache.hadoop.hbase.ServerName, java.util.List, int,
int, java.lang.Throwable)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>resubmit</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1163">resubmit</a>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> oldServer,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>>> toReplay,
+ int numAttempt,
+ int failureCount,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable)</pre>
+<div class="block">Log as much info as possible, and, if there is something to
replay,
+ submit it again after a back off sleep.</div>
+</li>
+</ul>
+<a name="logNoResubmit(org.apache.hadoop.hbase.ServerName, int, int,
java.lang.Throwable, int, int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>logNoResubmit</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1191">logNoResubmit</a>(<a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> oldServer,
+ int numAttempt,
+ int failureCount,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable,
+ int failed,
+ int stopped)</pre>
+</li>
+</ul>
+<a name="receiveMultiAction(org.apache.hadoop.hbase.client.MultiAction,
org.apache.hadoop.hbase.ServerName,
org.apache.hadoop.hbase.client.MultiResponse, int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>receiveMultiAction</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1214">receiveMultiAction</a>(<a
href="../../../../../org/apache/hadoop/hbase/client/MultiAction.html"
title="class in org.apache.hadoop.hbase.client">MultiAction</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> multiAction,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/MultiResponse.html"
title="class in
org.apache.hadoop.hbase.client">MultiResponse</a> responses,
+ int numAttempt)</pre>
+<div class="block">Called when we receive the result of a server query.</div>
+<dl><dt><span
class="strong">Parameters:</span></dt><dd><code>multiAction</code> - - the
multiAction we sent</dd><dd><code>server</code> - - the location. It's used as
a server name.</dd><dd><code>responses</code> - - the response, if
any</dd><dd><code>numAttempt</code> - - the attempt</dd></dl>
+</li>
+</ul>
+<a name="createLog(int, int, int, org.apache.hadoop.hbase.ServerName,
java.lang.Throwable, long, boolean, java.lang.String, int, int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createLog</h4>
+<pre>private <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> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1332">createLog</a>(int numAttempt,
+ int failureCount,
+ int replaySize,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> sn,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> error,
+ long backOffTime,
+ boolean willRetry,
+ <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> startTime,
+ int failed,
+ int stopped)</pre>
+</li>
+</ul>
+<a name="setResult(org.apache.hadoop.hbase.client.Action, java.lang.Object)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setResult</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1370">setResult</a>(<a
href="../../../../../org/apache/hadoop/hbase/client/Action.html" title="class
in org.apache.hadoop.hbase.client">Action</a><<a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> action,
+ <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> result)</pre>
+<div class="block">Sets the non-error result from a particular action.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>action</code> -
Action (request) that the server responded to.</dd><dd><code>result</code> -
The result.</dd></dl>
+</li>
+</ul>
+<a name="setError(int, org.apache.hadoop.hbase.client.Row,
java.lang.Throwable, org.apache.hadoop.hbase.ServerName)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setError</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1411">setError</a>(int index,
+ <a href="../../../../../org/apache/hadoop/hbase/client/Row.html"
title="interface in org.apache.hadoop.hbase.client">Row</a> row,
+ <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true"
title="class or interface in java.lang">Throwable</a> throwable,
+ <a href="../../../../../org/apache/hadoop/hbase/ServerName.html"
title="class in org.apache.hadoop.hbase">ServerName</a> server)</pre>
+<div class="block">Sets the error from a particular action.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> -
Original action index.</dd><dd><code>row</code> - Original
request.</dd><dd><code>throwable</code> - The resulting
error.</dd><dd><code>server</code> - The source server.</dd></dl>
+</li>
+</ul>
+<a name="isActionComplete(int, org.apache.hadoop.hbase.client.Row)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isActionComplete</h4>
+<pre>private boolean <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1469">isActionComplete</a>(int index,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row)</pre>
+<div class="block">Checks if the action is complete; used on error to prevent
needless retries.
+ Does not synchronize, assuming element index/field accesses are atomic.
+ This is an opportunistic optimization check, doesn't have to be strict.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> -
Original action index.</dd><dd><code>row</code> - Original request.</dd></dl>
+</li>
+</ul>
+<a name="trySetResultSimple(int, org.apache.hadoop.hbase.client.Row, boolean,
java.lang.Object, org.apache.hadoop.hbase.ServerName, boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>trySetResultSimple</h4>
+<pre>private <a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.ReplicaResultState.html"
title="class in
org.apache.hadoop.hbase.client">AsyncProcess.ReplicaResultState</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1480">trySetResultSimple</a>(int index,
+ <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a> row,
+ boolean isError,
+ <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> result,
+ <a
href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in
org.apache.hadoop.hbase">ServerName</a> server,
+
boolean isFromReplica)</pre>
+<div class="block">Tries to set the result or error for a particular action as
if there were no replica calls.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>null if successful;
replica state if there were in fact replica calls.</dd></dl>
+</li>
+</ul>
+<a name="decActionCounter(int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>decActionCounter</h4>
+<pre>private void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1515">decActionCounter</a>(int index)</pre>
+</li>
+</ul>
+<a name="buildDetailedErrorMsg(java.lang.String, int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>buildDetailedErrorMsg</h4>
+<pre>private <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> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1527">buildDetailedErrorMsg</a>(<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> string,
+ int index)</pre>
+</li>
+</ul>
+<a name="waitUntilDone()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>waitUntilDone</h4>
+<pre>public void <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1549">waitUntilDone</a>()
+ throws <a
href="http://docs.oracle.com/javase/7/docs/api/java/io/InterruptedIOException.html?is-external=true"
title="class or interface in java.io">InterruptedIOException</a></pre>
+<div class="block"><strong>Description copied from interface: <code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html#waitUntilDone()">AsyncProcess.AsyncRequestFuture</a></code></strong></div>
+<div class="block">Wait until all tasks are executed, successfully or
not.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html#waitUntilDone()">waitUntilDone</a></code> in
interface <code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a
href="http://docs.oracle.com/javase/7/docs/api/java/io/InterruptedIOException.html?is-external=true"
title="class or interface in
java.io">InterruptedIOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="waitUntilDone(long)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>waitUntilDone</h4>
+<pre>private boolean <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1563">waitUntilDone</a>(long cutoff)
+ throws <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true"
title="class or interface in java.lang">InterruptedException</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true"
title="class or interface in
java.lang">InterruptedException</a></code></dd></dl>
+</li>
+</ul>
+<a name="hasError()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hasError</h4>
+<pre>public boolean <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1592">hasError</a>()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html#hasError()">hasError</a></code> in
interface <code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getFailedOperations()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFailedOperations</h4>
+<pre>public <a
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><? extends <a
href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface
in org.apache.hadoop.hbase.client">Row</a>> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1597">getFailedOperations</a>()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html#getFailedOperations()">getFailedOperations</a></code> in
interface <code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getErrors()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getErrors</h4>
+<pre>public <a
href="../../../../../org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.html"
title="class in
org.apache.hadoop.hbase.client">RetriesExhaustedWithDetailsException</a> <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1602">getErrors</a>()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html#getErrors()">getErrors</a></code> in
interface <code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getResults()">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getResults</h4>
+<pre>public <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>[] <a
href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#line.1607">getResults</a>()
+ throws <a
href="http://docs.oracle.com/javase/7/docs/api/java/io/InterruptedIOException.html?is-external=true"
title="class or interface in java.io">InterruptedIOException</a></pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html#getResults()">getResults</a></code> in
interface <code><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in
org.apache.hadoop.hbase.client">AsyncProcess.AsyncRequestFuture</a></code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a
href="http://docs.oracle.com/javase/7/docs/api/java/io/InterruptedIOException.html?is-external=true"
title="class or interface in
java.io">InterruptedIOException</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><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/AsyncProcess.AsyncRequestFutureImpl.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/hadoop/hbase/client/AsyncProcess.AsyncRequestFuture.html"
title="interface in org.apache.hadoop.hbase.client"><span class="strong">Prev
Class</span></a></li>
+<li><a
href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.ReplicaCallIssuingRunnable.html"
title="class in org.apache.hadoop.hbase.client"><span class="strong">Next
Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a
href="../../../../../index.html?org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html"
target="_top">Frames</a></li>
+<li><a href="AsyncProcess.AsyncRequestFutureImpl.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><a href="#nested_class_summary">Nested</a> | </li>
+<li><a href="#field_summary">Field</a> | </li>
+<li><a href="#constructor_summary">Constr</a> | </li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#field_detail">Field</a> | </li>
+<li><a href="#constructor_detail">Constr</a> | </li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2007–2015 <a
href="http://www.apache.org/">The Apache Software Foundation</a>. All rights
reserved.</small></p>
+</body>
+</html>