You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by an...@apache.org on 2013/12/16 21:54:16 UTC

svn commit: r1551345 [37/44] - in /incubator/twill/site: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/twill/ apidocs/org/apache/twill/api/ apidocs/org/apache/twill/api/class-use/ apidocs/org/apache/twill/api/logging/ apidocs/org/apac...

Added: incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClient.html
URL: http://svn.apache.org/viewvc/incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClient.html?rev=1551345&view=auto
==============================================================================
--- incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClient.html (added)
+++ incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClient.html Mon Dec 16 20:54:10 2013
@@ -0,0 +1,572 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_65) on Fri Dec 13 15:15:51 PST 2013 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+ZKClient (Apache Twill 0.1.0-SNAPSHOT API)
+</TITLE>
+
+<META NAME="date" CONTENT="2013-12-13">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ZKClient (Apache Twill 0.1.0-SNAPSHOT API)";
+    }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClient.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClient.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.twill.zookeeper</FONT>
+<BR>
+Interface ZKClient</H2>
+<DL>
+<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A></DD>
+</DL>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</A>, <A HREF="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ZKClient</B></DL>
+</PRE>
+
+<P>
+A ZooKeeper client that provides asynchronous zookeeper operations.
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#addConnectionWatcher(Watcher)">addConnectionWatcher</A></B>(Watcher&nbsp;watcher)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a <CODE>Watcher</CODE> that will be called whenever connection state change.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String, byte[], CreateMode)">create</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+       byte[]&nbsp;data,
+       CreateMode&nbsp;createMode)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Same as calling
+ <CODE>create(path, data, createMode, true)</CODE>.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String, byte[], CreateMode, boolean)">create</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+       byte[]&nbsp;data,
+       CreateMode&nbsp;createMode,
+       boolean&nbsp;createParent)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a path in zookeeper, with given data and create mode.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String)">delete</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes the node of the given path without matching version.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String, int)">delete</A></B>(<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;deletePath,
+       int&nbsp;version)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes the node of the given path that match the given version.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String)">exists</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the path exists.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String, Watcher)">exists</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+       Watcher&nbsp;watcher)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the given path exists and leave a watcher on the node for watching creation/deletion/data changes
+ on the node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</A>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String)">getChildren</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the list of children nodes under the given path.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</A>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String, Watcher)">getChildren</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+            Watcher&nbsp;watcher)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the list of children nodes under the given path and leave a watcher on the node for watching node
+ deletion and children nodes creation/deletion.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getConnectString()">getConnectString</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the connection string used for connecting to Zookeeper.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</A>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String)">getData</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the data stored in the given path.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</A>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String, Watcher)">getData</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+        Watcher&nbsp;watcher)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the data stored in the given path and leave a watcher on the node for watching deletion/data changes on
+ the node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getSessionId()">getSessionId</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current Zookeeper session ID of this client.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String, byte[])">setData</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+        byte[]&nbsp;data)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data for the given path without matching version.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String, byte[], int)">setData</A></B>(<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;dataPath,
+        byte[]&nbsp;data,
+        int&nbsp;version)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data for the given path that match the given version.</TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getSessionId()"><!-- --></A><H3>
+getSessionId</H3>
+<PRE>
+<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> <B>getSessionId</B>()</PRE>
+<DL>
+<DD>Returns the current Zookeeper session ID of this client.
+ If this ZKClient is not connected, <code>null</code> is returned.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getConnectString()"><!-- --></A><H3>
+getConnectString</H3>
+<PRE>
+<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> <B>getConnectString</B>()</PRE>
+<DL>
+<DD>Returns the connection string used for connecting to Zookeeper.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addConnectionWatcher(Watcher)"><!-- --></A><H3>
+addConnectionWatcher</H3>
+<PRE>
+void <B>addConnectionWatcher</B>(Watcher&nbsp;watcher)</PRE>
+<DL>
+<DD>Adds a <CODE>Watcher</CODE> that will be called whenever connection state change.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>watcher</CODE> - The watcher to set.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="create(java.lang.String, byte[], CreateMode)"><!-- --></A><H3>
+create</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt; <B>create</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+                               <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A></FONT>
+                               byte[]&nbsp;data,
+                               CreateMode&nbsp;createMode)</PRE>
+<DL>
+<DD>Same as calling
+ <CODE>create(path, data, createMode, true)</CODE>.
+<P>
+<DD><DL>
+<DT><B>See Also:</B><DD><CODE>#create(String, byte[], org.apache.zookeeper.CreateMode, boolean)</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="create(java.lang.String, byte[], CreateMode, boolean)"><!-- --></A><H3>
+create</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt; <B>create</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+                               <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A></FONT>
+                               byte[]&nbsp;data,
+                               CreateMode&nbsp;createMode,
+                               boolean&nbsp;createParent)</PRE>
+<DL>
+<DD>Creates a path in zookeeper, with given data and create mode.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path to be created<DD><CODE>data</CODE> - Data to be stored in the node, or <code>null</code> if no data to store.<DD><CODE>createMode</CODE> - The <CODE>CreateMode</CODE> for the node.<DD><CODE>createParent</CODE> - If <code>true</code> and parent nodes are missing, it will create all parent nodes as normal
+                     persistent node before creating the request node.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><CODE>OperationFuture</CODE></A> that will be completed when the
+         creation is done. If there is error during creation, it will be reflected as error in the future.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="exists(java.lang.String)"><!-- --></A><H3>
+exists</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt; <B>exists</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</PRE>
+<DL>
+<DD>Checks if the path exists. Same as calling
+ <CODE>exists(path, null)</CODE>.
+<P>
+<DD><DL>
+<DT><B>See Also:</B><DD><CODE>#exists(String, org.apache.zookeeper.Watcher)</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="exists(java.lang.String, Watcher)"><!-- --></A><H3>
+exists</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt; <B>exists</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+                             <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A></FONT>
+                             Watcher&nbsp;watcher)</PRE>
+<DL>
+<DD>Checks if the given path exists and leave a watcher on the node for watching creation/deletion/data changes
+ on the node.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path to check for existence.<DD><CODE>watcher</CODE> - Watcher for watching changes, or <code>null</code> if no watcher to set.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><CODE>OperationFuture</CODE></A> that will be completed when the exists check is done. If the path
+         does exists, the node <CODE>Stat</CODE> is set into the future. If the path doesn't exists,
+         a <code>null</code> value is set into the future.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getChildren(java.lang.String)"><!-- --></A><H3>
+getChildren</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</A>&gt; <B>getChildren</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</PRE>
+<DL>
+<DD>Gets the list of children nodes under the given path. Same as calling
+ <CODE>getChildren(path, null)</CODE>.
+<P>
+<DD><DL>
+<DT><B>See Also:</B><DD><CODE>#getChildren(String, org.apache.zookeeper.Watcher)</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getChildren(java.lang.String, Watcher)"><!-- --></A><H3>
+getChildren</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</A>&gt; <B>getChildren</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+                                          <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A></FONT>
+                                          Watcher&nbsp;watcher)</PRE>
+<DL>
+<DD>Gets the list of children nodes under the given path and leave a watcher on the node for watching node
+ deletion and children nodes creation/deletion.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path to fetch for children nodes<DD><CODE>watcher</CODE> - Watcher for watching changes, or <code>null</code> if no watcher to set.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><CODE>OperationFuture</CODE></A> that will be completed when the getChildren call is done, with the result
+         given as <A HREF="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper"><CODE>NodeChildren</CODE></A>. If there is error, it will be reflected as error in the future.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getData(java.lang.String)"><!-- --></A><H3>
+getData</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</A>&gt; <B>getData</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</PRE>
+<DL>
+<DD>Gets the data stored in the given path. Same as calling
+ <CODE>getData(path, null)</CODE>.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getData(java.lang.String, Watcher)"><!-- --></A><H3>
+getData</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<A HREF="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</A>&gt; <B>getData</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+                                  <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A></FONT>
+                                  Watcher&nbsp;watcher)</PRE>
+<DL>
+<DD>Gets the data stored in the given path and leave a watcher on the node for watching deletion/data changes on
+ the node.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path to get data from.<DD><CODE>watcher</CODE> - Watcher for watching changes, or <code>null</code> if no watcher to set.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><CODE>OperationFuture</CODE></A> that will be completed when the getData call is done, with the result
+         given as <A HREF="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper"><CODE>NodeData</CODE></A>. If there is error, it will be reflected as error in the future.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setData(java.lang.String, byte[])"><!-- --></A><H3>
+setData</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt; <B>setData</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path,
+                              byte[]&nbsp;data)</PRE>
+<DL>
+<DD>Sets the data for the given path without matching version. Same as calling
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String, byte[], int)"><CODE>setData(path, data, -1)</CODE></A>.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setData(java.lang.String, byte[], int)"><!-- --></A><H3>
+setData</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;Stat&gt; <B>setData</B>(<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;dataPath,
+                              byte[]&nbsp;data,
+                              int&nbsp;version)</PRE>
+<DL>
+<DD>Sets the data for the given path that match the given version. If the version given is <code>-1</code>, it matches
+ any version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>dataPath</CODE> - The path to set data to.<DD><CODE>data</CODE> - Data to be set.<DD><CODE>version</CODE> - Matching version.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><CODE>OperationFuture</CODE></A> that will be completed when the setData call is done, with node <CODE>Stat</CODE>
+         given as the future result. If there is error, it will be reflected as error in the future.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delete(java.lang.String)"><!-- --></A><H3>
+delete</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt; <B>delete</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;path)</PRE>
+<DL>
+<DD>Deletes the node of the given path without matching version. Same as calling
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String, int)"><CODE>delete(path, -1)</CODE></A>.
+<P>
+<DD><DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String, int)"><CODE>delete(String, int)</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delete(java.lang.String, int)"><!-- --></A><H3>
+delete</H3>
+<PRE>
+<A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</A>&lt;<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>&gt; <B>delete</B>(<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;deletePath,
+                               int&nbsp;version)</PRE>
+<DL>
+<DD>Deletes the node of the given path that match the given version. If the version given is <code>-1</code>, it matches
+ any version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>deletePath</CODE> - The path to set data to.<DD><CODE>version</CODE> - Matching version.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><CODE>OperationFuture</CODE></A> that will be completed when the setData call is done, with node path
+         given as the future result. If there is error, it will be reflected as error in the future.</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClient.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClient.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2013 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.
+</BODY>
+</HTML>

Added: incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.Builder.html
URL: http://svn.apache.org/viewvc/incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.Builder.html?rev=1551345&view=auto
==============================================================================
--- incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.Builder.html (added)
+++ incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.Builder.html Mon Dec 16 20:54:10 2013
@@ -0,0 +1,297 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_65) on Fri Dec 13 15:15:51 PST 2013 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+ZKClientService.Builder (Apache Twill 0.1.0-SNAPSHOT API)
+</TITLE>
+
+<META NAME="date" CONTENT="2013-12-13">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ZKClientService.Builder (Apache Twill 0.1.0-SNAPSHOT API)";
+    }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClientService.Builder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientServices.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClientService.Builder.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClientService.Builder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.twill.zookeeper</FONT>
+<BR>
+Class ZKClientService.Builder</H2>
+<PRE>
+<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>
+  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.twill.zookeeper.ZKClientService.Builder</B>
+</PRE>
+<DL>
+<DT><B>Enclosing interface:</B><DD><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public static final class <B>ZKClientService.Builder</B><DT>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></DL>
+</PRE>
+
+<P>
+Builder for creating an implementation of <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>.
+ The default client timeout is 10000ms.
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html#build()">build</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> with the settings of this builder.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html#of(java.lang.String)">of</A></B>(<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;connectStr)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><CODE>ZKClientService.Builder</CODE></A> with the given ZooKeeper connection string.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html#setConnectionWatcher(Watcher)">setConnectionWatcher</A></B>(Watcher&nbsp;watcher)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <CODE>Watcher</CODE> that will be called whenever connection state change.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html#setSessionTimeout(int)">setSessionTimeout</A></B>(int&nbsp;timeout)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the client timeout to the give milliseconds.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class 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></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><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></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="of(java.lang.String)"><!-- --></A><H3>
+of</H3>
+<PRE>
+public static <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A> <B>of</B>(<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;connectStr)</PRE>
+<DL>
+<DD>Creates a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><CODE>ZKClientService.Builder</CODE></A> with the given ZooKeeper connection string.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>connectStr</CODE> - The connection string.
+<DT><B>Returns:</B><DD>A new instance of Builder.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSessionTimeout(int)"><!-- --></A><H3>
+setSessionTimeout</H3>
+<PRE>
+public <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A> <B>setSessionTimeout</B>(int&nbsp;timeout)</PRE>
+<DL>
+<DD>Sets the client timeout to the give milliseconds.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>timeout</CODE> - timeout in milliseconds.
+<DT><B>Returns:</B><DD>This builder</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setConnectionWatcher(Watcher)"><!-- --></A><H3>
+setConnectionWatcher</H3>
+<PRE>
+public <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A> <B>setConnectionWatcher</B>(Watcher&nbsp;watcher)</PRE>
+<DL>
+<DD>Sets a <CODE>Watcher</CODE> that will be called whenever connection state change.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>watcher</CODE> - The watcher to set.
+<DT><B>Returns:</B><DD>This builder.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="build()"><!-- --></A><H3>
+build</H3>
+<PRE>
+public <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A> <B>build</B>()</PRE>
+<DL>
+<DD>Creates an instance of <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> with the settings of this builder.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A new instance of <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>.</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClientService.Builder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientServices.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClientService.Builder.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClientService.Builder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2013 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.
+</BODY>
+</HTML>

Added: incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.html
URL: http://svn.apache.org/viewvc/incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.html?rev=1551345&view=auto
==============================================================================
--- incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.html (added)
+++ incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientService.html Mon Dec 16 20:54:10 2013
@@ -0,0 +1,272 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_65) on Fri Dec 13 15:15:51 PST 2013 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+ZKClientService (Apache Twill 0.1.0-SNAPSHOT API)
+</TITLE>
+
+<META NAME="date" CONTENT="2013-12-13">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ZKClientService (Apache Twill 0.1.0-SNAPSHOT API)";
+    }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClientService.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClientService.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClientService.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.twill.zookeeper</FONT>
+<BR>
+Interface ZKClientService</H2>
+<DL>
+<DT><B>All Superinterfaces:</B> <DD>com.google.common.util.concurrent.Service, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A></DD>
+</DL>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ZKClientService</B><DT>extends <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A>, com.google.common.util.concurrent.Service</DL>
+</PRE>
+
+<P>
+A <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> that extends from <CODE>Service</CODE> to provide lifecycle management functions.
+ The <CODE>Service.start()</CODE> method needed to be called before calling any other method on this interface.
+ When the client is no longer needed, call <CODE>Service.stop()</CODE> to release any resources that it holds.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<A NAME="nested_class_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Nested Class Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;class</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builder for creating an implementation of <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="nested_classes_inherited_from_class_com.google.common.util.concurrent.Service"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;com.google.common.base.Supplier&lt;ZooKeeper&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html#getZooKeeperSupplier()">getZooKeeperSupplier</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <CODE>Supplier</CODE> of <CODE>ZooKeeper</CODE> that gives the current <CODE>ZooKeeper</CODE> in use at the moment
+ when <CODE>Supplier.get()</CODE> get called.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_org.apache.twill.zookeeper.ZKClient"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from interface org.apache.twill.zookeeper.<A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#addConnectionWatcher(Watcher)">addConnectionWatcher</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String, byte[], CreateMode)">create</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String, byte[], CreateMode, boolean)">create</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String)">delete</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String, int)">delete</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String)">exists</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String, Watcher)">exists</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String)">getChildren</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String, Wat
 cher)">getChildren</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getConnectString()">getConnectString</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String)">getData</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String, Watcher)">getData</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#getSessionId()">getSessionId</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String, byte[])">setData</A>, <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String, byte[], int)">setData</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_com.google.common.util.concurrent.Service"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from interface com.google.common.util.concurrent.Service</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>addListener, isRunning, start, startAndWait, state, stop, stopAndWait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getZooKeeperSupplier()"><!-- --></A><H3>
+getZooKeeperSupplier</H3>
+<PRE>
+com.google.common.base.Supplier&lt;ZooKeeper&gt; <B>getZooKeeperSupplier</B>()</PRE>
+<DL>
+<DD>Returns a <CODE>Supplier</CODE> of <CODE>ZooKeeper</CODE> that gives the current <CODE>ZooKeeper</CODE> in use at the moment
+ when <CODE>Supplier.get()</CODE> get called.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A <CODE>Supplier&lt;ZooKeeper&gt;</CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClientService.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClientService.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClientService.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2013 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.
+</BODY>
+</HTML>

Added: incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientServices.html
URL: http://svn.apache.org/viewvc/incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientServices.html?rev=1551345&view=auto
==============================================================================
--- incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientServices.html (added)
+++ incubator/twill/site/apidocs/org/apache/twill/zookeeper/ZKClientServices.html Mon Dec 16 20:54:10 2013
@@ -0,0 +1,263 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_65) on Fri Dec 13 15:15:51 PST 2013 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+ZKClientServices (Apache Twill 0.1.0-SNAPSHOT API)
+</TITLE>
+
+<META NAME="date" CONTENT="2013-12-13">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ZKClientServices (Apache Twill 0.1.0-SNAPSHOT API)";
+    }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClientServices.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClientServices.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClientServices.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.twill.zookeeper</FONT>
+<BR>
+Class ZKClientServices</H2>
+<PRE>
+<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>
+  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.twill.zookeeper.ZKClientServices</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public final class <B>ZKClientServices</B><DT>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></DL>
+</PRE>
+
+<P>
+Provides static factory method to create <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> with modified behaviors.
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientServices.html#delegate(org.apache.twill.zookeeper.ZKClient)">delegate</A></B>(<A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A>&nbsp;client)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> from the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> if the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> is an instance of
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> or is a <A HREF="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper"><CODE>ForwardingZKClient</CODE></A> that eventually trace back to a delegate of type
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/twill/zookeeper/ZKClientServices.html#delegate(org.apache.twill.zookeeper.ZKClient, org.apache.twill.zookeeper.ZKClientService)">delegate</A></B>(<A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A>&nbsp;client,
+         <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A>&nbsp;clientService)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> that for all <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> methods would be delegated to another
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A>, while methods for <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> would be delegated to another <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>,
+ which the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> and <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> could be different instances.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class 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></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><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></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="delegate(org.apache.twill.zookeeper.ZKClient)"><!-- --></A><H3>
+delegate</H3>
+<PRE>
+public static <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A> <B>delegate</B>(<A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A>&nbsp;client)</PRE>
+<DL>
+<DD>Creates a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> from the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> if the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> is an instance of
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> or is a <A HREF="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper"><CODE>ForwardingZKClient</CODE></A> that eventually trace back to a delegate of type
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>. If such a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> instance is found, this method returns
+ an instance by invoking <A HREF="../../../../org/apache/twill/zookeeper/ZKClientServices.html#delegate(org.apache.twill.zookeeper.ZKClient, org.apache.twill.zookeeper.ZKClientService)"><CODE>delegate(ZKClient, ZKClientService)</CODE></A> with the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> and
+ the <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> found respectively.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>client</CODE> - The <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A>.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - If no <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> is found.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delegate(org.apache.twill.zookeeper.ZKClient, org.apache.twill.zookeeper.ZKClientService)"><!-- --></A><H3>
+delegate</H3>
+<PRE>
+public static <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A> <B>delegate</B>(<A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</A>&nbsp;client,
+                                       <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</A>&nbsp;clientService)</PRE>
+<DL>
+<DD>Creates a <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> that for all <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> methods would be delegated to another
+ <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A>, while methods for <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> would be delegated to another <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>,
+ which the given <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> and <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> could be different instances.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>client</CODE> - The <A HREF="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClient</CODE></A> for delegation<DD><CODE>clientService</CODE> - The <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A> for delegation.
+<DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><CODE>ZKClientService</CODE></A>.</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZKClientServices.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html?org/apache/twill/zookeeper/ZKClientServices.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="ZKClientServices.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2013 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.
+</BODY>
+</HTML>