bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r988319 [23/40] - in /websites/staging/bookkeeper/trunk/content: ./ docs/master/ docs/r4.0.0/ docs/r4.1.0/ docs/r4.2.0/ docs/r4.2.1/ docs/r4.2.2/ docs/r4.2.3/ docs/r4.2.4/ docs/r4.3.0/ docs/r4.3.1/ docs/r4.3.2/ docs/r4.4.0/ docs/r4.4.0/apid...
Date Sun, 15 May 2016 21:40:28 GMT
Added: websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html
==============================================================================
--- websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html (added)
+++ websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html Sun May 15 21:40:24 2016
@@ -0,0 +1,334 @@
+<!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>RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble (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="RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble (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/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.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/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.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/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html" target="_top">Frames</a></li>
+<li><a href="RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.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="#method_summary">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><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 RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble" class="title">Class RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble</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.RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>, <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a></dd>
+</dl>
+<dl>
+<dt>Enclosing class:</dt>
+<dd><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy</a></dd>
+</dl>
+<hr>
+<br>
+<pre>protected static class <span class="strong">RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble</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="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a>, <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a></pre>
+<div class="block">A predicate checking the rack coverage for write quorum in <code>RoundRobinDistributionSchedule</code>,
+ which ensures that a write quorum should be covered by at least two racks.</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="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html#RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble(int,%20int)">RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble</a></strong>(int&nbsp;ensembleSize,
+                                                       int&nbsp;writeQuorumSize)</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>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html#addBookie(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode)">addBookie</a></strong>(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;node)</code>
+<div class="block">Append the new bookie node to the ensemble.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html#apply(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">apply</a></strong>(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;candidate,
+     <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html#toList()">toList</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/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.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,%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="RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble(int, int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble</h4>
+<pre>protected&nbsp;RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble(int&nbsp;ensembleSize,
+                                                       int&nbsp;writeQuorumSize)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="apply(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>apply</h4>
+<pre>public&nbsp;boolean&nbsp;apply(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;candidate,
+            <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html#apply(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">apply</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="addBookie(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addBookie</h4>
+<pre>public&nbsp;void&nbsp;addBookie(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;node)</pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html#addBookie(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode)">RackawareEnsemblePlacementPolicy.Ensemble</a></code></strong></div>
+<div class="block">Append the new bookie node to the ensemble.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html#addBookie(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode)">addBookie</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - new candidate bookie node.</dd></dl>
+</li>
+</ul>
+<a name="toList()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>toList</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;toList()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html#toList()">toList</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>list of addresses representing the ensemble</dd></dl>
+</li>
+</ul>
+<a name="toString()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</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;toString()</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.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/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.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/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html" target="_top">Frames</a></li>
+<li><a href="RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.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="#method_summary">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><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: websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html
==============================================================================
--- websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html (added)
+++ websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html Sun May 15 21:40:24 2016
@@ -0,0 +1,311 @@
+<!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>RackawareEnsemblePlacementPolicy.TruePredicate (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="RackawareEnsemblePlacementPolicy.TruePredicate (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/RackawareEnsemblePlacementPolicy.TruePredicate.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/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/UpdateLedgerOp.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/RackawareEnsemblePlacementPolicy.TruePredicate.html" target="_top">Frames</a></li>
+<li><a href="RackawareEnsemblePlacementPolicy.TruePredicate.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.bookkeeper.client</div>
+<h2 title="Class RackawareEnsemblePlacementPolicy.TruePredicate" class="title">Class RackawareEnsemblePlacementPolicy.TruePredicate</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.RackawareEnsemblePlacementPolicy.TruePredicate</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a></dd>
+</dl>
+<dl>
+<dt>Enclosing class:</dt>
+<dd><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy</a></dd>
+</dl>
+<hr>
+<br>
+<pre>protected static class <span class="strong">RackawareEnsemblePlacementPolicy.TruePredicate</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="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a></pre>
+</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="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.TruePredicate</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html#instance">instance</a></strong></code>&nbsp;</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="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html#RackawareEnsemblePlacementPolicy.TruePredicate()">RackawareEnsemblePlacementPolicy.TruePredicate</a></strong>()</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>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html#apply(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">apply</a></strong>(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;candidate,
+     <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;chosenNodes)</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#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="instance">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>instance</h4>
+<pre>public static final&nbsp;<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.TruePredicate</a> instance</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RackawareEnsemblePlacementPolicy.TruePredicate()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RackawareEnsemblePlacementPolicy.TruePredicate</h4>
+<pre>protected&nbsp;RackawareEnsemblePlacementPolicy.TruePredicate()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="apply(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>apply</h4>
+<pre>public&nbsp;boolean&nbsp;apply(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;candidate,
+            <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;chosenNodes)</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html#apply(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">apply</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/RackawareEnsemblePlacementPolicy.TruePredicate.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/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/UpdateLedgerOp.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/RackawareEnsemblePlacementPolicy.TruePredicate.html" target="_top">Frames</a></li>
+<li><a href="RackawareEnsemblePlacementPolicy.TruePredicate.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><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_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: websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html
==============================================================================
--- websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html (added)
+++ websites/staging/bookkeeper/trunk/content/docs/r4.4.0/apidocs/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html Sun May 15 21:40:24 2016
@@ -0,0 +1,550 @@
+<!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>RackawareEnsemblePlacementPolicy (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="RackawareEnsemblePlacementPolicy (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/RackawareEnsemblePlacementPolicy.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/LedgerMetadata.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.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/RackawareEnsemblePlacementPolicy.html" target="_top">Frames</a></li>
+<li><a href="RackawareEnsemblePlacementPolicy.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><a href="#nested_class_summary">Nested</a>&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.bookkeeper.client</div>
+<h2 title="Class RackawareEnsemblePlacementPolicy" class="title">Class RackawareEnsemblePlacementPolicy</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.RackawareEnsemblePlacementPolicy</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">RackawareEnsemblePlacementPolicy</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="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></pre>
+<div class="block">Simple rackware ensemble placement policy.
+
+ Make most of the class and methods as protected, so it could be extended to implement other algorithms.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected static interface&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a></strong></code>
+<div class="block">Ensemble used to hold the result of an ensemble selected for placement.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.EnsembleForReplacement.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.EnsembleForReplacement</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected static interface&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a></strong></code>
+<div class="block">Predicate used when choosing an ensemble.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.RRRackCoverageEnsemble</a></strong></code>
+<div class="block">A predicate checking the rack coverage for write quorum in <code>RoundRobinDistributionSchedule</code>,
+ which ensures that a write quorum should be covered by at least two racks.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.TruePredicate.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.TruePredicate</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&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/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#REPP_DNS_RESOLVER_CLASS">REPP_DNS_RESOLVER_CLASS</a></strong></code>&nbsp;</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/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#RackawareEnsemblePlacementPolicy()">RackawareEnsemblePlacementPolicy</a></strong>()</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>protected <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/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#getRemoteRack(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode)">getRemoteRack</a></strong>(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;node)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#initialize(org.apache.commons.configuration.Configuration)">initialize</a></strong>(org.apache.commons.configuration.Configuration&nbsp;conf)</code>
+<div class="block">Initialize the policy.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#newEnsemble(int,%20int,%20java.util.Set)">newEnsemble</a></strong>(int&nbsp;ensembleSize,
+           int&nbsp;writeQuorumSize,
+           <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;excludeBookies)</code>
+<div class="block">Choose <i>numBookies</i> bookies for ensemble.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#onClusterChanged(java.util.Set,%20java.util.Set)">onClusterChanged</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;writableBookies,
+                <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;readOnlyBookies)</code>
+<div class="block">A consistent view of the cluster (what bookies are available as writable, what bookies are available as
+ readonly) is updated when any changes happen in the cluster.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>org.apache.bookkeeper.net.BookieSocketAddress</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress,%20java.util.Set)">replaceBookie</a></strong>(org.apache.bookkeeper.net.BookieSocketAddress&nbsp;bookieToReplace,
+             <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;excludeBookies)</code>
+<div class="block">Choose a new bookie to replace <i>bookieToReplace</i>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#selectFromRack(java.lang.String,%20java.util.Set,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Predicate,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">selectFromRack</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;networkLoc,
+              <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.Node&gt;&nbsp;excludeBookies,
+              <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a>&nbsp;predicate,
+              <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#selectRandom(int,%20java.util.Set,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">selectRandom</a></strong>(int&nbsp;numBookies,
+            <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.Node&gt;&nbsp;excludeBookies,
+            <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)</code>
+<div class="block">Choose a random node from whole cluster.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#selectRandomFromRack(java.lang.String,%20java.util.Set,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Predicate,%20org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">selectRandomFromRack</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;netPath,
+                    <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.Node&gt;&nbsp;excludeBookies,
+                    <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a>&nbsp;predicate,
+                    <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)</code>
+<div class="block">Choose random node under a given network path.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.html#uninitalize()">uninitalize</a></strong>()</code>
+<div class="block">Uninitialize the policy</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="REPP_DNS_RESOLVER_CLASS">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>REPP_DNS_RESOLVER_CLASS</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> REPP_DNS_RESOLVER_CLASS</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.REPP_DNS_RESOLVER_CLASS">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="RackawareEnsemblePlacementPolicy()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RackawareEnsemblePlacementPolicy</h4>
+<pre>public&nbsp;RackawareEnsemblePlacementPolicy()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="initialize(org.apache.commons.configuration.Configuration)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initialize</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a>&nbsp;initialize(org.apache.commons.configuration.Configuration&nbsp;conf)</pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#initialize(org.apache.commons.configuration.Configuration)">EnsemblePlacementPolicy</a></code></strong></div>
+<div class="block">Initialize the policy.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#initialize(org.apache.commons.configuration.Configuration)">initialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - client configuration.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>initialized ensemble placement policy</dd></dl>
+</li>
+</ul>
+<a name="uninitalize()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>uninitalize</h4>
+<pre>public&nbsp;void&nbsp;uninitalize()</pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#uninitalize()">EnsemblePlacementPolicy</a></code></strong></div>
+<div class="block">Uninitialize the policy</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#uninitalize()">uninitalize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="onClusterChanged(java.util.Set, java.util.Set)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>onClusterChanged</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;onClusterChanged(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;writableBookies,
+                                                                  <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;readOnlyBookies)</pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#onClusterChanged(java.util.Set,%20java.util.Set)">EnsemblePlacementPolicy</a></code></strong></div>
+<div class="block">A consistent view of the cluster (what bookies are available as writable, what bookies are available as
+ readonly) is updated when any changes happen in the cluster.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#onClusterChanged(java.util.Set,%20java.util.Set)">onClusterChanged</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>writableBookies</code> - All the bookies in the cluster available for write/read.</dd><dd><code>readOnlyBookies</code> - All the bookies in the cluster available for readonly.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the dead bookies during this cluster change.</dd></dl>
+</li>
+</ul>
+<a name="newEnsemble(int, int, java.util.Set)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newEnsemble</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;newEnsemble(int&nbsp;ensembleSize,
+                                                                   int&nbsp;writeQuorumSize,
+                                                                   <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;excludeBookies)
+                                                                     throws <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#newEnsemble(int,%20int,%20java.util.Set)">EnsemblePlacementPolicy</a></code></strong></div>
+<div class="block">Choose <i>numBookies</i> bookies for ensemble. If the count is more than the number of available
+ nodes, <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client"><code>BKException.BKNotEnoughBookiesException</code></a> is thrown.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#newEnsemble(int,%20int,%20java.util.Set)">newEnsemble</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>ensembleSize</code> - Ensemble Size</dd><dd><code>writeQuorumSize</code> - Write Quorum Size</dd><dd><code>excludeBookies</code> - Bookies that should not be considered as targets.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>list of bookies chosen as targets.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></code> - if not enough bookies available.</dd></dl>
+</li>
+</ul>
+<a name="replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress, java.util.Set)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>replaceBookie</h4>
+<pre>public&nbsp;org.apache.bookkeeper.net.BookieSocketAddress&nbsp;replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress&nbsp;bookieToReplace,
+                                                          <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.BookieSocketAddress&gt;&nbsp;excludeBookies)
+                                                            throws <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress,%20java.util.Set)">EnsemblePlacementPolicy</a></code></strong></div>
+<div class="block">Choose a new bookie to replace <i>bookieToReplace</i>. If no bookie available in the cluster,
+ <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client"><code>BKException.BKNotEnoughBookiesException</code></a> is thrown.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html#replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress,%20java.util.Set)">replaceBookie</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/bookkeeper/client/EnsemblePlacementPolicy.html" title="interface in org.apache.bookkeeper.client">EnsemblePlacementPolicy</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>bookieToReplace</code> - bookie to replace</dd><dd><code>excludeBookies</code> - bookies that should not be considered as candidate.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bookie chosen as target.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></code></dd></dl>
+</li>
+</ul>
+<a name="selectFromRack(java.lang.String, java.util.Set, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Predicate, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>selectFromRack</h4>
+<pre>protected&nbsp;<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;selectFromRack(<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;networkLoc,
+                                                         <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.Node&gt;&nbsp;excludeBookies,
+                                                         <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a>&nbsp;predicate,
+                                                         <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)
+                                                              throws <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></code></dd></dl>
+</li>
+</ul>
+<a name="getRemoteRack(org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.BookieNode)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRemoteRack</h4>
+<pre>protected&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;getRemoteRack(<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;node)</pre>
+</li>
+</ul>
+<a name="selectRandomFromRack(java.lang.String, java.util.Set, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Predicate, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>selectRandomFromRack</h4>
+<pre>protected&nbsp;<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&nbsp;selectRandomFromRack(<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;netPath,
+                                                               <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.Node&gt;&nbsp;excludeBookies,
+                                                               <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Predicate.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Predicate</a>&nbsp;predicate,
+                                                               <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)
+                                                                    throws <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></pre>
+<div class="block">Choose random node under a given network path.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>netPath</code> - network path</dd><dd><code>excludeBookies</code> - exclude bookies</dd><dd><code>predicate</code> - predicate to check whether the target is a good target.</dd><dd><code>ensemble</code> - ensemble structure</dd>
+<dt><span class="strong">Returns:</span></dt><dd>chosen bookie.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></code></dd></dl>
+</li>
+</ul>
+<a name="selectRandom(int, java.util.Set, org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.Ensemble)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>selectRandom</h4>
+<pre>protected&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.html" title="class in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.BookieNode</a>&gt;&nbsp;selectRandom(int&nbsp;numBookies,
+                                                             <a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.bookkeeper.net.Node&gt;&nbsp;excludeBookies,
+                                                             <a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.Ensemble.html" title="interface in org.apache.bookkeeper.client">RackawareEnsemblePlacementPolicy.Ensemble</a>&nbsp;ensemble)
+                                                                  throws <a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></pre>
+<div class="block">Choose a random node from whole cluster.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>numBookies</code> - number bookies to choose</dd><dd><code>excludeBookies</code> - bookies set to exclude.</dd><dd><code>ensemble</code> - ensemble to hold the bookie chosen.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bookie node chosen.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/bookkeeper/client/BKException.BKNotEnoughBookiesException.html" title="class in org.apache.bookkeeper.client">BKException.BKNotEnoughBookiesException</a></code></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/RackawareEnsemblePlacementPolicy.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/LedgerMetadata.html" title="class in org.apache.bookkeeper.client"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.BookieNode.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/RackawareEnsemblePlacementPolicy.html" target="_top">Frames</a></li>
+<li><a href="RackawareEnsemblePlacementPolicy.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><a href="#nested_class_summary">Nested</a>&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_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