This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 996a8e8 Updated site at revision cdd6594
996a8e8 is described below
commit 996a8e851379b2af461bdbc48e6959766655b41c
Author: jenkins <[email protected]>
AuthorDate: Mon Sep 10 20:26:22 2018 +0000
Updated site at revision cdd6594
---
content/docs/latest/api/javadoc/index-all.html | 4 ++++
.../DefaultSpeculativeRequestExecutionPolicy.html | 8 ++++---
.../client/LedgerRecoveryOp.RecoveryReadOp.html | 2 +-
.../client/ListenerBasedPendingReadOp.html | 2 +-
.../apache/bookkeeper/client/PendingReadOp.html | 27 ++++++++++++++++------
.../client/ReadLastConfirmedAndEntryOp.html | 27 ++++++++++++++++------
.../client/SpeculativeRequestExecutionPolicy.html | 8 ++++---
.../class-use/SpeculativeRequestExecutor.html | 4 ++--
8 files changed, 58 insertions(+), 24 deletions(-)
diff --git a/content/docs/latest/api/javadoc/index-all.html
b/content/docs/latest/api/javadoc/index-all.html
index 8b195b5..c52e617 100644
--- a/content/docs/latest/api/javadoc/index-all.html
+++ b/content/docs/latest/api/javadoc/index-all.html
@@ -1034,6 +1034,8 @@
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/PendingReadOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask(boolean)</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/PendingReadOp.html" title="class in
org.apache.bookkeeper.client">PendingReadOp</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask(boolean)</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html"
title="class in
org.apache.bookkeeper.client">ReadLastConfirmedAndEntryOp</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/ForceLedgerOp.html#cb">cb</a></span> -
Variable in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/ForceLedgerOp.html" title="class in
org.apache.bookkeeper.client">ForceLedgerOp</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/LedgerCreateOp.html#cb">cb</a></span> -
Variable in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/LedgerCreateOp.html" title="class in
org.apache.bookkeeper.client">LedgerCreateOp</a></dt>
@@ -3552,6 +3554,8 @@
<dd>
<div class="block">Multipler to use when determining time between successive
speculative read requests.</div>
</dd>
+<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/PendingReadOp.html#getSpeculativeTask--">getSpeculativeTask()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/PendingReadOp.html" title="class in
org.apache.bookkeeper.client">PendingReadOp</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/conf/ClientConfiguration.html#getStartTLSTimeout--">getStartTLSTimeout()</a></span>
- Method in class org.apache.bookkeeper.conf.<a
href="org/apache/bookkeeper/conf/ClientConfiguration.html" title="class in
org.apache.bookkeeper.conf">ClientConfiguration</a></dt>
<dd>
<div class="block">Return the timeout value for startTLS request.</div>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/DefaultSpeculativeRequestExecutionPolicy.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/DefaultSpeculativeRequestExecutionPolicy.html
index f8799c5..8f64443 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/DefaultSpeculativeRequestExecutionPolicy.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/DefaultSpeculativeRequestExecutionPolicy.html
@@ -185,7 +185,7 @@ implements <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestE
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
-<td class="colFirst"><code>void</code></td>
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/DefaultSpeculativeRequestExecutionPolicy.html#initiateSpeculativeRequest-java.util.concurrent.ScheduledExecutorService-org.apache.bookkeeper.client.SpeculativeRequestExecutor-">initiateSpeculativeRequest</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true"
title="class or interface in java.util.concurrent">S [...]
<a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExecutor)</code>
<div class="block">Initialize the speculative request execution policy.</div>
@@ -273,8 +273,8 @@ implements <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestE
<ul class="blockListLast">
<li class="blockList">
<h4>initiateSpeculativeRequest</h4>
-<pre>public void initiateSpeculativeRequest(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledExecutorService</a> scheduler,
- <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExecutor)</pre>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?> initiateSpeculativeRequest(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledExecutorService</a> scheduler,
+ <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExecutor)</pre>
<div class="block">Initialize the speculative request execution policy.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -282,6 +282,8 @@ implements <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestE
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scheduler</code> - The scheduler service to issue the speculative
request</dd>
<dd><code>requestExecutor</code> - The executor is used to issue the actual
speculative requests</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>ScheduledFuture, in case caller needs to cancel it.</dd>
</dl>
</li>
</ul>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerRecoveryOp.RecoveryReadOp.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerRecoveryOp.RecoveryReadOp.html
index 90a300a..a95d001 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerRecoveryOp.RecoveryReadOp.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerRecoveryOp.RecoveryReadOp.html
@@ -230,7 +230,7 @@ extends <a
href="../../../../org/apache/bookkeeper/client/ListenerBasedPendingRe
<!-- -->
</a>
<h3>Methods inherited from class org.apache.bookkeeper.client.<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html" title="class
in org.apache.bookkeeper.client">PendingReadOp</a></h3>
-<code><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#allowFailFastOnUnwritableChannel--">allowFailFastOnUnwritableChannel</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#future--">future</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#initiate--">initiate</a>,
<a href="../../../../org/apac [...]
+<code><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#allowFailFastOnUnwritableChannel--">allowFailFastOnUnwritableChannel</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#future--">future</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#getSpeculativeTask--">getSpeculativeTask</a>,
<a href=" [...]
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ListenerBasedPendingReadOp.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ListenerBasedPendingReadOp.html
index d17d4ff..d96a315 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ListenerBasedPendingReadOp.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ListenerBasedPendingReadOp.html
@@ -227,7 +227,7 @@ extends <a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html" ti
<!-- -->
</a>
<h3>Methods inherited from class org.apache.bookkeeper.client.<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html" title="class
in org.apache.bookkeeper.client">PendingReadOp</a></h3>
-<code><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#allowFailFastOnUnwritableChannel--">allowFailFastOnUnwritableChannel</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#future--">future</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#getLedgerMetadata--">getLedgerMetadata</a>,
<a href=".. [...]
+<code><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#allowFailFastOnUnwritableChannel--">allowFailFastOnUnwritableChannel</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#future--">future</a>,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#getLedgerMetadata--">getLedgerMetadata</a>,
<a href=".. [...]
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/PendingReadOp.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/PendingReadOp.html
index f3ee457..e0d33a0 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/PendingReadOp.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/PendingReadOp.html
@@ -18,7 +18,7 @@
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};
+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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -277,14 +277,18 @@ implements
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCall
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#getLedgerMetadata--">getLedgerMetadata</a></span>()</code> </td>
</tr>
<tr id="i4" class="altColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#getSpeculativeTask--">getSpeculativeTask</a></span>()</code> </td>
+</tr>
+<tr id="i5" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#initiate--">initiate</a></span>()</code> </td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code>(package private) <a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html" title="class
in org.apache.bookkeeper.client">PendingReadOp</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#parallelRead-boolean-">parallelRead</a></span>(boolean enabled)</code> </td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#readEntryComplete-int-long-long-io.netty.buffer.ByteBuf-java.lang.Object-">readEntryComplete</a></span>(int rc,
long ledgerId,
@@ -292,21 +296,21 @@ implements
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCall
io.netty.buffer.ByteBuf buffer,
<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a> ctx)</code> </td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#safeRun--">safeRun</a></span>()</code> </td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#sendReadTo-int-org.apache.bookkeeper.net.BookieSocketAddress-org.apache.bookkeeper.client.PendingReadOp.LedgerEntryRequest-">sendReadTo</a></span>(int bookieIndex,
org.apache.bookkeeper.net.BookieSocketAddress to,
<a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.LedgerEntryRequest.html"
title="class in
org.apache.bookkeeper.client">PendingReadOp.LedgerEntryRequest</a> entry)</code> </td>
</tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#submit--">submit</a></span>()</code> </td>
</tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/PendingReadOp.html#submitCallback-int-">submitCallback</a></span>(int code)</code> </td>
</tr>
@@ -503,6 +507,15 @@ implements
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCall
<pre>protected void cancelSpeculativeTask(boolean mayInterruptIfRunning)</pre>
</li>
</ul>
+<a name="getSpeculativeTask--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSpeculativeTask</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?> getSpeculativeTask()</pre>
+</li>
+</ul>
<a name="parallelRead-boolean-">
<!-- -->
</a>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html
index 8485449..d06d170 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
+var methods =
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -238,24 +238,28 @@ implements
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCall
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#cancelSpeculativeTask-boolean-">cancelSpeculativeTask</a></span>(boolean mayInterruptIfRunning)</code> </td>
+</tr>
+<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a
href="../../../../org/apache/bookkeeper/client/LedgerMetadata.html"
title="class in org.apache.bookkeeper.client">LedgerMetadata</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#getLedgerMetadata--">getLedgerMetadata</a></span>()</code> </td>
</tr>
-<tr id="i1" class="rowColor">
+<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#initiate--">initiate</a></span>()</code> </td>
</tr>
-<tr id="i2" class="altColor">
+<tr id="i3" class="rowColor">
<td
class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture<<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true"
title="class or interface in java.lang">Boolean</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#issueSpeculativeRequest--">issueSpeculativeRequest</a></span>()</code>
<div class="block">Speculative Read Logic.</div>
</td>
</tr>
-<tr id="i3" class="rowColor">
+<tr id="i4" class="altColor">
<td class="colFirst"><code>(package private) <a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html"
title="class in
org.apache.bookkeeper.client">ReadLastConfirmedAndEntryOp</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#parallelRead-boolean-">parallelRead</a></span>(boolean enabled)</code> </td>
</tr>
-<tr id="i4" class="altColor">
+<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#readEntryComplete-int-long-long-io.netty.buffer.ByteBuf-java.lang.Object-">readEntryComplete</a></span>(int rc,
long ledgerId,
@@ -263,13 +267,13 @@ implements
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCall
io.netty.buffer.ByteBuf buffer,
<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a> ctx)</code> </td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#sendReadTo-int-org.apache.bookkeeper.net.BookieSocketAddress-org.apache.bookkeeper.client.ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequest-">sendReadTo</a></span>(int bookieIndex,
org.apache.bookkeeper.net.BookieSocketAddress to,
<a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequest.html"
title="class in
org.apache.bookkeeper.client">ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequest</a> entry)</code> </td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html#toString--">toString</a></span>()</code> </td>
</tr>
@@ -415,6 +419,15 @@ implements
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCall
<pre><a
href="../../../../org/apache/bookkeeper/client/ReadLastConfirmedAndEntryOp.html"
title="class in
org.apache.bookkeeper.client">ReadLastConfirmedAndEntryOp</a> parallelRead(boolean enabled)</pre>
</li>
</ul>
+<a name="cancelSpeculativeTask-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>cancelSpeculativeTask</h4>
+<pre>protected void cancelSpeculativeTask(boolean mayInterruptIfRunning)</pre>
+</li>
+</ul>
<a name="issueSpeculativeRequest--">
<!-- -->
</a>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/SpeculativeRequestExecutionPolicy.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/SpeculativeRequestExecutionPolicy.html
index d8493d4..adf0b49 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/SpeculativeRequestExecutionPolicy.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/SpeculativeRequestExecutionPolicy.html
@@ -133,7 +133,7 @@ var activeTableTab = "activeTableTab";
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
-<td class="colFirst"><code>void</code></td>
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutionPolicy.html#initiateSpeculativeRequest-java.util.concurrent.ScheduledExecutorService-org.apache.bookkeeper.client.SpeculativeRequestExecutor-">initiateSpeculativeRequest</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true"
title="class or interface in java.util.concurrent">Schedule [...]
<a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExectuor)</code>
<div class="block">Initialize the speculative request execution policy and
initiate requests.</div>
@@ -160,13 +160,15 @@ var activeTableTab = "activeTableTab";
<ul class="blockListLast">
<li class="blockList">
<h4>initiateSpeculativeRequest</h4>
-<pre>void initiateSpeculativeRequest(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledExecutorService</a> scheduler,
- <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExectuor)</pre>
+<pre><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?> initiateSpeculativeRequest(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledExecutorService</a> scheduler,
+ <a
href="../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExectuor)</pre>
<div class="block">Initialize the speculative request execution policy and
initiate requests.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scheduler</code> - The scheduler service to issue the speculative
request</dd>
<dd><code>requestExectuor</code> - The executor is used to issue the actual
speculative requests</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>ScheduledFuture, in case caller needs to cancel it.</dd>
</dl>
</li>
</ul>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/class-use/SpeculativeRequestExecutor.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/class-use/SpeculativeRequestExecutor.html
index 07af3a7..309f64c 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/class-use/SpeculativeRequestExecutor.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/class-use/SpeculativeRequestExecutor.html
@@ -132,14 +132,14 @@
</tr>
<tbody>
<tr class="altColor">
-<td class="colFirst"><code>void</code></td>
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?></code></td>
<td class="colLast"><span
class="typeNameLabel">DefaultSpeculativeRequestExecutionPolicy.</span><code><span
class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/DefaultSpeculativeRequestExecutionPolicy.html#initiateSpeculativeRequest-java.util.concurrent.ScheduledExecutorService-org.apache.bookkeeper.client.SpeculativeRequestExecutor-">initiateSpeculativeRequest</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorServ
[...]
<a
href="../../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExecutor)</code>
<div class="block">Initialize the speculative request execution policy.</div>
</td>
</tr>
<tr class="rowColor">
-<td class="colFirst"><code>void</code></td>
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html?is-external=true"
title="class or interface in
java.util.concurrent">ScheduledFuture</a><?></code></td>
<td class="colLast"><span
class="typeNameLabel">SpeculativeRequestExecutionPolicy.</span><code><span
class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutionPolicy.html#initiateSpeculativeRequest-java.util.concurrent.ScheduledExecutorService-org.apache.bookkeeper.client.SpeculativeRequestExecutor-">initiateSpeculativeRequest</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-ex
[...]
<a
href="../../../../../org/apache/bookkeeper/client/SpeculativeRequestExecutor.html"
title="interface in
org.apache.bookkeeper.client">SpeculativeRequestExecutor</a> requestExectuor)</code>
<div class="block">Initialize the speculative request execution policy and
initiate requests.</div>