directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r874484 [4/45] - in /websites/production/directory/content/mavibot/gen-docs: ./ 1.0.0-M1/ 1.0.0-M1/apidocs/ 1.0.0-M1/apidocs/org/ 1.0.0-M1/apidocs/org/apache/ 1.0.0-M1/apidocs/org/apache/directory/ 1.0.0-M1/apidocs/org/apache/directory/mavi...
Date Tue, 13 Aug 2013 15:42:17 GMT
Added: websites/production/directory/content/mavibot/gen-docs/1.0.0-M1/apidocs/org/apache/directory/mavibot/btree/BTree.html
==============================================================================
--- websites/production/directory/content/mavibot/gen-docs/1.0.0-M1/apidocs/org/apache/directory/mavibot/btree/BTree.html (added)
+++ websites/production/directory/content/mavibot/gen-docs/1.0.0-M1/apidocs/org/apache/directory/mavibot/btree/BTree.html Tue Aug 13 15:42:13 2013
@@ -0,0 +1,1407 @@
+<!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_25) on Tue Aug 13 17:12:20 CEST 2013 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>BTree (ApacheDS MVCC BTree implementation 1.0.0-M1 API)</title>
+<meta name="date" content="2013-08-13">
+<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="BTree (ApacheDS MVCC BTree implementation 1.0.0-M1 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/BTree.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/directory/mavibot/btree/Addition.html" title="class in org.apache.directory.mavibot.btree"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/directory/mavibot/btree/BTreeBuilder.html" title="class in org.apache.directory.mavibot.btree"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/directory/mavibot/btree/BTree.html" target="_top">Frames</a></li>
+<li><a href="BTree.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><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.directory.mavibot.btree</div>
+<h2 title="Class BTree" class="title">Class BTree&lt;K,V&gt;</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.directory.mavibot.btree.BTree&lt;K,V&gt;</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>K</code> - The type for the keys</dd><dd><code>V</code> - The type for the stored values</dd></dl>
+<hr>
+<br>
+<pre>public class <span class="strong">BTree&lt;K,V&gt;</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">The B+Tree MVCC data structure.</div>
+<dl><dt><span class="strong">Author:</span></dt>
+  <dd><a href="mailto:labs@labs.apache.org">Mavibot labs Project</a></dd></dl>
+</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 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#DATA_SUFFIX">DATA_SUFFIX</a></strong></code>
+<div class="block">The default data file suffix</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#DEFAULT_JOURNAL">DEFAULT_JOURNAL</a></strong></code>
+<div class="block">The default journal name</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#DEFAULT_PAGE_SIZE">DEFAULT_PAGE_SIZE</a></strong></code>
+<div class="block">Default page size (number of entries per node)</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#DEFAULT_READ_TIMEOUT">DEFAULT_READ_TIMEOUT</a></strong></code>
+<div class="block">Define a default delay for a read transaction.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#DEFAULT_WRITE_BUFFER_SIZE">DEFAULT_WRITE_BUFFER_SIZE</a></strong></code>
+<div class="block">Default size of the buffer used to write data on disk.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#JOURNAL_SUFFIX">JOURNAL_SUFFIX</a></strong></code>
+<div class="block">The default journal file suffix</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#keyType">keyType</a></strong></code>
+<div class="block">The type to use to create the keys</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected static org.slf4j.Logger</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#LOG">LOG</a></strong></code>
+<div class="block">The LoggerFactory used by this class</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected org.apache.directory.mavibot.btree.Page&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#rootPage">rootPage</a></strong></code>
+<div class="block">The current rootPage</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&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/directory/mavibot/btree/BTree.html#BTree()">BTree</a></strong>()</code>
+<div class="block">Creates a new BTree, with no initialization.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(org.apache.directory.mavibot.btree.BTreeConfiguration)">BTree</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTreeConfiguration.html" title="class in org.apache.directory.mavibot.btree">BTreeConfiguration</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;configuration)</code>
+<div class="block">Creates a new in-memory BTree using the BTreeConfiguration to initialize the 
+ BTree</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer)">BTree</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer)</code>
+<div class="block">Creates a new in-memory BTree with a default page size and key/value serializers.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, boolean)">BTree</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     boolean&nbsp;allowDuplicates)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, int)">BTree</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     int&nbsp;pageSize)</code>
+<div class="block">Creates a new in-memory BTree with a default page size and key/value serializers.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(java.lang.String, java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer)">BTree</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer)</code>
+<div class="block">Creates a new BTree with a default page size and a comparator, with an associated file.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(java.lang.String, java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, int)">BTree</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataDir,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     int&nbsp;pageSize)</code>
+<div class="block">Creates a new instance of BTree with the given name and store it under the given dataDir if provided.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#BTree(java.lang.String, java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, int, boolean)">BTree</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataDir,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     int&nbsp;pageSize,
+     boolean&nbsp;allowDuplicates)</code>&nbsp;</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><a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#browse()">browse</a></strong>()</code>
+<div class="block">Creates a cursor starting at the beginning of the tree</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#browse(long)">browse</a></strong>(long&nbsp;revision)</code>
+<div class="block">Creates a cursor starting at the beginning of the tree, for a given revision</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#browseFrom(K)">browseFrom</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Creates a cursor starting on the given key</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#browseFrom(long, K)">browseFrom</a></strong>(long&nbsp;revision,
+          <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Creates a cursor starting on the given key at the given revision</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#close()">close</a></strong>()</code>
+<div class="block">Close the BTree, cleaning up all the data structure</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#contains(K, V)">contains</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+        <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)</code>
+<div class="block">Checks if the BTree contains the given key with the given value.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#contains(long, K, V)">contains</a></strong>(long&nbsp;revision,
+        <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+        <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)</code>
+<div class="block">Checks if the BTree contains the given key with the given value for a given revision</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/Tuple.html" title="class in org.apache.directory.mavibot.btree">Tuple</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#delete(K)">delete</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Delete the entry which key is given as a parameter.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/Tuple.html" title="class in org.apache.directory.mavibot.btree">Tuple</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#delete(K, V)">delete</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+      <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)</code>
+<div class="block">Delete the value from an entry associated with the given key.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#flush()">flush</a></strong>()</code>
+<div class="block">Flush the latest revision to disk.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#flush(java.io.File)">flush</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)</code>
+<div class="block">Flush the latest revision to disk</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#get(K)">get</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Find a value in the tree, given its key.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#get(long, K)">get</a></strong>(long&nbsp;revision,
+   <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Find a value in the tree, given its key, at a specific revision.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getComparator()">getComparator</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getFile()">getFile</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getJournal()">getJournal</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getKeySerializer()">getKeySerializer</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getKeySerializerFQCN()">getKeySerializerFQCN</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getName()">getName</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getNbElems()">getNbElems</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getPageSize()">getPageSize</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getReadTimeOut()">getReadTimeOut</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getRevision()">getRevision</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="class in org.apache.directory.mavibot.btree">BTree</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getValues(K)">getValues</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getValueSerializer()">getValueSerializer</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getValueSerializerFQCN()">getValueSerializerFQCN</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#getWriteBufferSize()">getWriteBufferSize</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#hasKey(K)">hasKey</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Checks if the given key exists.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#hasKey(long, K)">hasKey</a></strong>(long&nbsp;revision,
+      <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)</code>
+<div class="block">Checks if the given key exists for a given revision.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#init()">init</a></strong>()</code>
+<div class="block">Initialize the BTree.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#insert(K, V)">insert</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+      <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)</code>
+<div class="block">Insert an entry in the BTree.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#isAllowDuplicates()">isAllowDuplicates</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#isInMemory()">isInMemory</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#isManaged()">isManaged</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#isPersistent()">isPersistent</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#load(java.io.File)">load</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)</code>
+<div class="block">Read the data from the disk into this BTree.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setComparator(java.util.Comparator)">setComparator</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;comparator)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setKeySerializer(org.apache.directory.mavibot.btree.serializer.ElementSerializer)">setKeySerializer</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setName(java.lang.String)">setName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setPageSize(int)">setPageSize</a></strong>(int&nbsp;pageSize)</code>
+<div class="block">Set the maximum number of elements we can store in a page.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setReadTimeOut(long)">setReadTimeOut</a></strong>(long&nbsp;readTimeOut)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setValueSerializer(org.apache.directory.mavibot.btree.serializer.ElementSerializer)">setValueSerializer</a></strong>(<a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#setWriteBufferSize(int)">setWriteBufferSize</a></strong>(int&nbsp;writeBufferSize)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/directory/mavibot/btree/BTree.html#toString()">toString</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://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#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, int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="LOG">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>LOG</h4>
+<pre>protected static final&nbsp;org.slf4j.Logger LOG</pre>
+<div class="block">The LoggerFactory used by this class</div>
+</li>
+</ul>
+<a name="DEFAULT_PAGE_SIZE">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DEFAULT_PAGE_SIZE</h4>
+<pre>public static final&nbsp;int DEFAULT_PAGE_SIZE</pre>
+<div class="block">Default page size (number of entries per node)</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.directory.mavibot.btree.BTree.DEFAULT_PAGE_SIZE">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="DEFAULT_WRITE_BUFFER_SIZE">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DEFAULT_WRITE_BUFFER_SIZE</h4>
+<pre>public static final&nbsp;int DEFAULT_WRITE_BUFFER_SIZE</pre>
+<div class="block">Default size of the buffer used to write data on disk. Around 1Mb</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.directory.mavibot.btree.BTree.DEFAULT_WRITE_BUFFER_SIZE">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="DEFAULT_JOURNAL">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DEFAULT_JOURNAL</h4>
+<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_JOURNAL</pre>
+<div class="block">The default journal name</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.directory.mavibot.btree.BTree.DEFAULT_JOURNAL">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="DATA_SUFFIX">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DATA_SUFFIX</h4>
+<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DATA_SUFFIX</pre>
+<div class="block">The default data file suffix</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.directory.mavibot.btree.BTree.DATA_SUFFIX">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="JOURNAL_SUFFIX">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>JOURNAL_SUFFIX</h4>
+<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JOURNAL_SUFFIX</pre>
+<div class="block">The default journal file suffix</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.directory.mavibot.btree.BTree.JOURNAL_SUFFIX">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="rootPage">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>rootPage</h4>
+<pre>protected volatile&nbsp;org.apache.directory.mavibot.btree.Page&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt; rootPage</pre>
+<div class="block">The current rootPage</div>
+</li>
+</ul>
+<a name="keyType">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>keyType</h4>
+<pre>protected&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt; keyType</pre>
+<div class="block">The type to use to create the keys</div>
+</li>
+</ul>
+<a name="DEFAULT_READ_TIMEOUT">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>DEFAULT_READ_TIMEOUT</h4>
+<pre>public static final&nbsp;long DEFAULT_READ_TIMEOUT</pre>
+<div class="block">Define a default delay for a read transaction. This is 10 seconds</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.directory.mavibot.btree.BTree.DEFAULT_READ_TIMEOUT">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="BTree()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree()</pre>
+<div class="block">Creates a new BTree, with no initialization.</div>
+</li>
+</ul>
+<a name="BTree(org.apache.directory.mavibot.btree.BTreeConfiguration)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="../../../../../org/apache/directory/mavibot/btree/BTreeConfiguration.html" title="class in org.apache.directory.mavibot.btree">BTreeConfiguration</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;configuration)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a new in-memory BTree using the BTreeConfiguration to initialize the 
+ BTree</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - The comparator to use</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="BTree(java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a new in-memory BTree with a default page size and key/value serializers.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - The comparator to use</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="BTree(java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     boolean&nbsp;allowDuplicates)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="BTree(java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     int&nbsp;pageSize)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a new in-memory BTree with a default page size and key/value serializers.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - The comparator to use</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="BTree(java.lang.String, java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a new BTree with a default page size and a comparator, with an associated file.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - The comparator to use</dd><dd><code>serializer</code> - The serializer to use</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="BTree(java.lang.String, java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataDir,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     int&nbsp;pageSize)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a new instance of BTree with the given name and store it under the given dataDir if provided.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the BTree</dd><dd><code>dataDir</code> - the name of the data directory with absolute path</dd><dd><code>keySerializer</code> - key serializer</dd><dd><code>valueSerializer</code> - value serializer</dd><dd><code>pageSize</code> - size of the page</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="BTree(java.lang.String, java.lang.String, org.apache.directory.mavibot.btree.serializer.ElementSerializer, org.apache.directory.mavibot.btree.serializer.ElementSerializer, int, boolean)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>BTree</h4>
+<pre>public&nbsp;BTree(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataDir,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer,
+     <a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer,
+     int&nbsp;pageSize,
+     boolean&nbsp;allowDuplicates)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></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="init()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>init</h4>
+<pre>public&nbsp;void&nbsp;init()
+          throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Initialize the BTree.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If we get some exception while initializing the BTree</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/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Close the BTree, cleaning up all the data structure</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="setPageSize(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setPageSize</h4>
+<pre>public&nbsp;void&nbsp;setPageSize(int&nbsp;pageSize)</pre>
+<div class="block">Set the maximum number of elements we can store in a page. This must be a
+ number greater than 1, and a power of 2. The default page size is 16.
+ <br/>
+ If the provided size is below 2, we will default to DEFAULT_PAGE_SIZE.<br/>
+ If the provided size is not a power of 2, we will select the closest power of 2
+ higher than the given number<br/></div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pageSize</code> - The requested page size</dd></dl>
+</li>
+</ul>
+<a name="getPageSize()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPageSize</h4>
+<pre>public&nbsp;int&nbsp;getPageSize()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the pageSize</dd></dl>
+</li>
+</ul>
+<a name="insert(java.lang.Object,java.lang.Object)">
+<!--   -->
+</a><a name="insert(K, V)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>insert</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;insert(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+       <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)
+         throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Insert an entry in the BTree.
+ <p>
+ We will replace the value if the provided key already exists in the
+ btree.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Inserted key</dd><dd><code>value</code> - Inserted value</dd>
+<dt><span class="strong">Returns:</span></dt><dd>Existing value, if any.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - TODO</dd></dl>
+</li>
+</ul>
+<a name="delete(java.lang.Object)">
+<!--   -->
+</a><a name="delete(K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>delete</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/Tuple.html" title="class in org.apache.directory.mavibot.btree">Tuple</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;delete(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+                  throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Delete the entry which key is given as a parameter. If the entry exists, it will
+ be removed from the tree, the old tuple will be returned. Otherwise, null is returned.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key for the entry we try to remove</dd>
+<dt><span class="strong">Returns:</span></dt><dd>A Tuple<K, V> containing the removed entry, or null if it's not found.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="delete(java.lang.Object,java.lang.Object)">
+<!--   -->
+</a><a name="delete(K, V)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>delete</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/Tuple.html" title="class in org.apache.directory.mavibot.btree">Tuple</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;delete(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+                <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)
+                  throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Delete the value from an entry associated with the given key. If the value
+ If the value is present, it will be deleted first, later if there are no other 
+ values associated with this key(which can happen when duplicates are enabled), 
+ we will remove the key from the tree.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key for the entry we try to remove</dd><dd><code>value</code> - The value to delete (can be null)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>A Tuple<K, V> containing the removed entry, or null if it's not found.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="get(java.lang.Object)">
+<!--   -->
+</a><a name="get(K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;get(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+             <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<div class="block">Find a value in the tree, given its key. If the key is not found,
+ it will throw a KeyNotFoundException. <br/>
+ Note that we can get a null value stored, or many values.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key we are looking at</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The found value, or null if the key is not present in the tree</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code> - If the key is not found in the BTree</dd>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - TODO</dd></dl>
+</li>
+</ul>
+<a name="getValues(java.lang.Object)">
+<!--   -->
+</a><a name="getValues(K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getValues</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="class in org.apache.directory.mavibot.btree">BTree</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;getValues(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+                     throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+                            <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><code>Page.getValues(Object)</code></dd></dl>
+</li>
+</ul>
+<a name="get(long,java.lang.Object)">
+<!--   -->
+</a><a name="get(long, K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;get(long&nbsp;revision,
+    <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+      throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+             <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<div class="block">Find a value in the tree, given its key, at a specific revision. If the key is not found,
+ it will throw a KeyNotFoundException. <br/>
+ Note that we can get a null value stored, or many values.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>revision</code> - The revision for which we want to find a key</dd><dd><code>key</code> - The key we are looking at</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The found value, or null if the key is not present in the tree</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code> - If the key is not found in the BTree</dd>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If there was an issue while fetching data from the disk</dd></dl>
+</li>
+</ul>
+<a name="hasKey(java.lang.Object)">
+<!--   -->
+</a><a name="hasKey(K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hasKey</h4>
+<pre>public&nbsp;boolean&nbsp;hasKey(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+               throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Checks if the given key exists.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key we are looking at</dd>
+<dt><span class="strong">Returns:</span></dt><dd>true if the key is present, false otherwise</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If we have an error while trying to access the page</dd></dl>
+</li>
+</ul>
+<a name="hasKey(long,java.lang.Object)">
+<!--   -->
+</a><a name="hasKey(long, K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hasKey</h4>
+<pre>public&nbsp;boolean&nbsp;hasKey(long&nbsp;revision,
+             <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+               throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+                      <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<div class="block">Checks if the given key exists for a given revision.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>revision</code> - The revision for which we want to find a key</dd><dd><code>key</code> - The key we are looking at</dd>
+<dt><span class="strong">Returns:</span></dt><dd>true if the key is present, false otherwise</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If we have an error while trying to access the page</dd>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code> - If the key is not found in the BTree</dd></dl>
+</li>
+</ul>
+<a name="contains(java.lang.Object,java.lang.Object)">
+<!--   -->
+</a><a name="contains(K, V)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>contains</h4>
+<pre>public&nbsp;boolean&nbsp;contains(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+               <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)
+                 throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Checks if the BTree contains the given key with the given value.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key we are looking for</dd><dd><code>value</code> - The value associated with the given key</dd>
+<dt><span class="strong">Returns:</span></dt><dd>true if the key and value are associated with each other, false otherwise</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="contains(long,java.lang.Object,java.lang.Object)">
+<!--   -->
+</a><a name="contains(long, K, V)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>contains</h4>
+<pre>public&nbsp;boolean&nbsp;contains(long&nbsp;revision,
+               <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key,
+               <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&nbsp;value)
+                 throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+                        <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<div class="block">Checks if the BTree contains the given key with the given value for a given revision</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>revision</code> - The revision we would like to browse</dd><dd><code>key</code> - The key we are looking for</dd><dd><code>value</code> - The value associated with the given key</dd>
+<dt><span class="strong">Returns:</span></dt><dd>true if the key and value are associated with each other, false otherwise</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code> - If the key is not found in the BTree</dd>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="browse()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>browse</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;browse()
+                   throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a cursor starting at the beginning of the tree</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>A cursor on the btree</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="browse(long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>browse</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;browse(long&nbsp;revision)
+                   throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+                          <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<div class="block">Creates a cursor starting at the beginning of the tree, for a given revision</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>revision</code> - The revision we would like to browse</dd>
+<dt><span class="strong">Returns:</span></dt><dd>A cursor on the btree</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If we had an issue while fetching data from the disk</dd>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code> - If the key is not found in the BTree</dd></dl>
+</li>
+</ul>
+<a name="browseFrom(java.lang.Object)">
+<!--   -->
+</a><a name="browseFrom(K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>browseFrom</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;browseFrom(<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+                       throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Creates a cursor starting on the given key</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key which is the starting point. If the key is not found,
+ then the cursor will always return null.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>A cursor on the btree</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="browseFrom(long,java.lang.Object)">
+<!--   -->
+</a><a name="browseFrom(long, K)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>browseFrom</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/directory/mavibot/btree/Cursor.html" title="class in org.apache.directory.mavibot.btree">Cursor</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>,<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;browseFrom(long&nbsp;revision,
+                     <a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&nbsp;key)
+                       throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+                              <a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></pre>
+<div class="block">Creates a cursor starting on the given key at the given revision</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>The</code> - revision we are looking for</dd><dd><code>key</code> - The key which is the starting point. If the key is not found,
+ then the cursor will always return null.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>A cursor on the btree</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If wxe had an issue reading the BTree from disk</dd>
+<dd><code><a href="../../../../../org/apache/directory/mavibot/btree/exception/KeyNotFoundException.html" title="class in org.apache.directory.mavibot.btree.exception">KeyNotFoundException</a></code> - If we can't find a rootPage for this revision</dd></dl>
+</li>
+</ul>
+<a name="getComparator()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getComparator</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;getComparator()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the comparator</dd></dl>
+</li>
+</ul>
+<a name="setComparator(java.util.Comparator)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setComparator</h4>
+<pre>public&nbsp;void&nbsp;setComparator(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;comparator)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - the comparator to set</dd></dl>
+</li>
+</ul>
+<a name="setKeySerializer(org.apache.directory.mavibot.btree.serializer.ElementSerializer)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setKeySerializer</h4>
+<pre>public&nbsp;void&nbsp;setKeySerializer(<a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">K</a>&gt;&nbsp;keySerializer)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerializer</code> - the Key serializer to set</dd></dl>
+</li>
+</ul>
+<a name="setValueSerializer(org.apache.directory.mavibot.btree.serializer.ElementSerializer)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setValueSerializer</h4>
+<pre>public&nbsp;void&nbsp;setValueSerializer(<a href="../../../../../org/apache/directory/mavibot/btree/serializer/ElementSerializer.html" title="interface in org.apache.directory.mavibot.btree.serializer">ElementSerializer</a>&lt;<a href="../../../../../org/apache/directory/mavibot/btree/BTree.html" title="type parameter in BTree">V</a>&gt;&nbsp;valueSerializer)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueSerializer</code> - the Value serializer to set</dd></dl>
+</li>
+</ul>
+<a name="flush(java.io.File)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>flush</h4>
+<pre>public&nbsp;void&nbsp;flush(<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)
+           throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Flush the latest revision to disk</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - The file into which the data will be written</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="load(java.io.File)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>load</h4>
+<pre>public&nbsp;void&nbsp;load(<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)
+          throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Read the data from the disk into this BTree. All the existing data in the 
+ BTree are kept, the read data will be associated with a new revision.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - </dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="flush()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>flush</h4>
+<pre>public&nbsp;void&nbsp;flush()
+           throws <a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Flush the latest revision to disk. We will replace the current file by the new one, as
+ we flush in a temporary file.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+<a name="getReadTimeOut()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getReadTimeOut</h4>
+<pre>public&nbsp;long&nbsp;getReadTimeOut()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the readTimeOut</dd></dl>
+</li>
+</ul>
+<a name="setReadTimeOut(long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setReadTimeOut</h4>
+<pre>public&nbsp;void&nbsp;setReadTimeOut(long&nbsp;readTimeOut)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>readTimeOut</code> - the readTimeOut to set</dd></dl>
+</li>
+</ul>
+<a name="getName()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getName</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the name</dd></dl>
+</li>
+</ul>
+<a name="setName(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setName</h4>
+<pre>public&nbsp;void&nbsp;setName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name to set</dd></dl>
+</li>
+</ul>
+<a name="getFile()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFile</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;getFile()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the file</dd></dl>
+</li>
+</ul>
+<a name="getJournal()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getJournal</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;getJournal()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the journal</dd></dl>
+</li>
+</ul>
+<a name="getWriteBufferSize()">

[... 203 lines stripped ...]


Mime
View raw message