http://git-wip-us.apache.org/repos/asf/twill/blob/8abb84ac/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.OperationType.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.OperationType.html b/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.OperationType.html new file mode 100644 index 0000000..1610bd6 --- /dev/null +++ b/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.OperationType.html @@ -0,0 +1,398 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Sat Apr 08 11:09:16 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RetryStrategy.OperationType (Apache Twill 0.11.0 API)</title> +<meta name="date" content="2017-04-08"> +<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="RetryStrategy.OperationType (Apache Twill 0.11.0 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RetryStrategy.OperationType.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/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/zookeeper/RetryStrategy.OperationType.html" target="_top">Frames</a></li> +<li><a href="RetryStrategy.OperationType.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: </li> +<li>Nested | </li> +<li><a href="#enum_constant_summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum_constant_detail">Enum Constants</a> | </li> +<li>Field | </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.twill.zookeeper</div> +<h2 title="Enum RetryStrategy.OperationType" class="title">Enum RetryStrategy.OperationType</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/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><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a>></li> +<li> +<ul class="inheritance"> +<li>org.apache.twill.zookeeper.RetryStrategy.OperationType</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a>></dd> +</dl> +<dl> +<dt>Enclosing interface:</dt> +<dd><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></dd> +</dl> +<hr> +<br> +<pre>public static enum <span class="strong">RetryStrategy.OperationType</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a>></pre> +<div class="block">Defines ZooKeeper operation type that triggers retry.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum_constant_summary"> +<!-- --> +</a> +<h3>Enum Constant Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> +<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Enum Constant and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#CREATE">CREATE</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#DELETE">DELETE</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#EXISTS">EXISTS</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#GET_ACL">GET_ACL</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#GET_CHILDREN">GET_CHILDREN</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#GET_DATA">GET_DATA</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#SET_ACL">SET_ACL</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#SET_DATA">SET_DATA</a></strong></code> </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"> </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>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html#values()">values</a></strong>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/ api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class,%20java.lang.String)" title="class or interface in java.lang">valueOf</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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"> +<!-- ============ ENUM CONSTANT DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum_constant_detail"> +<!-- --> +</a> +<h3>Enum Constant Detail</h3> +<a name="CREATE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>CREATE</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> CREATE</pre> +</li> +</ul> +<a name="EXISTS"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXISTS</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> EXISTS</pre> +</li> +</ul> +<a name="GET_CHILDREN"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>GET_CHILDREN</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> GET_CHILDREN</pre> +</li> +</ul> +<a name="GET_DATA"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>GET_DATA</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> GET_DATA</pre> +</li> +</ul> +<a name="SET_DATA"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>SET_DATA</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> SET_DATA</pre> +</li> +</ul> +<a name="DELETE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>DELETE</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> DELETE</pre> +</li> +</ul> +<a name="SET_ACL"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>SET_ACL</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> SET_ACL</pre> +</li> +</ul> +<a name="GET_ACL"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GET_ACL</h4> +<pre>public static final <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> GET_ACL</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="values()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a>[] values()</pre> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +<pre> +for (RetryStrategy.OperationType c : RetryStrategy.OperationType.values()) + System.out.println(c); +</pre></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl> +</li> +</ul> +<a name="valueOf(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>valueOf</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> valueOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Returns the enum constant of this type with the specified name. +The string must match <i>exactly</i> an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RetryStrategy.OperationType.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/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/zookeeper/RetryStrategy.OperationType.html" target="_top">Frames</a></li> +<li><a href="RetryStrategy.OperationType.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#enum_constant_summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum_constant_detail">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/twill/blob/8abb84ac/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.html b/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.html new file mode 100644 index 0000000..46e751a --- /dev/null +++ b/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/RetryStrategy.html @@ -0,0 +1,242 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Sat Apr 08 11:09:16 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RetryStrategy (Apache Twill 0.11.0 API)</title> +<meta name="date" content="2017-04-08"> +<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="RetryStrategy (Apache Twill 0.11.0 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RetryStrategy.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/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/zookeeper/RetryStrategy.html" target="_top">Frames</a></li> +<li><a href="RetryStrategy.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: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.twill.zookeeper</div> +<h2 title="Interface RetryStrategy" class="title">Interface RetryStrategy</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">RetryStrategy</span></pre> +<div class="block">Provides strategy to use for operation retries.</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"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Interface and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a></strong></code> +<div class="block">Defines ZooKeeper operation type that triggers retry.</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"> </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>long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html#nextRetry(int,%20long,%20org.apache.twill.zookeeper.RetryStrategy.OperationType,%20java.lang.String)">nextRetry</a></strong>(int failureCount, + long startTime, + <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> type, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Returns the number of milliseconds to wait before retrying the operation.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="nextRetry(int, long, org.apache.twill.zookeeper.RetryStrategy.OperationType, java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>nextRetry</h4> +<pre>long nextRetry(int failureCount, + long startTime, + <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a> type, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Returns the number of milliseconds to wait before retrying the operation.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>failureCount</code> - Number of times that the request has been failed.</dd><dd><code>startTime</code> - Timestamp in milliseconds that the request starts.</dd><dd><code>type</code> - Type of operation tried to perform.</dd><dd><code>path</code> - The path that the operation is acting on.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Number of milliseconds to wait before retrying the operation. Returning <code>0</code> means + retry it immediately, while negative means abort the operation.</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RetryStrategy.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/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/zookeeper/RetryStrategy.html" target="_top">Frames</a></li> +<li><a href="RetryStrategy.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/twill/blob/8abb84ac/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/ZKClient.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/ZKClient.html b/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/ZKClient.html new file mode 100644 index 0000000..af13bdd --- /dev/null +++ b/src/site/resources/apidocs-0.11.0/org/apache/twill/zookeeper/ZKClient.html @@ -0,0 +1,631 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Sat Apr 08 11:09:16 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>ZKClient (Apache Twill 0.11.0 API)</title> +<meta name="date" content="2017-04-08"> +<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="ZKClient (Apache Twill 0.11.0 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/ZKClient.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/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/zookeeper/ZKClient.html" target="_top">Frames</a></li> +<li><a href="ZKClient.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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.twill.zookeeper</div> +<h2 title="Interface ZKClient" class="title">Interface ZKClient</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Subinterfaces:</dt> +<dd><a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a>, <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> +<br> +<pre>public interface <span class="strong">ZKClient</span></pre> +<div class="block">A ZooKeeper client that provides asynchronous zookeeper operations.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher</a></strong>(org.apache.zookeeper.Watcher watcher)</code> +<div class="block">Adds a <code>Watcher</code> that will be called whenever connection state change.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + byte[] data, + org.apache.zookeeper.CreateMode createMode)</code> +<div class="block">Creates a path in zookeeper.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + byte[] data, + org.apache.zookeeper.CreateMode createMode, + boolean createParent)</code> +<div class="block">Creates a path in zookeeper.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + byte[] data, + org.apache.zookeeper.CreateMode createMode, + boolean createParent, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl)</code> +<div class="block">Creates a path in zookeeper, with given data and create mode.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20java.lang.Iterable)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + byte[] data, + org.apache.zookeeper.CreateMode createMode, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl)</code> +<div class="block">Creates a path in zookeeper.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#delete(java.lang.String)">delete</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Deletes the node of the given path without matching version.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#delete(java.lang.String,%20int)">delete</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> deletePath, + int version)</code> +<div class="block">Deletes the node of the given path that match the given version.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String)">exists</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Checks if the path exists.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)">exists</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + org.apache.zookeeper.Watcher watcher)</code> +<div class="block">Checks if the given path exists and leave a watcher on the node for watching creation/deletion/data changes + on the node.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/ACLData.html" title="interface in org.apache.twill.zookeeper">ACLData</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getACL(java.lang.String)">getACL</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Retrieves the Stat and ACL being set at the given path.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Gets the list of children nodes under the given path.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)">getChildren</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + org.apache.zookeeper.Watcher watcher)</code> +<div class="block">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.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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/twill/zookeeper/ZKClient.html#getConnectString()">getConnectString</a></strong>()</code> +<div class="block">Returns the connection string used for connecting to Zookeeper.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String)">getData</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Gets the data stored in the given path.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)">getData</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + org.apache.zookeeper.Watcher watcher)</code> +<div class="block">Gets the data stored in the given path and leave a watcher on the node for watching deletion/data changes on + the node.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getSessionId()">getSessionId</a></strong>()</code> +<div class="block">Returns the current Zookeeper session ID of this client.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable)">setACL</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl)</code> +<div class="block">Sets the ACL of the given path if the path exists.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)">setACL</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl, + int version)</code> +<div class="block">Sets the ACL of the given path if the path exists and version matched.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String,%20byte[])">setData</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + byte[] data)</code> +<div class="block">Sets the data for the given path without matching version.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String,%20byte[],%20int)">setData</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dataPath, + byte[] data, + int version)</code> +<div class="block">Sets the data for the given path that match the given version.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getSessionId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSessionId</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> getSessionId()</pre> +<div class="block">Returns the current Zookeeper session ID of this client. + If this ZKClient is not connected, <code>null</code> is returned.</div> +</li> +</ul> +<a name="getConnectString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConnectString</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getConnectString()</pre> +<div class="block">Returns the connection string used for connecting to Zookeeper.</div> +</li> +</ul> +<a name="addConnectionWatcher(org.apache.zookeeper.Watcher)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addConnectionWatcher</h4> +<pre><a href="../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a> addConnectionWatcher(org.apache.zookeeper.Watcher watcher)</pre> +<div class="block">Adds a <code>Watcher</code> that will be called whenever connection state change.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>watcher</code> - The watcher to set.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common"><code>Cancellable</code></a> for removing the watcher</dd></dl> +</li> +</ul> +<a name="create(java.lang.String, byte[], org.apache.zookeeper.CreateMode)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + byte[] data, + org.apache.zookeeper.CreateMode createMode)</pre> +<div class="block">Creates a path in zookeeper. Same as calling + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)"><code>create(path, data, createMode, true)</code></a>.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)"><code>create(String, byte[], org.apache.zookeeper.CreateMode, boolean)</code></a></dd></dl> +</li> +</ul> +<a name="create(java.lang.String, byte[], org.apache.zookeeper.CreateMode, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + byte[] data, + org.apache.zookeeper.CreateMode createMode, + boolean createParent)</pre> +<div class="block">Creates a path in zookeeper. Same as calling + + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)"><code>create(path, data, createMode, createParent, ZooDefs.Ids.OPEN_ACL_UNSAFE)</code></a></div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)"><code>create(String, byte[], org.apache.zookeeper.CreateMode, boolean, Iterable)</code></a></dd></dl> +</li> +</ul> +<a name="create(java.lang.String, byte[], org.apache.zookeeper.CreateMode, java.lang.Iterable)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + byte[] data, + org.apache.zookeeper.CreateMode createMode, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl)</pre> +<div class="block">Creates a path in zookeeper. Same as calling + + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)"><code>create(path, data, createMode, true, acl)</code></a></div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)"><code>create(String, byte[], org.apache.zookeeper.CreateMode, boolean, Iterable)</code></a></dd></dl> +</li> +</ul> +<a name="create(java.lang.String, byte[], org.apache.zookeeper.CreateMode, boolean, java.lang.Iterable)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + byte[] data, + org.apache.zookeeper.CreateMode createMode, + boolean createParent, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl)</pre> +<div class="block">Creates a path in zookeeper, with given data and create mode.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - Path to be created</dd><dd><code>data</code> - Data to be stored in the node, or <code>null</code> if no data to store.</dd><dd><code>createMode</code> - The <code>CreateMode</code> for the node.</dd><dd><code>createParent</code> - If <code>true</code> and parent nodes are missing, it will create all parent nodes as normal + persistent node with the ACL <code>ZooDefs.Ids.OPEN_ACL_UNSAFE</code> + before creating the request node.</dd><dd><code>acl</code> - Set of <code>ACL</code> to be set for the node being created.</dd> +<dt><span class="strong">Returns:</span></dt><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.</dd></dl> +</li> +</ul> +<a name="exists(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exists</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat> exists(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Checks if the path exists. Same as calling + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>exists(path, null)</code></a>.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>exists(String, org.apache.zookeeper.Watcher)</code></a></dd></dl> +</li> +</ul> +<a name="exists(java.lang.String, org.apache.zookeeper.Watcher)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exists</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat> exists(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + org.apache.zookeeper.Watcher watcher)</pre> +<div class="block">Checks if the given path exists and leave a watcher on the node for watching creation/deletion/data changes + on the node.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - The path to check for existence.</dd><dd><code>watcher</code> - Watcher for watching changes, or <code>null</code> if no watcher to set.</dd> +<dt><span class="strong">Returns:</span></dt><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.</dd></dl> +</li> +</ul> +<a name="getChildren(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getChildren</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</a>> getChildren(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Gets the list of children nodes under the given path. Same as calling + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>getChildren(path, null)</code></a>.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>getChildren(String, org.apache.zookeeper.Watcher)</code></a></dd></dl> +</li> +</ul> +<a name="getChildren(java.lang.String, org.apache.zookeeper.Watcher)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getChildren</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</a>> getChildren(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + org.apache.zookeeper.Watcher watcher)</pre> +<div class="block">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.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - The path to fetch for children nodes</dd><dd><code>watcher</code> - Watcher for watching changes, or <code>null</code> if no watcher to set.</dd> +<dt><span class="strong">Returns:</span></dt><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.</dd></dl> +</li> +</ul> +<a name="getData(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getData</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</a>> getData(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Gets the data stored in the given path. Same as calling + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>getData(path, null)</code></a>.</div> +</li> +</ul> +<a name="getData(java.lang.String, org.apache.zookeeper.Watcher)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getData</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</a>> getData(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> + org.apache.zookeeper.Watcher watcher)</pre> +<div class="block">Gets the data stored in the given path and leave a watcher on the node for watching deletion/data changes on + the node.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - The path to get data from.</dd><dd><code>watcher</code> - Watcher for watching changes, or <code>null</code> if no watcher to set.</dd> +<dt><span class="strong">Returns:</span></dt><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.</dd></dl> +</li> +</ul> +<a name="setData(java.lang.String, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setData</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat> setData(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + byte[] data)</pre> +<div class="block">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,%20byte[],%20int)"><code>setData(path, data, -1)</code></a>.</div> +</li> +</ul> +<a name="setData(java.lang.String, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setData</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat> setData(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dataPath, + byte[] data, + int version)</pre> +<div class="block">Sets the data for the given path that match the given version. If the version given is <code>-1</code>, it matches + any version.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataPath</code> - The path to set data to.</dd><dd><code>data</code> - Data to be set.</dd><dd><code>version</code> - Matching version.</dd> +<dt><span class="strong">Returns:</span></dt><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.</dd></dl> +</li> +</ul> +<a name="delete(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> delete(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">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,%20int)"><code>delete(path, -1)</code></a>.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String,%20int)"><code>delete(String, int)</code></a></dd></dl> +</li> +</ul> +<a name="delete(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> delete(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> deletePath, + int version)</pre> +<div class="block">Deletes the node of the given path that match the given version. If the version given is <code>-1</code>, it matches + any version.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>deletePath</code> - The path to set data to.</dd><dd><code>version</code> - Matching version.</dd> +<dt><span class="strong">Returns:</span></dt><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.</dd></dl> +</li> +</ul> +<a name="getACL(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getACL</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><<a href="../../../../org/apache/twill/zookeeper/ACLData.html" title="interface in org.apache.twill.zookeeper">ACLData</a>> getACL(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Retrieves the Stat and ACL being set at the given path.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - The path to get information from.</dd> +<dt><span class="strong">Returns:</span></dt><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 getACL call is done, with the result given as + <a href="../../../../org/apache/twill/zookeeper/ACLData.html" title="interface in org.apache.twill.zookeeper"><code>ACLData</code></a>. If there is error, it will be reflected as error in the future.</dd></dl> +</li> +</ul> +<a name="setACL(java.lang.String, java.lang.Iterable)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setACL</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat> setACL(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl)</pre> +<div class="block">Sets the ACL of the given path if the path exists. Same as calling + <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)"><code>setACL(path, acl, -1)</code></a></div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)"><code>setACL(String, Iterable, int)</code></a></dd></dl> +</li> +</ul> +<a name="setACL(java.lang.String, java.lang.Iterable, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>setACL</h4> +<pre><a href="../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a><org.apache.zookeeper.data.Stat> setACL(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.zookeeper.data.ACL> acl, + int version)</pre> +<div class="block">Sets the ACL of the given path if the path exists and version matched.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - The path to have ACL being set.</dd><dd><code>acl</code> - ACL to set to.</dd><dd><code>version</code> - Version of the node.</dd> +<dt><span class="strong">Returns:</span></dt><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 setACL call is done, with the node <code>Stat</code> + available as the future result. If there is error, it will be reflected as error in the future.</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/ZKClient.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/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/zookeeper/ZKClient.html" target="_top">Frames</a></li> +<li><a href="ZKClient.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
