| <!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>Uses of Interface org.apache.twill.zookeeper.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="Uses of Interface org.apache.twill.zookeeper.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><a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">Class</a></li> |
| <li class="navBarCell1Rev">Use</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>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/twill/zookeeper/class-use/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> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h2 title="Uses of Interface org.apache.twill.zookeeper.RetryStrategy" class="title">Uses of Interface<br>org.apache.twill.zookeeper.RetryStrategy</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> |
| <caption><span>Packages that use <a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.twill.zookeeper">org.apache.twill.zookeeper</a></td> |
| <td class="colLast"> |
| <div class="block">This package provides functionality for ZooKeeper interactions.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"><a name="org.apache.twill.zookeeper"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> that return <a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></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> |
| <tbody> |
| <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"><span class="strong">RetryStrategies.</span><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"><span class="strong">RetryStrategies.</span><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"><span class="strong">RetryStrategies.</span><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"><span class="strong">RetryStrategies.</span><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"><span class="strong">RetryStrategies.</span><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> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> with parameters of type <a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></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> |
| <tbody> |
| <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"><span class="strong">RetryStrategies.</span><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/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td> |
| <td class="colLast"><span class="strong">ZKClients.</span><code><strong><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#retryOnFailure(org.apache.twill.zookeeper.ZKClient,%20org.apache.twill.zookeeper.RetryStrategy)">retryOnFailure</a></strong>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a> client, |
| <a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a> retryStrategy)</code> |
| <div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will retry interim failure (e.g.</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"><span class="strong">RetryStrategies.</span><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> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <!-- ======= 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><a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">Class</a></li> |
| <li class="navBarCell1Rev">Use</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>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/twill/zookeeper/class-use/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> |
| <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> |