bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject svn commit: r1743979 [18/35] - in /bookkeeper/site/trunk: content/ content/docs/r4.4.0/ content/docs/r4.4.0/apidocs/ content/docs/r4.4.0/apidocs/org/ content/docs/r4.4.0/apidocs/org/apache/ content/docs/r4.4.0/apidocs/org/apache/bookkeeper/ content/doc...
Date Sun, 15 May 2016 21:38:39 GMT
Added: bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerFragmentReplicator.html
URL: http://svn.apache.org/viewvc/bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerFragmentReplicator.html?rev=1743979&view=auto
==============================================================================
--- bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerFragmentReplicator.html (added)
+++ bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerFragmentReplicator.html Sun May 15 21:38:37 2016
@@ -0,0 +1,232 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 21:18:06 UTC 2016 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>LedgerFragmentReplicator (bookkeeper 4.4.0 API)</title>
+<meta name="date" content="2016-05-15">
+<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="LedgerFragmentReplicator (bookkeeper 4.4.0 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/LedgerFragmentReplicator.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/bookkeeper/client/LedgerFragment.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/bookkeeper/client/LedgerFragmentReplicator.html" target="_top">Frames</a></li>
+<li><a href="LedgerFragmentReplicator.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Method</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.bookkeeper.client</div>
+<h2 title="Class LedgerFragmentReplicator" class="title">Class LedgerFragmentReplicator</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://download.oracle.com/javase/6/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.bookkeeper.client.LedgerFragmentReplicator</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">LedgerFragmentReplicator</span>
+extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">This is the helper class for replicating the fragments from one bookie to
+ another</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</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/bookkeeper/client/LedgerFragmentReplicator.html#LedgerFragmentReplicator(org.apache.bookkeeper.client.BookKeeper)">LedgerFragmentReplicator</a></strong>(<a href="../../../../org/apache/bookkeeper/client/BookKeeper.html" title="class in org.apache.bookkeeper.client">BookKeeper</a>&nbsp;bkc)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/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://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com
 /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="LedgerFragmentReplicator(org.apache.bookkeeper.client.BookKeeper)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>LedgerFragmentReplicator</h4>
+<pre>public&nbsp;LedgerFragmentReplicator(<a href="../../../../org/apache/bookkeeper/client/BookKeeper.html" title="class in org.apache.bookkeeper.client">BookKeeper</a>&nbsp;bkc)</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><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/LedgerFragmentReplicator.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/bookkeeper/client/LedgerFragment.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/bookkeeper/client/LedgerFragmentReplicator.html" target="_top">Frames</a></li>
+<li><a href="LedgerFragmentReplicator.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2011-2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>

Added: bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandle.html
URL: http://svn.apache.org/viewvc/bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandle.html?rev=1743979&view=auto
==============================================================================
--- bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandle.html (added)
+++ bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandle.html Sun May 15 21:38:37 2016
@@ -0,0 +1,784 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 21:18:06 UTC 2016 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>LedgerHandle (bookkeeper 4.4.0 API)</title>
+<meta name="date" content="2016-05-15">
+<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="LedgerHandle (bookkeeper 4.4.0 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/LedgerHandle.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/bookkeeper/client/LedgerFragmentReplicator.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/bookkeeper/client/LedgerHandle.html" target="_top">Frames</a></li>
+<li><a href="LedgerHandle.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.bookkeeper.client</div>
+<h2 title="Class LedgerHandle" class="title">Class LedgerHandle</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://download.oracle.com/javase/6/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.bookkeeper.client.LedgerHandle</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
+</dl>
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client">LedgerHandleAdv</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">LedgerHandle</span>
+extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
+implements <a href="http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></pre>
+<div class="block">Ledger handle contains ledger metadata and is used to access the read and
+ write operations to a ledger.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== 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">&nbsp;</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>static long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#INVALID_ENTRY_ID">INVALID_ENTRY_ID</a></strong></code>
+<div class="block">Invalid entry id.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</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>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(byte[])">addEntry</a></strong>(byte[]&nbsp;data)</code>
+<div class="block">Add entry synchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(byte[],%20int,%20int)">addEntry</a></strong>(byte[]&nbsp;data,
+        int&nbsp;offset,
+        int&nbsp;length)</code>
+<div class="block">Add entry synchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(long,%20byte[])">addEntry</a></strong>(long&nbsp;entryId,
+        byte[]&nbsp;data)</code>
+<div class="block">Add entry synchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(long,%20byte[],%20int,%20int)">addEntry</a></strong>(long&nbsp;entryId,
+        byte[]&nbsp;data,
+        int&nbsp;offset,
+        int&nbsp;length)</code>
+<div class="block">Add entry synchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(byte[],%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></strong>(byte[]&nbsp;data,
+             <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Add entry asynchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(byte[],%20int,%20int,%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></strong>(byte[]&nbsp;data,
+             int&nbsp;offset,
+             int&nbsp;length,
+             <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Add entry asynchronously to an open ledger, using an offset and range.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(long,%20byte[],%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></strong>(long&nbsp;entryId,
+             byte[]&nbsp;data,
+             <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Add entry asynchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(long,%20byte[],%20int,%20int,%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></strong>(long&nbsp;entryId,
+             byte[]&nbsp;data,
+             int&nbsp;offset,
+             int&nbsp;length,
+             <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Add entry asynchronously to an open ledger, using an offset and range.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncClose(org.apache.bookkeeper.client.AsyncCallback.CloseCallback,%20java.lang.Object)">asyncClose</a></strong>(<a href="../../../../org/apache/bookkeeper/client/AsyncCallback.CloseCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.CloseCallback</a>&nbsp;cb,
+          <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Asynchronous close, any adds in flight will return errors.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncReadEntries(long,%20long,%20org.apache.bookkeeper.client.AsyncCallback.ReadCallback,%20java.lang.Object)">asyncReadEntries</a></strong>(long&nbsp;firstEntry,
+                long&nbsp;lastEntry,
+                <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.ReadCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.ReadCallback</a>&nbsp;cb,
+                <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Read a sequence of entries asynchronously.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback,%20java.lang.Object)">asyncReadLastConfirmed</a></strong>(<a href="../../../../org/apache/bookkeeper/client/AsyncCallback.ReadLastConfirmedCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.ReadLastConfirmedCallback</a>&nbsp;cb,
+                      <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Obtains asynchronously the last confirmed write from a quorum of bookies.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback,%20java.lang.Object)">asyncTryReadLastConfirmed</a></strong>(<a href="../../../../org/apache/bookkeeper/client/AsyncCallback.ReadLastConfirmedCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.ReadLastConfirmedCallback</a>&nbsp;cb,
+                         <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Obtains asynchronously the last confirmed write from a quorum of bookies.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#close()">close</a></strong>()</code>
+<div class="block">Close this ledger synchronously.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getId()">getId</a></strong>()</code>
+<div class="block">Get the id of the current ledger</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLastAddConfirmed()">getLastAddConfirmed</a></strong>()</code>
+<div class="block">Get the last confirmed entry id on this ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLastAddPushed()">getLastAddPushed</a></strong>()</code>
+<div class="block">Get the entry id of the last entry that has been enqueued for addition (but
+ may not have possibly been persited to the ledger)</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLedgerKey()">getLedgerKey</a></strong>()</code>
+<div class="block">Get the Ledger's key/password.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLength()">getLength</a></strong>()</code>
+<div class="block">Returns the length of the ledger in bytes.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#isClosed()">isClosed</a></strong>()</code>
+<div class="block">Has the ledger been closed?</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a>&lt;<a href="../../../../org/apache/bookkeeper/client/LedgerEntry.html" title="class in org.apache.bookkeeper.client">LedgerEntry</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readEntries(long,%20long)">readEntries</a></strong>(long&nbsp;firstEntry,
+           long&nbsp;lastEntry)</code>
+<div class="block">Read a sequence of entries synchronously.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readLastConfirmed()">readLastConfirmed</a></strong>()</code>
+<div class="block">Obtains synchronously the last confirmed write from a quorum of bookies.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#tryReadLastConfirmed()">tryReadLastConfirmed</a></strong>()</code>
+<div class="block">Obtains synchronously the last confirmed write from a quorum of bookies.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/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://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com
 /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/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="INVALID_ENTRY_ID">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>INVALID_ENTRY_ID</h4>
+<pre>public static final&nbsp;long INVALID_ENTRY_ID</pre>
+<div class="block">Invalid entry id. This value is returned from methods which
+ should return an entry id but there is no valid entry available.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.bookkeeper.client.LedgerHandle.INVALID_ENTRY_ID">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getId()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getId</h4>
+<pre>public&nbsp;long&nbsp;getId()</pre>
+<div class="block">Get the id of the current ledger</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the id of the ledger</dd></dl>
+</li>
+</ul>
+<a name="getLastAddConfirmed()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLastAddConfirmed</h4>
+<pre>public&nbsp;long&nbsp;getLastAddConfirmed()</pre>
+<div class="block">Get the last confirmed entry id on this ledger. It reads
+ the local state of the ledger handle, which is different
+ from the readLastConfirmed call. In the case the ledger
+ is not closed and the client is a reader, it is necessary
+ to call readLastConfirmed to obtain an estimate of the
+ last add operation that has been confirmed.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the last confirmed entry id or <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#INVALID_ENTRY_ID"><code>INVALID_ENTRY_ID</code></a> if no entry has been confirmed</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readLastConfirmed()"><code>readLastConfirmed()</code></a></dd></dl>
+</li>
+</ul>
+<a name="getLastAddPushed()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLastAddPushed</h4>
+<pre>public&nbsp;long&nbsp;getLastAddPushed()</pre>
+<div class="block">Get the entry id of the last entry that has been enqueued for addition (but
+ may not have possibly been persited to the ledger)</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the id of the last entry pushed or <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#INVALID_ENTRY_ID"><code>INVALID_ENTRY_ID</code></a> if no entry has been pushed</dd></dl>
+</li>
+</ul>
+<a name="getLedgerKey()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLedgerKey</h4>
+<pre>public&nbsp;byte[]&nbsp;getLedgerKey()</pre>
+<div class="block">Get the Ledger's key/password.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>byte array for the ledger's key/password.</dd></dl>
+</li>
+</ul>
+<a name="getLength()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLength</h4>
+<pre>public&nbsp;long&nbsp;getLength()</pre>
+<div class="block">Returns the length of the ledger in bytes.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the length of the ledger in bytes</dd></dl>
+</li>
+</ul>
+<a name="close()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>close</h4>
+<pre>public&nbsp;void&nbsp;close()
+           throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                  <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Close this ledger synchronously.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncClose(org.apache.bookkeeper.client.AsyncCallback.CloseCallback,%20java.lang.Object)"><code>asyncClose(org.apache.bookkeeper.client.AsyncCallback.CloseCallback, java.lang.Object)</code></a></dd></dl>
+</li>
+</ul>
+<a name="asyncClose(org.apache.bookkeeper.client.AsyncCallback.CloseCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncClose</h4>
+<pre>public&nbsp;void&nbsp;asyncClose(<a href="../../../../org/apache/bookkeeper/client/AsyncCallback.CloseCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.CloseCallback</a>&nbsp;cb,
+              <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Asynchronous close, any adds in flight will return errors.
+
+ Closing a ledger will ensure that all clients agree on what the last entry
+ of the ledger is. This ensures that, once the ledger has been closed, all
+ reads from the ledger will return the same set of entries.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cb</code> - callback implementation</dd><dd><code>ctx</code> - control object</dd></dl>
+</li>
+</ul>
+<a name="isClosed()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isClosed</h4>
+<pre>public&nbsp;boolean&nbsp;isClosed()</pre>
+<div class="block">Has the ledger been closed?</div>
+</li>
+</ul>
+<a name="readEntries(long, long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>readEntries</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a>&lt;<a href="../../../../org/apache/bookkeeper/client/LedgerEntry.html" title="class in org.apache.bookkeeper.client">LedgerEntry</a>&gt;&nbsp;readEntries(long&nbsp;firstEntry,
+                                   long&nbsp;lastEntry)
+                                     throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                                            <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Read a sequence of entries synchronously.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>firstEntry</code> - id of first entry of sequence (included)</dd><dd><code>lastEntry</code> - id of last entry of sequence (included)</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="asyncReadEntries(long, long, org.apache.bookkeeper.client.AsyncCallback.ReadCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncReadEntries</h4>
+<pre>public&nbsp;void&nbsp;asyncReadEntries(long&nbsp;firstEntry,
+                    long&nbsp;lastEntry,
+                    <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.ReadCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.ReadCallback</a>&nbsp;cb,
+                    <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Read a sequence of entries asynchronously.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>firstEntry</code> - id of first entry of sequence</dd><dd><code>lastEntry</code> - id of last entry of sequence</dd><dd><code>cb</code> - object implementing read callback interface</dd><dd><code>ctx</code> - control object</dd></dl>
+</li>
+</ul>
+<a name="addEntry(byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addEntry</h4>
+<pre>public&nbsp;long&nbsp;addEntry(byte[]&nbsp;data)
+              throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                     <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry synchronously to an open ledger.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - array of bytes to be written to the ledger</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the entryId of the new inserted entry</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="addEntry(long, byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addEntry</h4>
+<pre>public&nbsp;long&nbsp;addEntry(long&nbsp;entryId,
+            byte[]&nbsp;data)
+              throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                     <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry synchronously to an open ledger. This can be used only with
+ <a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client"><code>LedgerHandleAdv</code></a> returned through ledgers created with <a href="../../../../org/apache/bookkeeper/client/BookKeeper.html#createLedgerAdv(int,%20int,%20int,%20org.apache.bookkeeper.client.BookKeeper.DigestType,%20byte[])"><code>BookKeeper.createLedgerAdv(int, int, int, DigestType, byte[])</code></a>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId to be added</dd><dd><code>data</code> - array of bytes to be written to the ledger</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the entryId of the new inserted entry</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="addEntry(byte[], int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addEntry</h4>
+<pre>public&nbsp;long&nbsp;addEntry(byte[]&nbsp;data,
+            int&nbsp;offset,
+            int&nbsp;length)
+              throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                     <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry synchronously to an open ledger.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - array of bytes to be written to the ledger</dd><dd><code>offset</code> - offset from which to take bytes from data</dd><dd><code>length</code> - number of bytes to take from data</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the entryId of the new inserted entry</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="addEntry(long, byte[], int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addEntry</h4>
+<pre>public&nbsp;long&nbsp;addEntry(long&nbsp;entryId,
+            byte[]&nbsp;data,
+            int&nbsp;offset,
+            int&nbsp;length)
+              throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                     <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry synchronously to an open ledger. This can be used only with
+ <a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client"><code>LedgerHandleAdv</code></a> returned through ledgers created with <a href="../../../../org/apache/bookkeeper/client/BookKeeper.html#createLedgerAdv(int,%20int,%20int,%20org.apache.bookkeeper.client.BookKeeper.DigestType,%20byte[])"><code>BookKeeper.createLedgerAdv(int, int, int, DigestType, byte[])</code></a>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId to be added.</dd><dd><code>data</code> - array of bytes to be written to the ledger</dd><dd><code>offset</code> - offset from which to take bytes from data</dd><dd><code>length</code> - number of bytes to take from data</dd>
+<dt><span class="strong">Returns:</span></dt><dd>entryId</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="asyncAddEntry(byte[], org.apache.bookkeeper.client.AsyncCallback.AddCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncAddEntry</h4>
+<pre>public&nbsp;void&nbsp;asyncAddEntry(byte[]&nbsp;data,
+                 <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+                 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Add entry asynchronously to an open ledger.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - array of bytes to be written</dd><dd><code>cb</code> - object implementing callbackinterface</dd><dd><code>ctx</code> - some control object</dd></dl>
+</li>
+</ul>
+<a name="asyncAddEntry(long, byte[], org.apache.bookkeeper.client.AsyncCallback.AddCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncAddEntry</h4>
+<pre>public&nbsp;void&nbsp;asyncAddEntry(long&nbsp;entryId,
+                 byte[]&nbsp;data,
+                 <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+                 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)
+                   throws <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry asynchronously to an open ledger. This can be used only with
+ <a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client"><code>LedgerHandleAdv</code></a> returned through ledgers created with <a href="../../../../org/apache/bookkeeper/client/BookKeeper.html#createLedgerAdv(int,%20int,%20int,%20org.apache.bookkeeper.client.BookKeeper.DigestType,%20byte[])"><code>BookKeeper.createLedgerAdv(int, int, int, DigestType, byte[])</code></a>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId to be added</dd><dd><code>data</code> - array of bytes to be written</dd><dd><code>cb</code> - object implementing callbackinterface</dd><dd><code>ctx</code> - some control object</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="asyncAddEntry(byte[], int, int, org.apache.bookkeeper.client.AsyncCallback.AddCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncAddEntry</h4>
+<pre>public&nbsp;void&nbsp;asyncAddEntry(byte[]&nbsp;data,
+                 int&nbsp;offset,
+                 int&nbsp;length,
+                 <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+                 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Add entry asynchronously to an open ledger, using an offset and range.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - array of bytes to be written</dd><dd><code>offset</code> - offset from which to take bytes from data</dd><dd><code>length</code> - number of bytes to take from data</dd><dd><code>cb</code> - object implementing callbackinterface</dd><dd><code>ctx</code> - some control object</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">ArrayIndexOutOfBoundsException</a></code> - if offset or length is negative or
+          offset and length sum to a value higher than the length of data.</dd></dl>
+</li>
+</ul>
+<a name="asyncAddEntry(long, byte[], int, int, org.apache.bookkeeper.client.AsyncCallback.AddCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncAddEntry</h4>
+<pre>public&nbsp;void&nbsp;asyncAddEntry(long&nbsp;entryId,
+                 byte[]&nbsp;data,
+                 int&nbsp;offset,
+                 int&nbsp;length,
+                 <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+                 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)
+                   throws <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry asynchronously to an open ledger, using an offset and range.
+ This can be used only with <a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client"><code>LedgerHandleAdv</code></a> returned through
+ ledgers created with <a href="../../../../org/apache/bookkeeper/client/BookKeeper.html#createLedgerAdv(int,%20int,%20int,%20org.apache.bookkeeper.client.BookKeeper.DigestType,%20byte[])"><code>BookKeeper.createLedgerAdv(int, int, int, DigestType, byte[])</code></a>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId of the entry to add.</dd><dd><code>data</code> - array of bytes to be written</dd><dd><code>offset</code> - offset from which to take bytes from data</dd><dd><code>length</code> - number of bytes to take from data</dd><dd><code>cb</code> - object implementing callbackinterface</dd><dd><code>ctx</code> - some control object</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">ArrayIndexOutOfBoundsException</a></code> - if offset or length is negative or offset and length sum to a
+             value higher than the length of data.</dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="asyncReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncReadLastConfirmed</h4>
+<pre>public&nbsp;void&nbsp;asyncReadLastConfirmed(<a href="../../../../org/apache/bookkeeper/client/AsyncCallback.ReadLastConfirmedCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.ReadLastConfirmedCallback</a>&nbsp;cb,
+                          <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Obtains asynchronously the last confirmed write from a quorum of bookies. This
+ call obtains the the last add confirmed each bookie has received for this ledger
+ and returns the maximum. If the ledger has been closed, the value returned by this
+ call may not correspond to the id of the last entry of the ledger, since it reads
+ the hint of bookies. Consequently, in the case the ledger has been closed, it may
+ return a different value than getLastAddConfirmed, which returns the local value
+ of the ledger handle.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cb</code> - </dd><dd><code>ctx</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLastAddConfirmed()"><code>getLastAddConfirmed()</code></a></dd></dl>
+</li>
+</ul>
+<a name="asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncTryReadLastConfirmed</h4>
+<pre>public&nbsp;void&nbsp;asyncTryReadLastConfirmed(<a href="../../../../org/apache/bookkeeper/client/AsyncCallback.ReadLastConfirmedCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.ReadLastConfirmedCallback</a>&nbsp;cb,
+                             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Obtains asynchronously the last confirmed write from a quorum of bookies.
+ It is similar as
+ <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback,%20java.lang.Object)"><code>asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback, Object)</code></a>,
+ but it doesn't wait all the responses from the quorum. It would callback
+ immediately if it received a LAC which is larger than current LAC.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cb</code> - callback to return read last confirmed</dd><dd><code>ctx</code> - callback context</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback,%20java.lang.Object)"><code>asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback, Object)</code></a></dd></dl>
+</li>
+</ul>
+<a name="readLastConfirmed()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>readLastConfirmed</h4>
+<pre>public&nbsp;long&nbsp;readLastConfirmed()
+                       throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                              <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Obtains synchronously the last confirmed write from a quorum of bookies. This call
+ obtains the the last add confirmed each bookie has received for this ledger
+ and returns the maximum. If the ledger has been closed, the value returned by this
+ call may not correspond to the id of the last entry of the ledger, since it reads
+ the hint of bookies. Consequently, in the case the ledger has been closed, it may
+ return a different value than getLastAddConfirmed, which returns the local value
+ of the ledger handle.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The entry id of the last confirmed write or <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#INVALID_ENTRY_ID"><code>INVALID_ENTRY_ID</code></a>
+         if no entry has been confirmed</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLastAddConfirmed()"><code>getLastAddConfirmed()</code></a></dd></dl>
+</li>
+</ul>
+<a name="tryReadLastConfirmed()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>tryReadLastConfirmed</h4>
+<pre>public&nbsp;long&nbsp;tryReadLastConfirmed()
+                          throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                                 <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Obtains synchronously the last confirmed write from a quorum of bookies.
+ It is similar as <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readLastConfirmed()"><code>readLastConfirmed()</code></a>, but it doesn't wait all the responses
+ from the quorum. It would callback immediately if it received a LAC which is larger
+ than current LAC.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The entry id of the last confirmed write or <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#INVALID_ENTRY_ID"><code>INVALID_ENTRY_ID</code></a>
+         if no entry has been confirmed</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readLastConfirmed()"><code>readLastConfirmed()</code></a></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/LedgerHandle.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/bookkeeper/client/LedgerFragmentReplicator.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html" title="class in org.apache.bookkeeper.client"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/bookkeeper/client/LedgerHandle.html" target="_top">Frames</a></li>
+<li><a href="LedgerHandle.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2011-2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>

Added: bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandleAdv.html
URL: http://svn.apache.org/viewvc/bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandleAdv.html?rev=1743979&view=auto
==============================================================================
--- bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandleAdv.html (added)
+++ bookkeeper/site/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/LedgerHandleAdv.html Sun May 15 21:38:37 2016
@@ -0,0 +1,367 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 21:18:06 UTC 2016 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>LedgerHandleAdv (bookkeeper 4.4.0 API)</title>
+<meta name="date" content="2016-05-15">
+<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="LedgerHandleAdv (bookkeeper 4.4.0 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/LedgerHandleAdv.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/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerMetadata.html" title="class in org.apache.bookkeeper.client"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/bookkeeper/client/LedgerHandleAdv.html" target="_top">Frames</a></li>
+<li><a href="LedgerHandleAdv.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_org.apache.bookkeeper.client.LedgerHandle">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.bookkeeper.client</div>
+<h2 title="Class LedgerHandleAdv" class="title">Class LedgerHandleAdv</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">org.apache.bookkeeper.client.LedgerHandle</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.bookkeeper.client.LedgerHandleAdv</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">LedgerHandleAdv</span>
+extends <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></pre>
+<div class="block">Ledger Advanced handle extends <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client"><code>LedgerHandle</code></a> to provide API to add entries with
+ user supplied entryIds. Through this interface Ledger Length may not be accurate wile the
+ ledger being written.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_org.apache.bookkeeper.client.LedgerHandle">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;org.apache.bookkeeper.client.<a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></h3>
+<code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#INVALID_ENTRY_ID">INVALID_ENTRY_ID</a></code></li>
+</ul>
+</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">&nbsp;</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>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html#addEntry(long,%20byte[])">addEntry</a></strong>(long&nbsp;entryId,
+        byte[]&nbsp;data)</code>
+<div class="block">Add entry synchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html#addEntry(long,%20byte[],%20int,%20int)">addEntry</a></strong>(long&nbsp;entryId,
+        byte[]&nbsp;data,
+        int&nbsp;offset,
+        int&nbsp;length)</code>
+<div class="block">Add entry synchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html#asyncAddEntry(long,%20byte[],%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></strong>(long&nbsp;entryId,
+             byte[]&nbsp;data,
+             <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Add entry asynchronously to an open ledger.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/LedgerHandleAdv.html#asyncAddEntry(long,%20byte[],%20int,%20int,%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></strong>(long&nbsp;entryId,
+             byte[]&nbsp;data,
+             int&nbsp;offset,
+             int&nbsp;length,
+             <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Add entry asynchronously to an open ledger, using an offset and range.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_org.apache.bookkeeper.client.LedgerHandle">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.bookkeeper.client.<a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></h3>
+<code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(byte[])">addEntry</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(byte[],%20int,%20int)">addEntry</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(byte[],%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(byte[],%20int,%20int,%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncClose(org.apache.bookkeeper.client.AsyncCallback.CloseCallback,%20java.lang.Object)">asyncClose</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncReadEntries(long,%20long,%20org.apache.bookkeeper.client.AsyncCallback.ReadCallback,%20java.lang.Object)">asyncReadEntries</a>, <a href="../
 ../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback,%20java.lang.Object)">asyncReadLastConfirmed</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncTryReadLastConfirmed(org.apache.bookkeeper.client.AsyncCallback.ReadLastConfirmedCallback,%20java.lang.Object)">asyncTryReadLastConfirmed</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#close()">close</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getId()">getId</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLastAddConfirmed()">getLastAddConfirmed</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLastAddPushed()">getLastAddPushed</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLedgerKey()">getLedgerKey</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#getLength()
 ">getLength</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#isClosed()">isClosed</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readEntries(long,%20long)">readEntries</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#readLastConfirmed()">readLastConfirmed</a>, <a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#tryReadLastConfirmed()">tryReadLastConfirmed</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/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://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com
 /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/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">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="addEntry(long, byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addEntry</h4>
+<pre>public&nbsp;long&nbsp;addEntry(long&nbsp;entryId,
+            byte[]&nbsp;data)
+              throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                     <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry synchronously to an open ledger.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(long,%20byte[])">addEntry</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId of the entry to add</dd><dd><code>data</code> - array of bytes to be written to the ledger</dd>
+<dt><span class="strong">Returns:</span></dt><dd>entryId that is just created.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="addEntry(long, byte[], int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addEntry</h4>
+<pre>public&nbsp;long&nbsp;addEntry(long&nbsp;entryId,
+            byte[]&nbsp;data,
+            int&nbsp;offset,
+            int&nbsp;length)
+              throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
+                     <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry synchronously to an open ledger.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#addEntry(long,%20byte[],%20int,%20int)">addEntry</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId of the entry to add</dd><dd><code>data</code> - array of bytes to be written to the ledger</dd><dd><code>offset</code> - offset from which to take bytes from data</dd><dd><code>length</code> - number of bytes to take from data</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The entryId of newly inserted entry.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="asyncAddEntry(long, byte[], org.apache.bookkeeper.client.AsyncCallback.AddCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asyncAddEntry</h4>
+<pre>public&nbsp;void&nbsp;asyncAddEntry(long&nbsp;entryId,
+                 byte[]&nbsp;data,
+                 <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+                 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)
+                   throws <a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></pre>
+<div class="block">Add entry asynchronously to an open ledger.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(long,%20byte[],%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId of the entry to add</dd><dd><code>data</code> - array of bytes to be written</dd><dd><code>cb</code> - object implementing callbackinterface</dd><dd><code>ctx</code> - some control object</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.html" title="class in org.apache.bookkeeper.client">BKException</a></code></dd></dl>
+</li>
+</ul>
+<a name="asyncAddEntry(long, byte[], int, int, org.apache.bookkeeper.client.AsyncCallback.AddCallback, java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>asyncAddEntry</h4>
+<pre>public&nbsp;void&nbsp;asyncAddEntry(long&nbsp;entryId,
+                 byte[]&nbsp;data,
+                 int&nbsp;offset,
+                 int&nbsp;length,
+                 <a href="../../../../org/apache/bookkeeper/client/AsyncCallback.AddCallback.html" title="interface in org.apache.bookkeeper.client">AsyncCallback.AddCallback</a>&nbsp;cb,
+                 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
+<div class="block">Add entry asynchronously to an open ledger, using an offset and range.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html#asyncAddEntry(long,%20byte[],%20int,%20int,%20org.apache.bookkeeper.client.AsyncCallback.AddCallback,%20java.lang.Object)">asyncAddEntry</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client">LedgerHandle</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>entryId</code> - entryId of the entry to add</dd><dd><code>data</code> - array of bytes to be written</dd><dd><code>offset</code> - offset from which to take bytes from data</dd><dd><code>length</code> - number of bytes to take from data</dd><dd><code>cb</code> - object implementing callbackinterface</dd><dd><code>ctx</code> - some control object</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">ArrayIndexOutOfBoundsException</a></code> - if offset or length is negative or offset and length sum to a
+             value higher than the length of data.</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/LedgerHandleAdv.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/bookkeeper/client/LedgerHandle.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/LedgerMetadata.html" title="class in org.apache.bookkeeper.client"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/bookkeeper/client/LedgerHandleAdv.html" target="_top">Frames</a></li>
+<li><a href="LedgerHandleAdv.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_org.apache.bookkeeper.client.LedgerHandle">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2011-2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>



Mime
View raw message