http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html
----------------------------------------------------------------------
diff --git 
a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html
 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html
new file mode 100644
index 0000000..5298e55
--- /dev/null
+++ 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html
@@ -0,0 +1,310 @@
+<!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 (1.8.0_92) on Sun Jan 08 19:29:06 PST 2017 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RegionsRoutingService.Builder (Apache DistributedLog for Java, version 
0.4.0-incubating)</title>
+<meta name="date" content="2017-01-08">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RegionsRoutingService.Builder (Apache 
DistributedLog for Java, version 0.4.0-incubating)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RegionsRoutingService.Builder.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/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 target="_top">Frames</a></li>
+<li><a href="RegionsRoutingService.Builder.html" 
target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.distributedlog.client.routing</div>
+<h2 title="Class RegionsRoutingService.Builder" class="title">Class 
RegionsRoutingService.Builder</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.distributedlog.client.routing.RegionsRoutingService.Builder</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a></dd>
+</dl>
+<dl>
+<dt>Enclosing class:</dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public static class <span 
class="typeNameLabel">RegionsRoutingService.Builder</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/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a></pre>
+<div class="block">Builder to build a multiple-regions routing service.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html#build--">build</a></span>()</code>
+<div class="block">Build the routing service.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html#resolver-org.apache.distributedlog.client.resolver.RegionResolver-">resolver</a></span>(<a
 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a>&nbsp;regionResolver)</code>&nbsp;</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html#routingServiceBuilders-org.apache.distributedlog.client.routing.RoutingService.Builder...-">routingServiceBuilders</a></span>(<a
 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a>...&nbsp;builders)</code>&nbsp;</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html#statsReceiver-com.twitter.finagle.stats.StatsReceiver-">statsReceiver</a></span>(com.twitter.finagle.stats.StatsReceiver&nbsp;statsReceiver)</code>
+<div class="block">Build routing service with stats receiver.</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-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">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a 
name="routingServiceBuilders-org.apache.distributedlog.client.routing.RoutingService.Builder...-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>routingServiceBuilders</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a>&nbsp;routingServiceBuilders(<a
 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a>...&nbsp;builders)</pre>
+</li>
+</ul>
+<a name="resolver-org.apache.distributedlog.client.resolver.RegionResolver-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>resolver</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a>&nbsp;resolver(<a
 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a>&nbsp;regionResolver)</pre>
+</li>
+</ul>
+<a name="statsReceiver-com.twitter.finagle.stats.StatsReceiver-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>statsReceiver</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a>&nbsp;statsReceiver(com.twitter.finagle.stats.StatsReceiver&nbsp;statsReceiver)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html#statsReceiver-com.twitter.finagle.stats.StatsReceiver-">RoutingService.Builder</a></code></span></div>
+<div class="block">Build routing service with stats receiver.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html#statsReceiver-com.twitter.finagle.stats.StatsReceiver-">statsReceiver</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>statsReceiver</code> - stats receiver</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>built routing service</dd>
+</dl>
+</li>
+</ul>
+<a name="build--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>build</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService</a>&nbsp;build()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html#build--">RoutingService.Builder</a></code></span></div>
+<div class="block">Build the routing service.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html#build--">build</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>built routing service</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>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RegionsRoutingService.Builder.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/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 target="_top">Frames</a></li>
+<li><a href="RegionsRoutingService.Builder.html" 
target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016-2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.html
----------------------------------------------------------------------
diff --git 
a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.html
 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.html
new file mode 100644
index 0000000..546e50f
--- /dev/null
+++ 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.html
@@ -0,0 +1,532 @@
+<!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 (1.8.0_92) on Sun Jan 08 19:29:06 PST 2017 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RegionsRoutingService (Apache DistributedLog for Java, version 
0.4.0-incubating)</title>
+<meta name="date" content="2017-01-08">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RegionsRoutingService (Apache 
DistributedLog for Java, version 0.4.0-incubating)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = 
{"i0":10,"i1":10,"i2":9,"i3":41,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 
Methods"],32:["t6","Deprecated Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RegionsRoutingService.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/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 target="_top">Frames</a></li>
+<li><a href="RegionsRoutingService.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.distributedlog.client.routing</div>
+<h2 title="Class RegionsRoutingService" class="title">Class 
RegionsRoutingService</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.distributedlog.client.routing.RegionsRoutingService</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">RegionsRoutingService</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/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></pre>
+<div class="block">Chain multiple routing services.</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="memberSummary" 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>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a></span></code>
+<div class="block">Builder to build a multiple-regions routing service.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a 
name="nested.classes.inherited.from.class.org.apache.distributedlog.client.routing.RoutingService">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from 
interface&nbsp;org.apache.distributedlog.client.routing.<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></h3>
+<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a>, <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.RoutingListener</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" 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>protected <a 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#regionResolver">regionResolver</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#routingServices">routingServices</a></span></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="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a 
href="javascript:show(1);">Static Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a 
href="javascript:show(32);">Deprecated Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#getHost-java.lang.String-org.apache.distributedlog.client.routing.RoutingService.RoutingContext-">getHost</a></span>(<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;key,
+       <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a>&nbsp;routingContext)</code>
+<div class="block">Get the host to route the request by <i>key</i>.</div>
+</td>
+</tr>
+<tr id="i1" 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;<a 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#getHosts--">getHosts</a></span>()</code>
+<div class="block">Get all the hosts that available in routing service.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#newBuilder--">newBuilder</a></span>()</code>
+<div class="block">Create a builder to build a multiple-regions routing 
service.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#of-org.apache.distributedlog.client.resolver.RegionResolver-org.apache.distributedlog.client.routing.RoutingService...-">of</a></span>(<a
 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a>&nbsp;regionResolver,
+  <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>...&nbsp;services)</code>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#registerListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">registerListener</a></span>(<a
 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.RoutingListener</a>&nbsp;listener)</code>
+<div class="block">Register routing listener.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#removeHost-java.net.SocketAddress-java.lang.Throwable-">removeHost</a></span>(<a
 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;address,
+          <a 
href="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true";
 title="class or interface in java.lang">Throwable</a>&nbsp;reason)</code>
+<div class="block">Remove the host <i>address</i> for a specific 
<i>reason</i>.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#startService--">startService</a></span>()</code>
+<div class="block">Start routing service.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#stopService--">stopService</a></span>()</code>
+<div class="block">Stop routing service.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html#unregisterListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">unregisterListener</a></span>(<a
 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.RoutingListener</a>&nbsp;listener)</code>
+<div class="block">Unregister routing listener.</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-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="regionResolver">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>regionResolver</h4>
+<pre>protected final&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a> 
regionResolver</pre>
+</li>
+</ul>
+<a name="routingServices">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>routingServices</h4>
+<pre>protected final&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>[] 
routingServices</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a 
name="of-org.apache.distributedlog.client.resolver.RegionResolver-org.apache.distributedlog.client.routing.RoutingService...-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>of</h4>
+<pre><a 
href="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated</a>
+public static&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService</a>&nbsp;of(<a 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a>&nbsp;regionResolver,
+                                                   <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>...&nbsp;services)</pre>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
+<div class="block">Create a multiple regions routing services based on a list 
of region routing <code>services</code>.
+
+ <p>It is deprecated. Please use <a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing"><code>RegionsRoutingService.Builder</code></a>
 to build multiple regions routing service.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>regionResolver</code> - region resolver</dd>
+<dd><code>services</code> - a list of region routing services.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>multiple regions routing service</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing"><code>RegionsRoutingService.Builder</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="newBuilder--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newBuilder</h4>
+<pre>public static&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a>&nbsp;newBuilder()</pre>
+<div class="block">Create a builder to build a multiple-regions routing 
service.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>builder to build a multiple-regions routing service.</dd>
+</dl>
+</li>
+</ul>
+<a name="getHosts--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getHosts</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;<a 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in 
java.net">SocketAddress</a>&gt;&nbsp;getHosts()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#getHosts--">RoutingService</a></code></span></div>
+<div class="block">Get all the hosts that available in routing service.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#getHosts--">getHosts</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>all the hosts</dd>
+</dl>
+</li>
+</ul>
+<a name="startService--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startService</h4>
+<pre>public&nbsp;void&nbsp;startService()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#startService--">RoutingService</a></code></span></div>
+<div class="block">Start routing service.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#startService--">startService</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="stopService--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>stopService</h4>
+<pre>public&nbsp;void&nbsp;stopService()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#stopService--">RoutingService</a></code></span></div>
+<div class="block">Stop routing service.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#stopService--">stopService</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+</dl>
+</li>
+</ul>
+<a 
name="registerListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>registerListener</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>&nbsp;registerListener(<a
 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.RoutingListener</a>&nbsp;listener)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#registerListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">RoutingService</a></code></span></div>
+<div class="block">Register routing listener.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#registerListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">registerListener</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>listener</code> - routing listener.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>routing service.</dd>
+</dl>
+</li>
+</ul>
+<a 
name="unregisterListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>unregisterListener</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>&nbsp;unregisterListener(<a
 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.RoutingListener</a>&nbsp;listener)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#unregisterListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">RoutingService</a></code></span></div>
+<div class="block">Unregister routing listener.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#unregisterListener-org.apache.distributedlog.client.routing.RoutingService.RoutingListener-">unregisterListener</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>listener</code> - routing listener.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>routing service.</dd>
+</dl>
+</li>
+</ul>
+<a 
name="getHost-java.lang.String-org.apache.distributedlog.client.routing.RoutingService.RoutingContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getHost</h4>
+<pre>public&nbsp;<a 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;getHost(<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;key,
+                             <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a>&nbsp;routingContext)
+                      throws 
com.twitter.finagle.NoBrokersAvailableException</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#getHost-java.lang.String-org.apache.distributedlog.client.routing.RoutingService.RoutingContext-">RoutingService</a></code></span></div>
+<div class="block">Get the host to route the request by <i>key</i>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#getHost-java.lang.String-org.apache.distributedlog.client.routing.RoutingService.RoutingContext-">getHost</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>key</code> - key to route the request.</dd>
+<dd><code>routingContext</code> - routing context.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>host to route the request</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code>com.twitter.finagle.NoBrokersAvailableException</code></dd>
+</dl>
+</li>
+</ul>
+<a name="removeHost-java.net.SocketAddress-java.lang.Throwable-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>removeHost</h4>
+<pre>public&nbsp;void&nbsp;removeHost(<a 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;address,
+                       <a 
href="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true";
 title="class or interface in java.lang">Throwable</a>&nbsp;reason)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#removeHost-java.net.SocketAddress-java.lang.Throwable-">RoutingService</a></code></span></div>
+<div class="block">Remove the host <i>address</i> for a specific 
<i>reason</i>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html#removeHost-java.net.SocketAddress-java.lang.Throwable-">removeHost</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>address</code> - host address to remove</dd>
+<dd><code>reason</code> - reason to remove the host</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>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RegionsRoutingService.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/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RegionsRoutingService.html"
 target="_top">Frames</a></li>
+<li><a href="RegionsRoutingService.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016-2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.Builder.html
----------------------------------------------------------------------
diff --git 
a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.Builder.html
 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.Builder.html
new file mode 100644
index 0000000..6f30fe6
--- /dev/null
+++ 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.Builder.html
@@ -0,0 +1,261 @@
+<!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 (1.8.0_92) on Sun Jan 08 19:29:06 PST 2017 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RoutingService.Builder (Apache DistributedLog for Java, version 
0.4.0-incubating)</title>
+<meta name="date" content="2017-01-08">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RoutingService.Builder (Apache 
DistributedLog for Java, version 0.4.0-incubating)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":6,"i1":6};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],4:["t3","Abstract Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RoutingService.Builder.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/distributedlog/client/routing/RoutingService.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 target="_top">Frames</a></li>
+<li><a href="RoutingService.Builder.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.distributedlog.client.routing</div>
+<h2 title="Interface RoutingService.Builder" class="title">Interface 
RoutingService.Builder</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Known Implementing Classes:</dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">ConsistentHashRoutingService.Builder</a>,
 <a 
href="../../../../../org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">RegionsRoutingService.Builder</a>, <a 
href="../../../../../org/apache/distributedlog/client/routing/SingleHostRoutingService.Builder.html"
 title="class in 
org.apache.distributedlog.client.routing">SingleHostRoutingService.Builder</a></dd>
+</dl>
+<dl>
+<dt>Enclosing interface:</dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public static interface <span 
class="typeNameLabel">RoutingService.Builder</span></pre>
+<div class="block">Builder to build routing service.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a 
href="javascript:show(4);">Abstract Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html#build--">build</a></span>()</code>
+<div class="block">Build the routing service.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html#statsReceiver-com.twitter.finagle.stats.StatsReceiver-">statsReceiver</a></span>(com.twitter.finagle.stats.StatsReceiver&nbsp;statsReceiver)</code>
+<div class="block">Build routing service with stats receiver.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="statsReceiver-com.twitter.finagle.stats.StatsReceiver-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>statsReceiver</h4>
+<pre><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService.Builder</a>&nbsp;statsReceiver(com.twitter.finagle.stats.StatsReceiver&nbsp;statsReceiver)</pre>
+<div class="block">Build routing service with stats receiver.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>statsReceiver</code> - stats receiver</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>built routing service</dd>
+</dl>
+</li>
+</ul>
+<a name="build--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>build</h4>
+<pre><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a>&nbsp;build()</pre>
+<div class="block">Build the routing service.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>built routing service</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>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RoutingService.Builder.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/distributedlog/client/routing/RoutingService.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RoutingService.Builder.html"
 target="_top">Frames</a></li>
+<li><a href="RoutingService.Builder.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016-2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html
----------------------------------------------------------------------
diff --git 
a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html
 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html
new file mode 100644
index 0000000..0cb2e46
--- /dev/null
+++ 
b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html
@@ -0,0 +1,350 @@
+<!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 (1.8.0_92) on Sun Jan 08 19:29:06 PST 2017 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RoutingService.RoutingContext (Apache DistributedLog for Java, version 
0.4.0-incubating)</title>
+<meta name="date" content="2017-01-08">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RoutingService.RoutingContext (Apache 
DistributedLog for Java, version 0.4.0-incubating)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RoutingService.RoutingContext.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/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 target="_top">Frames</a></li>
+<li><a href="RoutingService.RoutingContext.html" 
target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.distributedlog.client.routing</div>
+<h2 title="Class RoutingService.RoutingContext" class="title">Class 
RoutingService.RoutingContext</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.distributedlog.client.routing.RoutingService.RoutingContext</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Enclosing interface:</dt>
+<dd><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.html"
 title="interface in 
org.apache.distributedlog.client.routing">RoutingService</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public static class <span 
class="typeNameLabel">RoutingService.RoutingContext</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">Routing Context of a request.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a 
href="javascript:show(1);">Static Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html#addTriedHost-java.net.SocketAddress-org.apache.distributedlog.thrift.service.StatusCode-">addTriedHost</a></span>(<a
 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;socketAddress,
+            
org.apache.distributedlog.thrift.service.StatusCode&nbsp;code)</code>
+<div class="block">Add tried host to routing context.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html#hasUnavailableRegions--">hasUnavailableRegions</a></span>()</code>
+<div class="block">Whether encountered unavailable regions.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html#isTriedHost-java.net.SocketAddress-">isTriedHost</a></span>(<a
 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;address)</code>
+<div class="block">Is the host <i>address</i> already tried.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html#isUnavailableRegion-java.lang.String-">isUnavailableRegion</a></span>(<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;region)</code>
+<div class="block">Whether the <i>region</i> is unavailable.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html#of-org.apache.distributedlog.client.resolver.RegionResolver-">of</a></span>(<a
 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a>&nbsp;resolver)</code>&nbsp;</td>
+</tr>
+<tr id="i5" 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><span class="memberNameLink"><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html#toString--">toString</a></span>()</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">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="of-org.apache.distributedlog.client.resolver.RegionResolver-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>of</h4>
+<pre>public static&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a>&nbsp;of(<a
 
href="../../../../../org/apache/distributedlog/client/resolver/RegionResolver.html"
 title="interface in 
org.apache.distributedlog.client.resolver">RegionResolver</a>&nbsp;resolver)</pre>
+</li>
+</ul>
+<a name="toString--">
+<!--   -->
+</a>
+<ul class="blockList">
+<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><span class="overrideSpecifyLabel">Overrides:</span></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>
+<a 
name="addTriedHost-java.net.SocketAddress-org.apache.distributedlog.thrift.service.StatusCode-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addTriedHost</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 title="class in 
org.apache.distributedlog.client.routing">RoutingService.RoutingContext</a>&nbsp;addTriedHost(<a
 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;socketAddress,
+                                                  
org.apache.distributedlog.thrift.service.StatusCode&nbsp;code)</pre>
+<div class="block">Add tried host to routing context.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>socketAddress</code> - socket address of tried host.</dd>
+<dd><code>code</code> - status code returned from tried host.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>routing context.</dd>
+</dl>
+</li>
+</ul>
+<a name="isTriedHost-java.net.SocketAddress-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isTriedHost</h4>
+<pre>public&nbsp;boolean&nbsp;isTriedHost(<a 
href="http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true";
 title="class or interface in java.net">SocketAddress</a>&nbsp;address)</pre>
+<div class="block">Is the host <i>address</i> already tried.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>address</code> - socket address to check</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if the address is already tried, otherwise false.</dd>
+</dl>
+</li>
+</ul>
+<a name="hasUnavailableRegions--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hasUnavailableRegions</h4>
+<pre>public&nbsp;boolean&nbsp;hasUnavailableRegions()</pre>
+<div class="block">Whether encountered unavailable regions.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if encountered unavailable regions, otherwise false.</dd>
+</dl>
+</li>
+</ul>
+<a name="isUnavailableRegion-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>isUnavailableRegion</h4>
+<pre>public&nbsp;boolean&nbsp;isUnavailableRegion(<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;region)</pre>
+<div class="block">Whether the <i>region</i> is unavailable.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>region</code> - region</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if the region is unavailable, otherwise false.</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>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<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/RoutingService.RoutingContext.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/distributedlog/client/routing/RoutingService.Builder.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html"
 title="interface in org.apache.distributedlog.client.routing"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/distributedlog/client/routing/RoutingService.RoutingContext.html"
 target="_top">Frames</a></li>
+<li><a href="RoutingService.RoutingContext.html" 
target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016-2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</small></p>
+</body>
+</html>

Reply via email to