You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ph...@apache.org on 2014/08/07 06:17:30 UTC

svn commit: r1616399 [17/45] - in /zookeeper/site/trunk: content/ content/doc/r3.5.0-alpha/ content/doc/r3.5.0-alpha/api/ content/doc/r3.5.0-alpha/api/org/ content/doc/r3.5.0-alpha/api/org/apache/ content/doc/r3.5.0-alpha/api/org/apache/zookeeper/ cont...

Added: zookeeper/site/trunk/content/doc/r3.5.0-alpha/api/org/apache/zookeeper/ZooKeeper.html
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.0-alpha/api/org/apache/zookeeper/ZooKeeper.html?rev=1616399&view=auto
==============================================================================
--- zookeeper/site/trunk/content/doc/r3.5.0-alpha/api/org/apache/zookeeper/ZooKeeper.html (added)
+++ zookeeper/site/trunk/content/doc/r3.5.0-alpha/api/org/apache/zookeeper/ZooKeeper.html Thu Aug  7 04:17:24 2014
@@ -0,0 +1,2212 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_65) on Fri Aug 01 15:14:02 PDT 2014 -->
+<title>ZooKeeper (ZooKeeper 3.5.0-alpha API)</title>
+<meta name="date" content="2014-08-01">
+<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ZooKeeper (ZooKeeper 3.5.0-alpha API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/ZooKeeper.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/zookeeper/ZooDefs.Perms.html" title="interface in org.apache.zookeeper"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../org/apache/zookeeper/ZooKeeper.States.html" title="enum in org.apache.zookeeper"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../index.html?org/apache/zookeeper/ZooKeeper.html" target="_top">Frames</a></li>
+<li><a href="ZooKeeper.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.zookeeper</div>
+<h2 title="Class ZooKeeper" class="title">Class ZooKeeper</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.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.zookeeper.ZooKeeper</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">ZooKeeper</span>
+extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">This is the main class of ZooKeeper client library. To use a ZooKeeper
+ service, an application must first instantiate an object of ZooKeeper class.
+ All the iterations will be done by calling the methods of ZooKeeper class.
+ The methods of this class are thread-safe unless otherwise noted.
+ <p>
+ Once a connection to a server is established, a session ID is assigned to the
+ client. The client will send heart beats to the server periodically to keep
+ the session valid.
+ <p>
+ The application can call ZooKeeper APIs through a client as long as the
+ session ID of the client remains valid.
+ <p>
+ If for some reason, the client fails to send heart beats to the server for a
+ prolonged period of time (exceeding the sessionTimeout value, for instance),
+ the server will expire the session, and the session ID will become invalid.
+ The client object will no longer be usable. To make ZooKeeper API calls, the
+ application must create a new client object.
+ <p>
+ If the ZooKeeper server the client currently connects to fails or otherwise
+ does not respond, the client will automatically try to connect to another
+ server before its session ID expires. If successful, the application can
+ continue to use the client.
+ <p>
+ The ZooKeeper API methods are either synchronous or asynchronous. Synchronous
+ methods blocks until the server has responded. Asynchronous methods just queue
+ the request for sending and return immediately. They take a callback object that
+ will be executed either on successful execution of the request or on error with
+ an appropriate return code (rc) indicating the error.
+ <p>
+ Some successful ZooKeeper API calls can leave watches on the "data nodes" in
+ the ZooKeeper server. Other successful ZooKeeper API calls can trigger those
+ watches. Once a watch is triggered, an event will be delivered to the client
+ which left the watch at the first place. Each watch can be triggered only
+ once. Thus, up to one event will be delivered to a client for every watch it
+ leaves.
+ <p>
+ A client needs an object of a class implementing Watcher interface for
+ processing the events delivered to the client.
+
+ When a client drops current connection and re-connects to a server, all the
+ existing watches are considered as being triggered but the undelivered events
+ are lost. To emulate this, the client will generate a special event to tell
+ the event handler a connection has been dropped. This special event has type
+ EventNone and state sKeeperStateDisconnected.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.States.html" title="enum in org.apache.zookeeper">ZooKeeper.States</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#ZOOKEEPER_CLIENT_CNXN_SOCKET">ZOOKEEPER_CLIENT_CNXN_SOCKET</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#ZooKeeper(java.lang.String,%20int,%20org.apache.zookeeper.Watcher)">ZooKeeper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher)</code>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#ZooKeeper(java.lang.String,%20int,%20org.apache.zookeeper.Watcher,%20boolean)">ZooKeeper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         boolean&nbsp;canBeReadOnly)</code>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#ZooKeeper(java.lang.String,%20int,%20org.apache.zookeeper.Watcher,%20long,%20byte[])">ZooKeeper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         long&nbsp;sessionId,
+         byte[]&nbsp;sessionPasswd)</code>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#ZooKeeper(java.lang.String,%20int,%20org.apache.zookeeper.Watcher,%20long,%20byte[],%20boolean)">ZooKeeper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         long&nbsp;sessionId,
+         byte[]&nbsp;sessionPasswd,
+         boolean&nbsp;canBeReadOnly)</code>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#addAuthInfo(java.lang.String,%20byte[])">addAuthInfo</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme,
+           byte[]&nbsp;auth)</code>
+<div class="block">Add the specified scheme:auth information to this connection.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#close()">close</a></strong>()</code>
+<div class="block">Close this client object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#create(java.lang.String,%20byte[],%20java.util.List,%20org.apache.zookeeper.CreateMode)">create</a></strong>(<a href="http://docs.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,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+      <a href="../../../org/apache/zookeeper/CreateMode.html" title="enum in org.apache.zookeeper">CreateMode</a>&nbsp;createMode)</code>
+<div class="block">Create a node with the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#create(java.lang.String,%20byte[],%20java.util.List,%20org.apache.zookeeper.CreateMode,%20org.apache.zookeeper.AsyncCallback.Create2Callback,%20java.lang.Object)">create</a></strong>(<a href="http://docs.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,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+      <a href="../../../org/apache/zookeeper/CreateMode.html" title="enum in org.apache.zookeeper">CreateMode</a>&nbsp;createMode,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.Create2Callback.html" title="interface in org.apache.zookeeper">AsyncCallback.Create2Callback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of create.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#create(java.lang.String,%20byte[],%20java.util.List,%20org.apache.zookeeper.CreateMode,%20org.apache.zookeeper.AsyncCallback.StringCallback,%20java.lang.Object)">create</a></strong>(<a href="http://docs.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,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+      <a href="../../../org/apache/zookeeper/CreateMode.html" title="enum in org.apache.zookeeper">CreateMode</a>&nbsp;createMode,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.StringCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.StringCallback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of create.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#create(java.lang.String,%20byte[],%20java.util.List,%20org.apache.zookeeper.CreateMode,%20org.apache.zookeeper.data.Stat)">create</a></strong>(<a href="http://docs.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,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+      <a href="../../../org/apache/zookeeper/CreateMode.html" title="enum in org.apache.zookeeper">CreateMode</a>&nbsp;createMode,
+      <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Create a node with the given path and returns the Stat of that node.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#delete(java.lang.String,%20int)">delete</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      int&nbsp;version)</code>
+<div class="block">Delete the node with the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#delete(java.lang.String,%20int,%20org.apache.zookeeper.AsyncCallback.VoidCallback,%20java.lang.Object)">delete</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      int&nbsp;version,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.VoidCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.VoidCallback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of delete.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#exists(java.lang.String,%20boolean)">exists</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      boolean&nbsp;watch)</code>
+<div class="block">Return the stat of the node of the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#exists(java.lang.String,%20boolean,%20org.apache.zookeeper.AsyncCallback.StatCallback,%20java.lang.Object)">exists</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      boolean&nbsp;watch,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.StatCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.StatCallback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of exists.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)">exists</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher)</code>
+<div class="block">Return the stat of the node of the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.AsyncCallback.StatCallback,%20java.lang.Object)">exists</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.StatCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.StatCallback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of exists.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getACL(java.lang.String,%20org.apache.zookeeper.data.Stat)">getACL</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Return the ACL and stat of the node of the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getACL(java.lang.String,%20org.apache.zookeeper.data.Stat,%20org.apache.zookeeper.AsyncCallback.ACLCallback,%20java.lang.Object)">getACL</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.ACLCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.ACLCallback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getACL.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20boolean)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           boolean&nbsp;watch)</code>
+<div class="block">Return the list of the children of the node of the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20boolean,%20org.apache.zookeeper.AsyncCallback.Children2Callback,%20java.lang.Object)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           boolean&nbsp;watch,
+           <a href="../../../org/apache/zookeeper/AsyncCallback.Children2Callback.html" title="interface in org.apache.zookeeper">AsyncCallback.Children2Callback</a>&nbsp;cb,
+           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getChildren.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20boolean,%20org.apache.zookeeper.AsyncCallback.ChildrenCallback,%20java.lang.Object)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           boolean&nbsp;watch,
+           <a href="../../../org/apache/zookeeper/AsyncCallback.ChildrenCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.ChildrenCallback</a>&nbsp;cb,
+           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getChildren.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20boolean,%20org.apache.zookeeper.data.Stat)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           boolean&nbsp;watch,
+           <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">For the given znode path return the stat and children list.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher)</code>
+<div class="block">Return the list of the children of the node of the given path.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.AsyncCallback.Children2Callback,%20java.lang.Object)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+           <a href="../../../org/apache/zookeeper/AsyncCallback.Children2Callback.html" title="interface in org.apache.zookeeper">AsyncCallback.Children2Callback</a>&nbsp;cb,
+           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getChildren.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.AsyncCallback.ChildrenCallback,%20java.lang.Object)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+           <a href="../../../org/apache/zookeeper/AsyncCallback.ChildrenCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.ChildrenCallback</a>&nbsp;cb,
+           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getChildren.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.data.Stat)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+           <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+           <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">For the given znode path return the stat and children list.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getConfig(boolean,%20org.apache.zookeeper.AsyncCallback.DataCallback,%20java.lang.Object)">getConfig</a></strong>(boolean&nbsp;watch,
+         <a href="../../../org/apache/zookeeper/AsyncCallback.DataCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.DataCallback</a>&nbsp;cb,
+         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The Asynchronous version of getConfig.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getConfig(boolean,%20org.apache.zookeeper.data.Stat)">getConfig</a></strong>(boolean&nbsp;watch,
+         <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Return the last committed configuration (as known to the server to which the client is connected)
+ and the stat of the configuration.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getConfig(org.apache.zookeeper.Watcher,%20org.apache.zookeeper.AsyncCallback.DataCallback,%20java.lang.Object)">getConfig</a></strong>(<a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         <a href="../../../org/apache/zookeeper/AsyncCallback.DataCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.DataCallback</a>&nbsp;cb,
+         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getConfig.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getConfig(org.apache.zookeeper.Watcher,%20org.apache.zookeeper.data.Stat)">getConfig</a></strong>(<a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Return the last committed configuration (as known to the server to which the client is connected)
+ and the stat of the configuration.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getData(java.lang.String,%20boolean,%20org.apache.zookeeper.AsyncCallback.DataCallback,%20java.lang.Object)">getData</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+       boolean&nbsp;watch,
+       <a href="../../../org/apache/zookeeper/AsyncCallback.DataCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.DataCallback</a>&nbsp;cb,
+       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getData.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getData(java.lang.String,%20boolean,%20org.apache.zookeeper.data.Stat)">getData</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+       boolean&nbsp;watch,
+       <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Return the data and the stat of the node of the given path.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.AsyncCallback.DataCallback,%20java.lang.Object)">getData</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+       <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+       <a href="../../../org/apache/zookeeper/AsyncCallback.DataCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.DataCallback</a>&nbsp;cb,
+       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of getData.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.data.Stat)">getData</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+       <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+       <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Return the data and the stat of the node of the given path.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>org.apache.zookeeper.client.ZooKeeperSaslClient</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getSaslClient()">getSaslClient</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionId()">getSessionId</a></strong>()</code>
+<div class="block">The session id for this ZooKeeper client instance.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionPasswd()">getSessionPasswd</a></strong>()</code>
+<div class="block">The session password for this ZooKeeper client instance.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionTimeout()">getSessionTimeout</a></strong>()</code>
+<div class="block">The negotiated session timeout for this ZooKeeper client instance.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../org/apache/zookeeper/ZooKeeper.States.html" title="enum in org.apache.zookeeper">ZooKeeper.States</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getState()">getState</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>org.apache.zookeeper.Testable</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#getTestable()">getTestable</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.zookeeper.OpResult&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#multi(java.lang.Iterable)">multi</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;org.apache.zookeeper.Op&gt;&nbsp;ops)</code>
+<div class="block">Executes multiple ZooKeeper operations or none of them.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#multi(java.lang.Iterable,%20org.apache.zookeeper.AsyncCallback.MultiCallback,%20java.lang.Object)">multi</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;org.apache.zookeeper.Op&gt;&nbsp;ops,
+     <a href="../../../org/apache/zookeeper/AsyncCallback.MultiCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.MultiCallback</a>&nbsp;cb,
+     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of multi.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#reconfig(java.util.List,%20java.util.List,%20java.util.List,%20long,%20org.apache.zookeeper.AsyncCallback.DataCallback,%20java.lang.Object)">reconfig</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;joiningServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;leavingServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;newMembers,
+        long&nbsp;fromConfig,
+        <a href="../../../org/apache/zookeeper/AsyncCallback.DataCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.DataCallback</a>&nbsp;cb,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Convenience wrapper around asynchronous reconfig that takes Lists of strings instead of comma-separated servers.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#reconfig(java.util.List,%20java.util.List,%20java.util.List,%20long,%20org.apache.zookeeper.data.Stat)">reconfig</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;joiningServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;leavingServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;newMembers,
+        long&nbsp;fromConfig,
+        <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Convenience wrapper around reconfig that takes Lists of strings instead of comma-separated servers.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#reconfig(java.lang.String,%20java.lang.String,%20java.lang.String,%20long,%20org.apache.zookeeper.AsyncCallback.DataCallback,%20java.lang.Object)">reconfig</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;joiningServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;leavingServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newMembers,
+        long&nbsp;fromConfig,
+        <a href="../../../org/apache/zookeeper/AsyncCallback.DataCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.DataCallback</a>&nbsp;cb,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The Asynchronous version of reconfig.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#reconfig(java.lang.String,%20java.lang.String,%20java.lang.String,%20long,%20org.apache.zookeeper.data.Stat)">reconfig</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;joiningServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;leavingServers,
+        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newMembers,
+        long&nbsp;fromConfig,
+        <a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a>&nbsp;stat)</code>
+<div class="block">Reconfigure - add/remove servers.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#register(org.apache.zookeeper.Watcher)">register</a></strong>(<a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher)</code>
+<div class="block">Specify the default watcher for the connection (overrides the one
+ specified during construction).</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#removeAllWatches(java.lang.String,%20org.apache.zookeeper.Watcher.WatcherType,%20boolean)">removeAllWatches</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+                <a href="../../../org/apache/zookeeper/Watcher.WatcherType.html" title="enum in org.apache.zookeeper">Watcher.WatcherType</a>&nbsp;watcherType,
+                boolean&nbsp;local)</code>
+<div class="block">For the given znode path, removes all the registered watchers of given
+ watcherType.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#removeAllWatches(java.lang.String,%20org.apache.zookeeper.Watcher.WatcherType,%20boolean,%20org.apache.zookeeper.AsyncCallback.VoidCallback,%20java.lang.Object)">removeAllWatches</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+                <a href="../../../org/apache/zookeeper/Watcher.WatcherType.html" title="enum in org.apache.zookeeper">Watcher.WatcherType</a>&nbsp;watcherType,
+                boolean&nbsp;local,
+                <a href="../../../org/apache/zookeeper/AsyncCallback.VoidCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.VoidCallback</a>&nbsp;cb,
+                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of removeAllWatches.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#removeWatches(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.Watcher.WatcherType,%20boolean)">removeWatches</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+             <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+             <a href="../../../org/apache/zookeeper/Watcher.WatcherType.html" title="enum in org.apache.zookeeper">Watcher.WatcherType</a>&nbsp;watcherType,
+             boolean&nbsp;local)</code>
+<div class="block">For the given znode path, removes the specified watcher of given
+ watcherType.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#removeWatches(java.lang.String,%20org.apache.zookeeper.Watcher,%20org.apache.zookeeper.Watcher.WatcherType,%20boolean,%20org.apache.zookeeper.AsyncCallback.VoidCallback,%20java.lang.Object)">removeWatches</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+             <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+             <a href="../../../org/apache/zookeeper/Watcher.WatcherType.html" title="enum in org.apache.zookeeper">Watcher.WatcherType</a>&nbsp;watcherType,
+             boolean&nbsp;local,
+             <a href="../../../org/apache/zookeeper/AsyncCallback.VoidCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.VoidCallback</a>&nbsp;cb,
+             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of removeWatches.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#setACL(java.lang.String,%20java.util.List,%20int)">setACL</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+      int&nbsp;version)</code>
+<div class="block">Set the ACL for the node of the given path if such a node exists and the
+ given version matches the version of the node.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#setACL(java.lang.String,%20java.util.List,%20int,%20org.apache.zookeeper.AsyncCallback.StatCallback,%20java.lang.Object)">setACL</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+      int&nbsp;version,
+      <a href="../../../org/apache/zookeeper/AsyncCallback.StatCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.StatCallback</a>&nbsp;cb,
+      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of setACL.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../org/apache/zookeeper/data/Stat.html" title="class in org.apache.zookeeper.data">Stat</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#setData(java.lang.String,%20byte[],%20int)">setData</a></strong>(<a href="http://docs.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,
+       int&nbsp;version)</code>
+<div class="block">Set the data for the node of the given path if such a node exists and the
+ given version matches the version of the node (if the given version is
+ -1, it matches any node's versions).</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#setData(java.lang.String,%20byte[],%20int,%20org.apache.zookeeper.AsyncCallback.StatCallback,%20java.lang.Object)">setData</a></strong>(<a href="http://docs.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,
+       int&nbsp;version,
+       <a href="../../../org/apache/zookeeper/AsyncCallback.StatCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.StatCallback</a>&nbsp;cb,
+       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">The asynchronous version of setData.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#sync(java.lang.String,%20org.apache.zookeeper.AsyncCallback.VoidCallback,%20java.lang.Object)">sync</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+    <a href="../../../org/apache/zookeeper/AsyncCallback.VoidCallback.html" title="interface in org.apache.zookeeper">AsyncCallback.VoidCallback</a>&nbsp;cb,
+    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
+<div class="block">Asynchronous sync.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#toString()">toString</a></strong>()</code>
+<div class="block">String representation of this ZooKeeper client.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>org.apache.zookeeper.Transaction</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#transaction()">transaction</a></strong>()</code>
+<div class="block">A Transaction is a thin wrapper on the <a href="../../../org/apache/zookeeper/ZooKeeper.html#multi(java.lang.Iterable)"><code>multi(java.lang.Iterable&lt;org.apache.zookeeper.Op&gt;)</code></a> method
+ which provides a builder object that can be used to construct
+ and commit an atomic set of operations.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../org/apache/zookeeper/ZooKeeper.html#updateServerList(java.lang.String)">updateServerList</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString)</code>
+<div class="block">This function allows a client to update the connection string by providing 
+ a new comma separated list of host:port pairs, each corresponding to a 
+ ZooKeeper server.</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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="ZOOKEEPER_CLIENT_CNXN_SOCKET">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ZOOKEEPER_CLIENT_CNXN_SOCKET</h4>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ZOOKEEPER_CLIENT_CNXN_SOCKET</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.zookeeper.ZooKeeper.ZOOKEEPER_CLIENT_CNXN_SOCKET">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="ZooKeeper(java.lang.String, int, org.apache.zookeeper.Watcher)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ZooKeeper</h4>
+<pre>public&nbsp;ZooKeeper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher)
+          throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.
+ <p>
+ Session establishment is asynchronous. This constructor will initiate
+ connection to the server and return immediately - potentially (usually)
+ before the session is fully established. The watcher argument specifies
+ the watcher that will be notified of any changes in state. This
+ notification can come at any point before or after the constructor call
+ has returned.
+ <p>
+ The instantiated ZooKeeper client object will pick an arbitrary server
+ from the connectString and attempt to connect to it. If establishment of
+ the connection fails, another server in the connect string will be tried
+ (the order is non-deterministic, as we random shuffle the list), until a
+ connection is established. The client will continue attempts until the
+ session is explicitly closed.
+ <p>
+ Added in 3.2.0: An optional "chroot" suffix may also be appended to the
+ connection string. This will run the client commands while interpreting
+ all paths relative to this root (similar to the unix chroot command).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>connectString</code> - comma separated host:port pairs, each corresponding to a zk
+            server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002" If
+            the optional chroot suffix is used the example would look
+            like: "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002/app/a"
+            where the client would be rooted at "/app/a" and all paths
+            would be relative to this root - ie getting/setting/etc...
+            "/foo/bar" would result in operations being run on
+            "/app/a/foo/bar" (from the server perspective).</dd><dd><code>sessionTimeout</code> - session timeout in milliseconds</dd><dd><code>watcher</code> - a watcher object which will be notified of state changes, may
+            also be notified for node events</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in cases of network failure</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid chroot path is specified</dd></dl>
+</li>
+</ul>
+<a name="ZooKeeper(java.lang.String, int, org.apache.zookeeper.Watcher, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ZooKeeper</h4>
+<pre>public&nbsp;ZooKeeper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         boolean&nbsp;canBeReadOnly)
+          throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.
+ <p>
+ Session establishment is asynchronous. This constructor will initiate
+ connection to the server and return immediately - potentially (usually)
+ before the session is fully established. The watcher argument specifies
+ the watcher that will be notified of any changes in state. This
+ notification can come at any point before or after the constructor call
+ has returned.
+ <p>
+ The instantiated ZooKeeper client object will pick an arbitrary server
+ from the connectString and attempt to connect to it. If establishment of
+ the connection fails, another server in the connect string will be tried
+ (the order is non-deterministic, as we random shuffle the list), until a
+ connection is established. The client will continue attempts until the
+ session is explicitly closed.
+ <p>
+ Added in 3.2.0: An optional "chroot" suffix may also be appended to the
+ connection string. This will run the client commands while interpreting
+ all paths relative to this root (similar to the unix chroot command).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>connectString</code> - comma separated host:port pairs, each corresponding to a zk
+            server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002" If
+            the optional chroot suffix is used the example would look
+            like: "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002/app/a"
+            where the client would be rooted at "/app/a" and all paths
+            would be relative to this root - ie getting/setting/etc...
+            "/foo/bar" would result in operations being run on
+            "/app/a/foo/bar" (from the server perspective).</dd><dd><code>sessionTimeout</code> - session timeout in milliseconds</dd><dd><code>watcher</code> - a watcher object which will be notified of state changes, may
+            also be notified for node events</dd><dd><code>canBeReadOnly</code> - (added in 3.4) whether the created client is allowed to go to
+            read-only mode in case of partitioning. Read-only mode
+            basically means that if the client can't find any majority
+            servers but there's partitioned server it could reach, it
+            connects to one in read-only mode, i.e. read requests are
+            allowed while write requests are not. It continues seeking for
+           majority in the background.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in cases of network failure</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid chroot path is specified</dd></dl>
+</li>
+</ul>
+<a name="ZooKeeper(java.lang.String, int, org.apache.zookeeper.Watcher, long, byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ZooKeeper</h4>
+<pre>public&nbsp;ZooKeeper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         long&nbsp;sessionId,
+         byte[]&nbsp;sessionPasswd)
+          throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.
+ <p>
+ Session establishment is asynchronous. This constructor will initiate
+ connection to the server and return immediately - potentially (usually)
+ before the session is fully established. The watcher argument specifies
+ the watcher that will be notified of any changes in state. This
+ notification can come at any point before or after the constructor call
+ has returned.
+ <p>
+ The instantiated ZooKeeper client object will pick an arbitrary server
+ from the connectString and attempt to connect to it. If establishment of
+ the connection fails, another server in the connect string will be tried
+ (the order is non-deterministic, as we random shuffle the list), until a
+ connection is established. The client will continue attempts until the
+ session is explicitly closed (or the session is expired by the server).
+ <p>
+ Added in 3.2.0: An optional "chroot" suffix may also be appended to the
+ connection string. This will run the client commands while interpreting
+ all paths relative to this root (similar to the unix chroot command).
+ <p>
+ Use <a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionId()"><code>getSessionId()</code></a> and <a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionPasswd()"><code>getSessionPasswd()</code></a> on an established
+ client connection, these values must be passed as sessionId and
+ sessionPasswd respectively if reconnecting. Otherwise, if not
+ reconnecting, use the other constructor which does not require these
+ parameters.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>connectString</code> - comma separated host:port pairs, each corresponding to a zk
+            server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002"
+            If the optional chroot suffix is used the example would look
+            like: "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002/app/a"
+            where the client would be rooted at "/app/a" and all paths
+            would be relative to this root - ie getting/setting/etc...
+            "/foo/bar" would result in operations being run on
+            "/app/a/foo/bar" (from the server perspective).</dd><dd><code>sessionTimeout</code> - session timeout in milliseconds</dd><dd><code>watcher</code> - a watcher object which will be notified of state changes, may
+            also be notified for node events</dd><dd><code>sessionId</code> - specific session id to use if reconnecting</dd><dd><code>sessionPasswd</code> - password for this session</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in cases of network failure</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid chroot path is specified</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - for an invalid list of ZooKeeper hosts</dd></dl>
+</li>
+</ul>
+<a name="ZooKeeper(java.lang.String, int, org.apache.zookeeper.Watcher, long, byte[], boolean)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ZooKeeper</h4>
+<pre>public&nbsp;ZooKeeper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString,
+         int&nbsp;sessionTimeout,
+         <a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher,
+         long&nbsp;sessionId,
+         byte[]&nbsp;sessionPasswd,
+         boolean&nbsp;canBeReadOnly)
+          throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">To create a ZooKeeper client object, the application needs to pass a
+ connection string containing a comma separated list of host:port pairs,
+ each corresponding to a ZooKeeper server.
+ <p>
+ Session establishment is asynchronous. This constructor will initiate
+ connection to the server and return immediately - potentially (usually)
+ before the session is fully established. The watcher argument specifies
+ the watcher that will be notified of any changes in state. This
+ notification can come at any point before or after the constructor call
+ has returned.
+ <p>
+ The instantiated ZooKeeper client object will pick an arbitrary server
+ from the connectString and attempt to connect to it. If establishment of
+ the connection fails, another server in the connect string will be tried
+ (the order is non-deterministic, as we random shuffle the list), until a
+ connection is established. The client will continue attempts until the
+ session is explicitly closed (or the session is expired by the server).
+ <p>
+ Added in 3.2.0: An optional "chroot" suffix may also be appended to the
+ connection string. This will run the client commands while interpreting
+ all paths relative to this root (similar to the unix chroot command).
+ <p>
+ Use <a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionId()"><code>getSessionId()</code></a> and <a href="../../../org/apache/zookeeper/ZooKeeper.html#getSessionPasswd()"><code>getSessionPasswd()</code></a> on an established
+ client connection, these values must be passed as sessionId and
+ sessionPasswd respectively if reconnecting. Otherwise, if not
+ reconnecting, use the other constructor which does not require these
+ parameters.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>connectString</code> - comma separated host:port pairs, each corresponding to a zk
+            server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002"
+            If the optional chroot suffix is used the example would look
+            like: "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002/app/a"
+            where the client would be rooted at "/app/a" and all paths
+            would be relative to this root - ie getting/setting/etc...
+            "/foo/bar" would result in operations being run on
+            "/app/a/foo/bar" (from the server perspective).</dd><dd><code>sessionTimeout</code> - session timeout in milliseconds</dd><dd><code>watcher</code> - a watcher object which will be notified of state changes, may
+            also be notified for node events</dd><dd><code>sessionId</code> - specific session id to use if reconnecting</dd><dd><code>sessionPasswd</code> - password for this session</dd><dd><code>canBeReadOnly</code> - (added in 3.4) whether the created client is allowed to go to
+            read-only mode in case of partitioning. Read-only mode
+            basically means that if the client can't find any majority
+            servers but there's partitioned server it could reach, it
+            connects to one in read-only mode, i.e. read requests are
+            allowed while write requests are not. It continues seeking for
+            majority in the background.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in cases of network failure</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid chroot path is specified</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="updateServerList(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>updateServerList</h4>
+<pre>public&nbsp;void&nbsp;updateServerList(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connectString)
+                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">This function allows a client to update the connection string by providing 
+ a new comma separated list of host:port pairs, each corresponding to a 
+ ZooKeeper server. 
+ <p>
+ The function invokes a <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-1355">
+ probabilistic load-balancing algorithm</a> which may cause the client to disconnect from 
+ its current host with the goal to achieve expected uniform number of connections per server 
+ in the new list. In case the current host to which the client is connected is not in the new
+ list this call will always cause the connection to be dropped. Otherwise, the decision
+ is based on whether the number of servers has increased or decreased and by how much.
+ For example, if the previous connection string contained 3 hosts and now the list contains
+ these 3 hosts and 2 more hosts, 40% of clients connected to each of the 3 hosts will
+ move to one of the new hosts in order to balance the load. The algorithm will disconnect 
+ from the current host with probability 0.4 and in this case cause the client to connect 
+ to one of the 2 new hosts, chosen at random.
+ <p>
+ If the connection is dropped, the client moves to a special mode "reconfigMode" where he chooses
+ a new server to connect to using the probabilistic algorithm. After finding a server,
+ or exhausting all servers in the new list after trying all of them and failing to connect,
+ the client moves back to the normal mode of operation where it will pick an arbitrary server
+ from the connectString and attempt to connect to it. If establishment of
+ the connection fails, another server in the connect string will be tried
+ (the order is non-deterministic, as we random shuffle the list), until a
+ connection is established. The client will continue attempts until the
+ session is explicitly closed (or the session is expired by the server).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>connectString</code> - comma separated host:port pairs, each corresponding to a zk
+            server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002"
+            If the optional chroot suffix is used the example would look
+            like: "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002/app/a"
+            where the client would be rooted at "/app/a" and all paths
+            would be relative to this root - ie getting/setting/etc...
+            "/foo/bar" would result in operations being run on
+            "/app/a/foo/bar" (from the server perspective).</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in cases of network failure</dd></dl>
+</li>
+</ul>
+<a name="getSaslClient()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSaslClient</h4>
+<pre>public&nbsp;org.apache.zookeeper.client.ZooKeeperSaslClient&nbsp;getSaslClient()</pre>
+</li>
+</ul>
+<a name="getTestable()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTestable</h4>
+<pre>public&nbsp;org.apache.zookeeper.Testable&nbsp;getTestable()</pre>
+</li>
+</ul>
+<a name="getSessionId()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSessionId</h4>
+<pre>public&nbsp;long&nbsp;getSessionId()</pre>
+<div class="block">The session id for this ZooKeeper client instance. The value returned is
+ not valid until the client connects to a server and may change after a
+ re-connect.
+
+ This method is NOT thread safe</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>current session id</dd></dl>
+</li>
+</ul>
+<a name="getSessionPasswd()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSessionPasswd</h4>
+<pre>public&nbsp;byte[]&nbsp;getSessionPasswd()</pre>
+<div class="block">The session password for this ZooKeeper client instance. The value
+ returned is not valid until the client connects to a server and may
+ change after a re-connect.
+
+ This method is NOT thread safe</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>current session password</dd></dl>
+</li>
+</ul>
+<a name="getSessionTimeout()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSessionTimeout</h4>
+<pre>public&nbsp;int&nbsp;getSessionTimeout()</pre>
+<div class="block">The negotiated session timeout for this ZooKeeper client instance. The
+ value returned is not valid until the client connects to a server and
+ may change after a re-connect.
+
+ This method is NOT thread safe</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>current session timeout</dd></dl>
+</li>
+</ul>
+<a name="addAuthInfo(java.lang.String, byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addAuthInfo</h4>
+<pre>public&nbsp;void&nbsp;addAuthInfo(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme,
+               byte[]&nbsp;auth)</pre>
+<div class="block">Add the specified scheme:auth information to this connection.
+
+ This method is NOT thread safe</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>scheme</code> - </dd><dd><code>auth</code> - </dd></dl>
+</li>
+</ul>
+<a name="register(org.apache.zookeeper.Watcher)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>register</h4>
+<pre>public&nbsp;void&nbsp;register(<a href="../../../org/apache/zookeeper/Watcher.html" title="interface in org.apache.zookeeper">Watcher</a>&nbsp;watcher)</pre>
+<div class="block">Specify the default watcher for the connection (overrides the one
+ specified during construction).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>watcher</code> - </dd></dl>
+</li>
+</ul>
+<a name="close()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>close</h4>
+<pre>public&nbsp;void&nbsp;close()
+           throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
+<div class="block">Close this client object. Once the client is closed, its session becomes
+ invalid. All the ephemeral nodes in the ZooKeeper server associated with
+ the session will be removed. The watches left on those nodes (and on
+ their parents) will be triggered.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd></dl>
+</li>
+</ul>
+<a name="create(java.lang.String, byte[], java.util.List, org.apache.zookeeper.CreateMode)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>create</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;create(<a href="http://docs.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,
+            <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,
+            <a href="../../../org/apache/zookeeper/CreateMode.html" title="enum in org.apache.zookeeper">CreateMode</a>&nbsp;createMode)
+              throws <a href="../../../org/apache/zookeeper/KeeperException.html" title="class in org.apache.zookeeper">KeeperException</a>,
+                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
+<div class="block">Create a node with the given path. The node data will be the given data,
+ and node acl will be the given acl.
+ <p>
+ The flags argument specifies whether the created node will be ephemeral
+ or not.
+ <p>
+ An ephemeral node will be removed by the ZooKeeper automatically when the
+ session associated with the creation of the node expires.
+ <p>
+ The flags argument can also specify to create a sequential node. The
+ actual path name of a sequential node will be the given path plus a
+ suffix "i" where i is the current sequential number of the node. The sequence
+ number is always fixed length of 10 digits, 0 padded. Once
+ such a node is created, the sequential number will be incremented by one.
+ <p>
+ If a node with the same actual path already exists in the ZooKeeper, a
+ KeeperException with error code KeeperException.NodeExists will be
+ thrown. Note that since a different actual path is used for each
+ invocation of creating sequential node with the same path argument, the
+ call will never throw "file exists" KeeperException.
+ <p>
+ If the parent node does not exist in the ZooKeeper, a KeeperException
+ with error code KeeperException.NoNode will be thrown.
+ <p>
+ An ephemeral node cannot have children. If the parent node of the given
+ path is ephemeral, a KeeperException with error code
+ KeeperException.NoChildrenForEphemerals will be thrown.
+ <p>
+ This operation, if successful, will trigger all the watches left on the
+ node of the given path by exists and getData API calls, and the watches
+ left on the parent node by getChildren API calls.
+ <p>
+ If a node is created successfully, the ZooKeeper server will trigger the
+ watches on the path left by exists calls, and the watches on the parent
+ of the node by getChildren calls.
+ <p>
+ The maximum allowable size of the data array is 1 MB (1,048,576 bytes).
+ Arrays larger than this will cause a KeeperExecption to be thrown.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path for the node</dd><dd><code>data</code> - the initial data for the node</dd><dd><code>acl</code> - the acl for the node</dd><dd><code>createMode</code> - specifying whether the node to be created is ephemeral
+                and/or sequential</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the actual path of the created node</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="../../../org/apache/zookeeper/KeeperException.html" title="class in org.apache.zookeeper">KeeperException</a></code> - if the server returns a non-zero error code</dd>
+<dd><code><a href="../../../org/apache/zookeeper/KeeperException.InvalidACLException.html" title="class in org.apache.zookeeper">KeeperException.InvalidACLException</a></code> - if the ACL is invalid, null, or empty</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code> - if the transaction is interrupted</dd>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid path is specified</dd></dl>
+</li>
+</ul>
+<a name="create(java.lang.String, byte[], java.util.List, org.apache.zookeeper.CreateMode, org.apache.zookeeper.data.Stat)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>create</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;create(<a href="http://docs.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,
+            <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../org/apache/zookeeper/data/ACL.html" title="class in org.apache.zookeeper.data">ACL</a>&gt;&nbsp;acl,

[... 1027 lines stripped ...]