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 4d8e857 Updated site at revision 64650cf
4d8e857 is described below
commit 4d8e8575d71ec765118d9a6a2c39a94c03f64319
Author: jenkins <[email protected]>
AuthorDate: Thu Nov 30 06:01:38 2017 +0000
Updated site at revision 64650cf
---
content/docs/4.6.0/api/javadoc/index-all.html | 6 +++-
.../org/apache/bookkeeper/client/LedgerHandle.html | 17 ++++++++--
.../apache/bookkeeper/client/LedgerHandleAdv.html | 2 +-
.../apache/bookkeeper/client/api/ReadHandle.html | 37 +++++++++++++++++++---
.../bookkeeper/client/api/WriteAdvHandle.html | 2 +-
.../apache/bookkeeper/client/api/WriteHandle.html | 2 +-
content/docs/latest/api/javadoc/index-all.html | 6 +++-
.../org/apache/bookkeeper/client/LedgerHandle.html | 17 ++++++++--
.../apache/bookkeeper/client/LedgerHandleAdv.html | 2 +-
.../apache/bookkeeper/client/api/ReadHandle.html | 37 +++++++++++++++++++---
.../bookkeeper/client/api/WriteAdvHandle.html | 2 +-
.../apache/bookkeeper/client/api/WriteHandle.html | 2 +-
12 files changed, 110 insertions(+), 22 deletions(-)
diff --git a/content/docs/4.6.0/api/javadoc/index-all.html
b/content/docs/4.6.0/api/javadoc/index-all.html
index 0a6c36f..59345d0 100644
--- a/content/docs/4.6.0/api/javadoc/index-all.html
+++ b/content/docs/4.6.0/api/javadoc/index-all.html
@@ -3224,6 +3224,10 @@
<dd>
<div class="block">Check if bookie health check is enabled.</div>
</dd>
+<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed()</a></span>
- Method in interface org.apache.bookkeeper.client.api.<a
href="org/apache/bookkeeper/client/api/ReadHandle.html" title="interface in
org.apache.bookkeeper.client.api">ReadHandle</a></dt>
+<dd>
+<div class="block">Returns whether the ledger is sealed or not.</div>
+</dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/BookKeeper.html#isClosed--">isClosed()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/BookKeeper.html" title="class in
org.apache.bookkeeper.client">BookKeeper</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/BookKeeper.html#isClosed-long-">isClosed(long)</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/BookKeeper.html" title="class in
org.apache.bookkeeper.client">BookKeeper</a></dt>
@@ -3238,7 +3242,7 @@
</dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/LedgerHandle.html#isClosed--">isClosed()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/LedgerHandle.html" title="class in
org.apache.bookkeeper.client">LedgerHandle</a></dt>
<dd>
-<div class="block">Has the ledger been closed?</div>
+<div class="block">Returns whether the ledger is sealed or not.</div>
</dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/LedgerMetadata.html#isClosed--">isClosed()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/LedgerMetadata.html" title="class in
org.apache.bookkeeper.client">LedgerMetadata</a></dt>
<dd> </dd>
diff --git
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
index da4aa59..032c17d 100644
---
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
+++
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
@@ -583,7 +583,7 @@ implements <a
href="../../../../org/apache/bookkeeper/client/api/WriteHandle.htm
<tr id="i42" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#isClosed--">isClosed</a></span>()</code>
-<div class="block">Has the ledger been closed?</div>
+<div class="block">Returns whether the ledger is sealed or not.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
@@ -1262,7 +1262,20 @@ implements <a
href="../../../../org/apache/bookkeeper/client/api/WriteHandle.htm
<li class="blockList">
<h4>isClosed</h4>
<pre>public boolean isClosed()</pre>
-<div class="block">Has the ledger been closed?</div>
+<div class="block">Returns whether the ledger is sealed or not.
+
+ <p>A ledger is sealed when either the client explicitly closes it (<a
href="../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>
or
+ <a
href="../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>)
or another client explicitly open and recovery it
+ <a
href="../../../../org/apache/bookkeeper/client/api/OpenBuilder.html#withRecovery-boolean-"><code>OpenBuilder.withRecovery(boolean)</code></a>.
+
+ <p>This method only checks the metadata cached locally. The metadata can be
not update-to-date because
+ the metadata notification is delayed.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a></code> in
interface <code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if the ledger is sealed, otherwise false.</dd>
+</dl>
</li>
</ul>
<a
name="asyncCloseInternal-org.apache.bookkeeper.client.AsyncCallback.CloseCallback-java.lang.Object-int-">
diff --git
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
index 4385f28..007e08a 100644
---
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
+++
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
@@ -309,7 +309,7 @@ implements <a
href="../../../../org/apache/bookkeeper/client/api/WriteAdvHandle.
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.bookkeeper.client.api.<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></h3>
-<code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a>,
<a href="../../../../org/apache/bookkeeper/client/api [...]
+<code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLas
[...]
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.org.apache.bookkeeper.client.api.Handle">
diff --git
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
index c47feb8..ee8eec1 100644
---
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
+++
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6};
+var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -153,19 +153,25 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html" ti
</td>
</tr>
<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a></span>()</code>
+<div class="block">Returns whether the ledger is sealed or not.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="../../../../../org/apache/bookkeeper/client/api/LedgerEntries.html"
title="interface in
org.apache.bookkeeper.client.api">LedgerEntries</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a></span>(long firstEntry,
long lastEntry)</code>
<div class="block">Read a sequence of entries asynchronously.</div>
</td>
</tr>
-<tr id="i3" class="rowColor">
+<tr id="i4" class="altColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true"
title="class or interface in java.lang">Long</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a></span>()</code>
<div class="block">Obtains asynchronously the last confirmed write from a
quorum of bookies.</div>
</td>
</tr>
-<tr id="i4" class="altColor">
+<tr id="i5" class="rowColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="../../../../../org/apache/bookkeeper/client/api/LastConfirmedAndEntry.html"
title="interface in
org.apache.bookkeeper.client.api">LastConfirmedAndEntry</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmedAndEntry-long-long-boolean-">readLastAddConfirmedAndEntry</a></span>(long entryId,
long timeOutInMillis,
@@ -173,14 +179,14 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html" ti
<div class="block">Asynchronous read specific entry and the latest last add
confirmed.</div>
</td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="../../../../../org/apache/bookkeeper/client/api/LedgerEntries.html"
title="interface in
org.apache.bookkeeper.client.api">LedgerEntries</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readUnconfirmed-long-long-">readUnconfirmed</a></span>(long firstEntry,
long lastEntry)</code>
<div class="block">Read a sequence of entries asynchronously, allowing to read
after the LastAddConfirmed range.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true"
title="class or interface in java.lang">Long</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#tryReadLastAddConfirmed--">tryReadLastAddConfirmed</a></span>()</code>
<div class="block">Obtains asynchronously the last confirmed write from a
quorum of bookies
@@ -333,6 +339,27 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html" ti
</dl>
</li>
</ul>
+<a name="isClosed--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isClosed</h4>
+<pre>boolean isClosed()</pre>
+<div class="block">Returns whether the ledger is sealed or not.
+
+ <p>A ledger is sealed when either the client explicitly closes it (<a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>
or
+ <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>)
or another client explicitly open and recovery it
+ <a
href="../../../../../org/apache/bookkeeper/client/api/OpenBuilder.html#withRecovery-boolean-"><code>OpenBuilder.withRecovery(boolean)</code></a>.
+
+ <p>This method only checks the metadata cached locally. The metadata can be
not update-to-date because
+ the metadata notification is delayed.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if the ledger is sealed, otherwise false.</dd>
+</dl>
+</li>
+</ul>
<a name="readLastAddConfirmedAndEntry-long-long-boolean-">
<!-- -->
</a>
diff --git
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
index 7a36360..162f067 100644
---
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
+++
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
@@ -176,7 +176,7 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.bookkeeper.client.api.<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></h3>
-<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a>,
<a href="../../../../../org/apache/bookke [...]
+<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a href="../../../../../org/apache/bookkeeper/client/api/ReadHand [...]
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.org.apache.bookkeeper.client.api.Handle">
diff --git
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
index 495de82..f4eab98 100644
---
a/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
+++
b/content/docs/4.6.0/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
@@ -177,7 +177,7 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.bookkeeper.client.api.<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></h3>
-<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a>,
<a href="../../../../../org/apache/bookke [...]
+<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a href="../../../../../org/apache/bookkeeper/client/api/ReadHand [...]
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.org.apache.bookkeeper.client.api.Handle">
diff --git a/content/docs/latest/api/javadoc/index-all.html
b/content/docs/latest/api/javadoc/index-all.html
index 0a6c36f..59345d0 100644
--- a/content/docs/latest/api/javadoc/index-all.html
+++ b/content/docs/latest/api/javadoc/index-all.html
@@ -3224,6 +3224,10 @@
<dd>
<div class="block">Check if bookie health check is enabled.</div>
</dd>
+<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed()</a></span>
- Method in interface org.apache.bookkeeper.client.api.<a
href="org/apache/bookkeeper/client/api/ReadHandle.html" title="interface in
org.apache.bookkeeper.client.api">ReadHandle</a></dt>
+<dd>
+<div class="block">Returns whether the ledger is sealed or not.</div>
+</dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/BookKeeper.html#isClosed--">isClosed()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/BookKeeper.html" title="class in
org.apache.bookkeeper.client">BookKeeper</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/BookKeeper.html#isClosed-long-">isClosed(long)</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/BookKeeper.html" title="class in
org.apache.bookkeeper.client">BookKeeper</a></dt>
@@ -3238,7 +3242,7 @@
</dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/LedgerHandle.html#isClosed--">isClosed()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/LedgerHandle.html" title="class in
org.apache.bookkeeper.client">LedgerHandle</a></dt>
<dd>
-<div class="block">Has the ledger been closed?</div>
+<div class="block">Returns whether the ledger is sealed or not.</div>
</dd>
<dt><span class="memberNameLink"><a
href="org/apache/bookkeeper/client/LedgerMetadata.html#isClosed--">isClosed()</a></span>
- Method in class org.apache.bookkeeper.client.<a
href="org/apache/bookkeeper/client/LedgerMetadata.html" title="class in
org.apache.bookkeeper.client">LedgerMetadata</a></dt>
<dd> </dd>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
index da4aa59..032c17d 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandle.html
@@ -583,7 +583,7 @@ implements <a
href="../../../../org/apache/bookkeeper/client/api/WriteHandle.htm
<tr id="i42" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#isClosed--">isClosed</a></span>()</code>
-<div class="block">Has the ledger been closed?</div>
+<div class="block">Returns whether the ledger is sealed or not.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
@@ -1262,7 +1262,20 @@ implements <a
href="../../../../org/apache/bookkeeper/client/api/WriteHandle.htm
<li class="blockList">
<h4>isClosed</h4>
<pre>public boolean isClosed()</pre>
-<div class="block">Has the ledger been closed?</div>
+<div class="block">Returns whether the ledger is sealed or not.
+
+ <p>A ledger is sealed when either the client explicitly closes it (<a
href="../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>
or
+ <a
href="../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>)
or another client explicitly open and recovery it
+ <a
href="../../../../org/apache/bookkeeper/client/api/OpenBuilder.html#withRecovery-boolean-"><code>OpenBuilder.withRecovery(boolean)</code></a>.
+
+ <p>This method only checks the metadata cached locally. The metadata can be
not update-to-date because
+ the metadata notification is delayed.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a></code> in
interface <code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if the ledger is sealed, otherwise false.</dd>
+</dl>
</li>
</ul>
<a
name="asyncCloseInternal-org.apache.bookkeeper.client.AsyncCallback.CloseCallback-java.lang.Object-int-">
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
index 4385f28..007e08a 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/LedgerHandleAdv.html
@@ -309,7 +309,7 @@ implements <a
href="../../../../org/apache/bookkeeper/client/api/WriteAdvHandle.
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.bookkeeper.client.api.<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></h3>
-<code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a>,
<a href="../../../../org/apache/bookkeeper/client/api [...]
+<code><a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a>,
<a
href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a href="../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLas
[...]
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.org.apache.bookkeeper.client.api.Handle">
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
index c47feb8..ee8eec1 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/ReadHandle.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6};
+var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -153,19 +153,25 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html" ti
</td>
</tr>
<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a></span>()</code>
+<div class="block">Returns whether the ledger is sealed or not.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="../../../../../org/apache/bookkeeper/client/api/LedgerEntries.html"
title="interface in
org.apache.bookkeeper.client.api">LedgerEntries</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a></span>(long firstEntry,
long lastEntry)</code>
<div class="block">Read a sequence of entries asynchronously.</div>
</td>
</tr>
-<tr id="i3" class="rowColor">
+<tr id="i4" class="altColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true"
title="class or interface in java.lang">Long</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a></span>()</code>
<div class="block">Obtains asynchronously the last confirmed write from a
quorum of bookies.</div>
</td>
</tr>
-<tr id="i4" class="altColor">
+<tr id="i5" class="rowColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="../../../../../org/apache/bookkeeper/client/api/LastConfirmedAndEntry.html"
title="interface in
org.apache.bookkeeper.client.api">LastConfirmedAndEntry</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmedAndEntry-long-long-boolean-">readLastAddConfirmedAndEntry</a></span>(long entryId,
long timeOutInMillis,
@@ -173,14 +179,14 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html" ti
<div class="block">Asynchronous read specific entry and the latest last add
confirmed.</div>
</td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="../../../../../org/apache/bookkeeper/client/api/LedgerEntries.html"
title="interface in
org.apache.bookkeeper.client.api">LedgerEntries</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readUnconfirmed-long-long-">readUnconfirmed</a></span>(long firstEntry,
long lastEntry)</code>
<div class="block">Read a sequence of entries asynchronously, allowing to read
after the LastAddConfirmed range.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code><a
href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true"
title="class or interface in java.util.concurrent">CompletableFuture</a><<a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true"
title="class or interface in java.lang">Long</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#tryReadLastAddConfirmed--">tryReadLastAddConfirmed</a></span>()</code>
<div class="block">Obtains asynchronously the last confirmed write from a
quorum of bookies
@@ -333,6 +339,27 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html" ti
</dl>
</li>
</ul>
+<a name="isClosed--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isClosed</h4>
+<pre>boolean isClosed()</pre>
+<div class="block">Returns whether the ledger is sealed or not.
+
+ <p>A ledger is sealed when either the client explicitly closes it (<a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>
or
+ <a
href="../../../../../org/apache/bookkeeper/client/api/Handle.html#close--"><code>Handle.close()</code></a>)
or another client explicitly open and recovery it
+ <a
href="../../../../../org/apache/bookkeeper/client/api/OpenBuilder.html#withRecovery-boolean-"><code>OpenBuilder.withRecovery(boolean)</code></a>.
+
+ <p>This method only checks the metadata cached locally. The metadata can be
not update-to-date because
+ the metadata notification is delayed.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if the ledger is sealed, otherwise false.</dd>
+</dl>
+</li>
+</ul>
<a name="readLastAddConfirmedAndEntry-long-long-boolean-">
<!-- -->
</a>
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
index 7a36360..162f067 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteAdvHandle.html
@@ -176,7 +176,7 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.bookkeeper.client.api.<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></h3>
-<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a>,
<a href="../../../../../org/apache/bookke [...]
+<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a href="../../../../../org/apache/bookkeeper/client/api/ReadHand [...]
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.org.apache.bookkeeper.client.api.Handle">
diff --git
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
index 495de82..f4eab98 100644
---
a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
+++
b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/api/WriteHandle.html
@@ -177,7 +177,7 @@ extends <a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.bookkeeper.client.api.<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html"
title="interface in org.apache.bookkeeper.client.api">ReadHandle</a></h3>
-<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#readLastAddConfirmed--">readLastAddConfirmed</a>,
<a href="../../../../../org/apache/bookke [...]
+<code><a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLastAddConfirmed--">getLastAddConfirmed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#getLength--">getLength</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#isClosed--">isClosed</a>,
<a
href="../../../../../org/apache/bookkeeper/client/api/ReadHandle.html#read-long-long-">read</a>,
<a href="../../../../../org/apache/bookkeeper/client/api/ReadHand [...]
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.org.apache.bookkeeper.client.api.Handle">
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].