http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/ForwardingZKClientService.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/ForwardingZKClientService.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/ForwardingZKClientService.html new file mode 100644 index 0000000..e298ee4 --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/ForwardingZKClientService.html @@ -0,0 +1,456 @@ +<!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 Fri Aug 25 09:24:51 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>ForwardingZKClientService (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<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="ForwardingZKClientService (Apache Twill 0.12.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/ForwardingZKClientService.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/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/NodeChildren.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/ForwardingZKClientService.html" target="_top">Frames</a></li> +<li><a href="ForwardingZKClientService.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><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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="Class ForwardingZKClientService" class="title">Class ForwardingZKClientService</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="../../../../org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">org.apache.twill.zookeeper.AbstractZKClient</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">org.apache.twill.zookeeper.ForwardingZKClient</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.twill.zookeeper.ForwardingZKClientService</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>com.google.common.util.concurrent.Service, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></dd> +</dl> +<hr> +<br> +<pre>public abstract class <span class="strong">ForwardingZKClientService</span> +extends <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a> +implements <a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></pre> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_org.apache.twill.zookeeper.ZKClientService"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface org.apache.twill.zookeeper.<a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></h3> +<code><a href="../../../../org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_com.google.common.util.concurrent.Service"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service</h3> +<code>com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State</code></li> +</ul> +</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"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#ForwardingZKClientService(org.apache.twill.zookeeper.ZKClientService)">ForwardingZKClientService</a></strong>(<a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a> delegate)</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>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#addListener(com.google.common.util.concurrent.Service.Listener,%20java.util.concurrent.Executor)">addListener</a></strong>(com.google.common.util.concurrent.Service.Listener listener, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent">Executor</a> executor)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>com.google.common.base.Supplier<org.apache.zookeeper.ZooKeeper></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#getZooKeeperSupplier()">getZooKeeperSupplier</a></strong>()</code> +<div class="block">Returns a <code>Supplier</code> of <code>ZooKeeper</code> that gives the current <code>ZooKeeper</code> in use at the moment + when <code>Supplier.get()</code> get called.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#isRunning()">isRunning</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture<com.google.common.util.concurrent.Service.State></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#start()">start</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>com.google.common.util.concurrent.Service.State</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#startAndWait()">startAndWait</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>com.google.common.util.concurrent.Service.State</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#state()">state</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture<com.google.common.util.concurrent.Service.State></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#stop()">stop</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>com.google.common.util.concurrent.Service.State</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html#stopAndWait()">stopAndWait</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.twill.zookeeper.ForwardingZKClient"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.twill.zookeeper.<a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></h3> +<code><a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)">create</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#delete(java.lang.String,%20int)">delete</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)">exists</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#getACL(java.lang.String)">getACL</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)">getChildren</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#getConnectString()">getConnectString</a>, <a href="../../../ ../org/apache/twill/zookeeper/ForwardingZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)">getData</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#getDelegate()">getDelegate</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#getSessionId()">getSessionId</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)">setACL</a>, <a href="../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#setData(java.lang.String,%20byte[],%20int)">setData</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.twill.zookeeper.AbstractZKClient"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.twill.zookeeper.<a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></h3> +<code><a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode)">create</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)">create</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20java.lang.Iterable)">create</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#delete(java.lang.String)">delete</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#exists(java.lang.String)">exists</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#getChildren(java.lang.String)">getChildren</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#getData(java.lang.String)">getData</a>, <a href="../../../../org/apache/twill/zookeeper/Abstrac tZKClient.html#setACL(java.lang.String,%20java.lang.Iterable)">setACL</a>, <a href="../../../../org/apache/twill/zookeeper/AbstractZKClient.html#setData(java.lang.String,%20byte[])">setData</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#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Object.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/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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.twill.zookeeper.ZKClient"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.twill.zookeeper.<a href="../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></h3> +<code><a href="../../../../org/apache/twill/zookeeper/ZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode)">create</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)">create</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)">create</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20java.lang.Iterable)">create</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String)">delete</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String,%20int)">delete</a> , <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String)">exists</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)">exists</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getACL(java.lang.String)">getACL</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String)">getChildren</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)">getChildren</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getConnectString()">getConnectString</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String)">getData</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)">getData</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getSessio nId()">getSessionId</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable)">setACL</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)">setACL</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String,%20byte[])">setData</a>, <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String,%20byte[],%20int)">setData</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_com.google.common.util.concurrent.Service"> +<!-- --> +</a> +<h3>Methods inherited from interface com.google.common.util.concurrent.Service</h3> +<code>awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, startAsync, stopAsync</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ForwardingZKClientService(org.apache.twill.zookeeper.ZKClientService)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ForwardingZKClientService</h4> +<pre>protected ForwardingZKClientService(<a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a> delegate)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getZooKeeperSupplier()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getZooKeeperSupplier</h4> +<pre>public com.google.common.base.Supplier<org.apache.zookeeper.ZooKeeper> getZooKeeperSupplier()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/twill/zookeeper/ZKClientService.html#getZooKeeperSupplier()">ZKClientService</a></code></strong></div> +<div class="block">Returns a <code>Supplier</code> of <code>ZooKeeper</code> that gives the current <code>ZooKeeper</code> in use at the moment + when <code>Supplier.get()</code> get called.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/twill/zookeeper/ZKClientService.html#getZooKeeperSupplier()">getZooKeeperSupplier</a></code> in interface <code><a href="../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>A <code>Supplier<ZooKeeper></code></dd></dl> +</li> +</ul> +<a name="start()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>start</h4> +<pre>public com.google.common.util.concurrent.ListenableFuture<com.google.common.util.concurrent.Service.State> start()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>start</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +<a name="startAndWait()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startAndWait</h4> +<pre>public com.google.common.util.concurrent.Service.State startAndWait()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>startAndWait</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +<a name="isRunning()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isRunning</h4> +<pre>public boolean isRunning()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>isRunning</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +<a name="state()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>state</h4> +<pre>public com.google.common.util.concurrent.Service.State state()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>state</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +<a name="stop()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stop</h4> +<pre>public com.google.common.util.concurrent.ListenableFuture<com.google.common.util.concurrent.Service.State> stop()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>stop</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +<a name="stopAndWait()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stopAndWait</h4> +<pre>public com.google.common.util.concurrent.Service.State stopAndWait()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>stopAndWait</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +<a name="addListener(com.google.common.util.concurrent.Service.Listener, java.util.concurrent.Executor)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>addListener</h4> +<pre>public void addListener(com.google.common.util.concurrent.Service.Listener listener, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent">Executor</a> executor)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>addListener</code> in interface <code>com.google.common.util.concurrent.Service</code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/ForwardingZKClientService.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/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/NodeChildren.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/ForwardingZKClientService.html" target="_top">Frames</a></li> +<li><a href="ForwardingZKClientService.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><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </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/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeChildren.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeChildren.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeChildren.html new file mode 100644 index 0000000..5e9be82 --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeChildren.html @@ -0,0 +1,224 @@ +<!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 Fri Aug 25 09:24:51 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>NodeChildren (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<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="NodeChildren (Apache Twill 0.12.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/NodeChildren.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/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/NodeData.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/NodeChildren.html" target="_top">Frames</a></li> +<li><a href="NodeChildren.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 NodeChildren" class="title">Interface NodeChildren</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">NodeChildren</span></pre> +<div class="block">Represents result of call to <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>ZKClient.getChildren(String, org.apache.zookeeper.Watcher)</code></a> method.</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="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</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/NodeChildren.html#getChildren()">getChildren</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>org.apache.zookeeper.data.Stat</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/NodeChildren.html#getStat()">getStat</a></strong>()</code> </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="getStat()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStat</h4> +<pre>org.apache.zookeeper.data.Stat getStat()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>The <code>Stat</code> of the node.</dd></dl> +</li> +</ul> +<a name="getChildren()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getChildren</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</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>> getChildren()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>List of children node names.</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/NodeChildren.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/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/NodeData.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/NodeChildren.html" target="_top">Frames</a></li> +<li><a href="NodeChildren.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> http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeData.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeData.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeData.html new file mode 100644 index 0000000..005d539 --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/NodeData.html @@ -0,0 +1,225 @@ +<!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 Fri Aug 25 09:24:51 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>NodeData (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<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="NodeData (Apache Twill 0.12.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/NodeData.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/NodeChildren.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/OperationFuture.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/NodeData.html" target="_top">Frames</a></li> +<li><a href="NodeData.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 NodeData" class="title">Interface NodeData</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">NodeData</span></pre> +<div class="block">Represents result of call to <a href="../../../../org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>ZKClient.getData(String, org.apache.zookeeper.Watcher)</code></a>.</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>byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/NodeData.html#getData()">getData</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>org.apache.zookeeper.data.Stat</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/NodeData.html#getStat()">getStat</a></strong>()</code> </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="getStat()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStat</h4> +<pre>org.apache.zookeeper.data.Stat getStat()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>The <code>Stat</code> of the node.</dd></dl> +</li> +</ul> +<a name="getData()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getData</h4> +<pre><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[] getData()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Data stored in the node, or <code>null</code> if there is no data.</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/NodeData.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/NodeChildren.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/OperationFuture.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/NodeData.html" target="_top">Frames</a></li> +<li><a href="NodeData.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> http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/OperationFuture.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/OperationFuture.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/OperationFuture.html new file mode 100644 index 0000000..9563c71 --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/OperationFuture.html @@ -0,0 +1,230 @@ +<!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 Fri Aug 25 09:24:51 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>OperationFuture (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<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="OperationFuture (Apache Twill 0.12.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/OperationFuture.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/NodeData.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.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/OperationFuture.html" target="_top">Frames</a></li> +<li><a href="OperationFuture.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 OperationFuture" class="title">Interface OperationFuture<V></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V</code> - The result type returned by this Future's <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent"><code>Future.get()</code></a> method.</dd></dl> +<dl> +<dt>All Superinterfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a><V>, com.google.common.util.concurrent.ListenableFuture<V></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">OperationFuture<V></span> +extends com.google.common.util.concurrent.ListenableFuture<V></pre> +<div class="block">A <code>ListenableFuture</code> that also provides the requested path for a operation.</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="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/OperationFuture.html#getRequestPath()">getRequestPath</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_com.google.common.util.concurrent.ListenableFuture"> +<!-- --> +</a> +<h3>Methods inherited from interface com.google.common.util.concurrent.ListenableFuture</h3> +<code>addListener</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.util.concurrent.Future"> +<!-- --> +</a> +<h3>Methods inherited from interface java.util.concurrent.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true#cancel(boolean)" title="class or interface in java.util.concurrent">cancel</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent">get</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true#get(long,%20java.util.concurrent.TimeUnit)" title="class or interface in java.util.concurrent">get</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true#isCancelled()" title="class or interface in java.util.concurrent">isCancelled</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true#isDone()" title="class or interface in java.util.concurrent">isDone</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getRequestPath()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getRequestPath</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> getRequestPath()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>The path being requested for the ZooKeeper 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/OperationFuture.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/NodeData.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.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/OperationFuture.html" target="_top">Frames</a></li> +<li><a href="OperationFuture.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> http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/RetryStrategies.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/RetryStrategies.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/RetryStrategies.html new file mode 100644 index 0000000..d2ed11a --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/zookeeper/RetryStrategies.html @@ -0,0 +1,314 @@ +<!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 Fri Aug 25 09:24:51 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RetryStrategies (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<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="RetryStrategies (Apache Twill 0.12.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/RetryStrategies.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/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.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/RetryStrategies.html" target="_top">Frames</a></li> +<li><a href="RetryStrategies.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="Class RetryStrategies" class="title">Class RetryStrategies</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>org.apache.twill.zookeeper.RetryStrategies</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <span class="strong">RetryStrategies</span> +extends <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></pre> +<div class="block">Factory for creating common <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> implementation.</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>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.html#exponentialDelay(long,%20long,%20java.util.concurrent.TimeUnit)">exponentialDelay</a></strong>(long baseDelay, + long maxDelay, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> delayUnit)</code> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that will increase delay exponentially between each retries.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.html#fixDelay(long,%20java.util.concurrent.TimeUnit)">fixDelay</a></strong>(long delay, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> delayUnit)</code> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that imposes a fix delay between each retries.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.html#limit(int,%20org.apache.twill.zookeeper.RetryStrategy)">limit</a></strong>(int limit, + <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> strategy)</code> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that retries maximum given number of times, with the actual + delay behavior delegated to another <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.html#noRetry()">noRetry</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/zookeeper/RetryStrategies.html#timeLimit(long,%20java.util.concurrent.TimeUnit,%20org.apache.twill.zookeeper.RetryStrategy)">timeLimit</a></strong>(long maxElapseTime, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> timeUnit, + <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> strategy)</code> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that will retry until maximum amount of time has been passed since the request, + with the actual delay behavior delegated to another <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</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 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#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Object.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/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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="noRetry()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>noRetry</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> noRetry()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that doesn't do any retry.</dd></dl> +</li> +</ul> +<a name="limit(int, org.apache.twill.zookeeper.RetryStrategy)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>limit</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> limit(int limit, + <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> strategy)</pre> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that retries maximum given number of times, with the actual + delay behavior delegated to another <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>limit</code> - Maximum number of retries allowed.</dd><dd><code>strategy</code> - When failure count is less than or equal to the limit, this strategy will be called.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</dd></dl> +</li> +</ul> +<a name="fixDelay(long, java.util.concurrent.TimeUnit)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fixDelay</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> fixDelay(long delay, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> delayUnit)</pre> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that imposes a fix delay between each retries.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>delay</code> - delay time</dd><dd><code>delayUnit</code> - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent"><code>TimeUnit</code></a> for the delay.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</dd></dl> +</li> +</ul> +<a name="exponentialDelay(long, long, java.util.concurrent.TimeUnit)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exponentialDelay</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> exponentialDelay(long baseDelay, + long maxDelay, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> delayUnit)</pre> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that will increase delay exponentially between each retries.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>baseDelay</code> - delay to start with.</dd><dd><code>maxDelay</code> - cap of the delay.</dd><dd><code>delayUnit</code> - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent"><code>TimeUnit</code></a> for the delays.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</dd></dl> +</li> +</ul> +<a name="timeLimit(long, java.util.concurrent.TimeUnit, org.apache.twill.zookeeper.RetryStrategy)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>timeLimit</h4> +<pre>public static <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> timeLimit(long maxElapseTime, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> timeUnit, + <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> strategy)</pre> +<div class="block">Creates a <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that will retry until maximum amount of time has been passed since the request, + with the actual delay behavior delegated to another <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxElapseTime</code> - Maximum amount of time until giving up retry.</dd><dd><code>timeUnit</code> - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent"><code>TimeUnit</code></a> for the max elapse time.</dd><dd><code>strategy</code> - When time elapsed is less than or equal to the limit, this strategy will be called.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</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/RetryStrategies.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/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/zookeeper/RetryStrategy.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/RetryStrategies.html" target="_top">Frames</a></li> +<li><a href="RetryStrategies.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>
