blob: ca621c0a5f9718852082c5304ed5c752fa52d03c [file] [log] [blame]
<!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 (1.8.0_292) on Tue Jun 15 06:02:25 GMT 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apache.hadoop.io.retry.RetryPolicy (Apache Hadoop Common 3.3.1 API)</title>
<meta name="date" content="2021-06-15">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.apache.hadoop.io.retry.RetryPolicy (Apache Hadoop Common 3.3.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../overview-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/hadoop/io/retry/class-use/RetryPolicy.html" target="_top">Frames</a></li>
<li><a href="RetryPolicy.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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.hadoop.io.retry.RetryPolicy" class="title">Uses of Interface<br>org.apache.hadoop.io.retry.RetryPolicy</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</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.hadoop.io.retry">org.apache.hadoop.io.retry</a></td>
<td class="colLast">
<div class="block">A mechanism for selectively retrying methods that throw exceptions under
certain circumstances.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.hadoop.ipc">org.apache.hadoop.ipc</a></td>
<td class="colLast">
<div class="block">Tools to help define network clients and servers.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.hadoop.io.retry">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a> in org.apache.hadoop.io.retry</h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in org.apache.hadoop.io.retry with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.MultipleLinearRandomRetry.html" title="class in org.apache.hadoop.io.retry">RetryPolicies.MultipleLinearRandomRetry</a></span></code>
<div class="block">Given pairs of number of retries and sleep time (n0, t0), (n1, t1), ...,
the first n0 retries sleep t0 milliseconds on average,
the following n1 retries sleep t1 milliseconds on average, and so on.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in org.apache.hadoop.io.retry with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#RETRY_FOREVER">RETRY_FOREVER</a></span></code>
<div class="block">
Keep trying forever.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#TRY_ONCE_THEN_FAIL">TRY_ONCE_THEN_FAIL</a></span></code>
<div class="block">
Try once, and fail by re-throwing the exception.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in org.apache.hadoop.io.retry with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#exponentialBackoffRetry-int-long-java.util.concurrent.TimeUnit-">exponentialBackoffRetry</a></span>(int&nbsp;maxRetries,
long&nbsp;sleepTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</code>
<div class="block">
Keep trying a limited number of times, waiting a growing amount of time between attempts,
and then fail by re-throwing the exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-int-">failoverOnNetworkException</a></span>(int&nbsp;maxFailovers)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-org.apache.hadoop.io.retry.RetryPolicy-int-">failoverOnNetworkException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;fallbackPolicy,
int&nbsp;maxFailovers)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-org.apache.hadoop.io.retry.RetryPolicy-int-int-long-long-">failoverOnNetworkException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;fallbackPolicy,
int&nbsp;maxFailovers,
int&nbsp;maxRetries,
long&nbsp;delayMillis,
long&nbsp;maxDelayBase)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-org.apache.hadoop.io.retry.RetryPolicy-int-long-long-">failoverOnNetworkException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;fallbackPolicy,
int&nbsp;maxFailovers,
long&nbsp;delayMillis,
long&nbsp;maxDelayBase)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryUtils.html#getDefaultRetryPolicy-org.apache.hadoop.conf.Configuration-java.lang.String-boolean-java.lang.String-java.lang.String-java.lang.String-">getDefaultRetryPolicy</a></span>(<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;retryPolicyEnabledKey,
boolean&nbsp;defaultRetryPolicyEnabled,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;retryPolicySpecKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultRetryPolicySpec,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteExceptionToRetry)</code>
<div class="block">Return the default retry policy set in conf.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryUtils.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryUtils.html#getMultipleLinearRandomRetry-org.apache.hadoop.conf.Configuration-java.lang.String-boolean-java.lang.String-java.lang.String-">getMultipleLinearRandomRetry</a></span>(<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;retryPolicyEnabledKey,
boolean&nbsp;defaultRetryPolicyEnabled,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;retryPolicySpecKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultRetryPolicySpec)</code>
<div class="block">Return the MultipleLinearRandomRetry policy specified in the conf,
or null if the feature is disabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryByException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryByException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">
Set a default policy with some explicit handlers for specific exceptions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryByRemoteException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryByRemoteException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">
A retry policy for RemoteException
Set a default policy with some explicit handlers for specific exceptions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryForeverWithFixedSleep-long-java.util.concurrent.TimeUnit-">retryForeverWithFixedSleep</a></span>(long&nbsp;sleepTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</code>
<div class="block">
Keep trying forever with a fixed time between attempts.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryOtherThanRemoteException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryOtherThanRemoteException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">A retry policy for exceptions other than RemoteException.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryUpToMaximumCountWithFixedSleep-int-long-java.util.concurrent.TimeUnit-">retryUpToMaximumCountWithFixedSleep</a></span>(int&nbsp;maxRetries,
long&nbsp;sleepTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</code>
<div class="block">
Keep trying a limited number of times, waiting a fixed time between attempts,
and then fail by re-throwing the exception.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryUpToMaximumCountWithProportionalSleep-int-long-java.util.concurrent.TimeUnit-">retryUpToMaximumCountWithProportionalSleep</a></span>(int&nbsp;maxRetries,
long&nbsp;sleepTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</code>
<div class="block">
Keep trying a limited number of times, waiting a growing amount of time between attempts,
and then fail by re-throwing the exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryUpToMaximumTimeWithFixedSleep-long-long-java.util.concurrent.TimeUnit-">retryUpToMaximumTimeWithFixedSleep</a></span>(long&nbsp;maxTime,
long&nbsp;sleepTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</code>
<div class="block">
Keep trying for a maximum time, waiting a fixed time between attempts,
and then fail by re-throwing the exception.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in org.apache.hadoop.io.retry with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryProxy.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryProxy.html#create-java.lang.Class-org.apache.hadoop.io.retry.FailoverProxyProvider-java.util.Map-org.apache.hadoop.io.retry.RetryPolicy-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;iface,
<a href="../../../../../../org/apache/hadoop/io/retry/FailoverProxyProvider.html" title="interface in org.apache.hadoop.io.retry">FailoverProxyProvider</a>&lt;T&gt;&nbsp;proxyProvider,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;methodNameToPolicyMap,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy)</code>
<div class="block">Create a proxy for an interface of implementations of that interface using
the given <a href="../../../../../../org/apache/hadoop/io/retry/FailoverProxyProvider.html" title="interface in org.apache.hadoop.io.retry"><code>FailoverProxyProvider</code></a> and the a set of retry policies
specified by method name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryProxy.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryProxy.html#create-java.lang.Class-org.apache.hadoop.io.retry.FailoverProxyProvider-org.apache.hadoop.io.retry.RetryPolicy-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;iface,
<a href="../../../../../../org/apache/hadoop/io/retry/FailoverProxyProvider.html" title="interface in org.apache.hadoop.io.retry">FailoverProxyProvider</a>&lt;T&gt;&nbsp;proxyProvider,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;retryPolicy)</code>
<div class="block">Create a proxy for an interface of implementations of that interface using
the given <a href="../../../../../../org/apache/hadoop/io/retry/FailoverProxyProvider.html" title="interface in org.apache.hadoop.io.retry"><code>FailoverProxyProvider</code></a> and the same retry policy for each
method in the interface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryProxy.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryProxy.html#create-java.lang.Class-T-org.apache.hadoop.io.retry.RetryPolicy-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;iface,
T&nbsp;implementation,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;retryPolicy)</code>
<div class="block">
Create a proxy for an interface of an implementation class
using the same retry policy for each method in the interface.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-org.apache.hadoop.io.retry.RetryPolicy-int-">failoverOnNetworkException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;fallbackPolicy,
int&nbsp;maxFailovers)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-org.apache.hadoop.io.retry.RetryPolicy-int-int-long-long-">failoverOnNetworkException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;fallbackPolicy,
int&nbsp;maxFailovers,
int&nbsp;maxRetries,
long&nbsp;delayMillis,
long&nbsp;maxDelayBase)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#failoverOnNetworkException-org.apache.hadoop.io.retry.RetryPolicy-int-long-long-">failoverOnNetworkException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;fallbackPolicy,
int&nbsp;maxFailovers,
long&nbsp;delayMillis,
long&nbsp;maxDelayBase)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryByException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryByException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">
Set a default policy with some explicit handlers for specific exceptions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryByRemoteException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryByRemoteException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">
A retry policy for RemoteException
Set a default policy with some explicit handlers for specific exceptions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryOtherThanRemoteException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryOtherThanRemoteException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">A retry policy for exceptions other than RemoteException.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Method parameters in org.apache.hadoop.io.retry with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryProxy.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryProxy.html#create-java.lang.Class-org.apache.hadoop.io.retry.FailoverProxyProvider-java.util.Map-org.apache.hadoop.io.retry.RetryPolicy-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;iface,
<a href="../../../../../../org/apache/hadoop/io/retry/FailoverProxyProvider.html" title="interface in org.apache.hadoop.io.retry">FailoverProxyProvider</a>&lt;T&gt;&nbsp;proxyProvider,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;methodNameToPolicyMap,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy)</code>
<div class="block">Create a proxy for an interface of implementations of that interface using
the given <a href="../../../../../../org/apache/hadoop/io/retry/FailoverProxyProvider.html" title="interface in org.apache.hadoop.io.retry"><code>FailoverProxyProvider</code></a> and the a set of retry policies
specified by method name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryProxy.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryProxy.html#create-java.lang.Class-T-java.util.Map-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;iface,
T&nbsp;implementation,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;methodNameToPolicyMap)</code>
<div class="block">Create a proxy for an interface of an implementation class
using the a set of retry policies specified by method name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryByException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryByException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">
Set a default policy with some explicit handlers for specific exceptions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryByRemoteException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryByRemoteException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">
A retry policy for RemoteException
Set a default policy with some explicit handlers for specific exceptions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></code></td>
<td class="colLast"><span class="typeNameLabel">RetryPolicies.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicies.html#retryOtherThanRemoteException-org.apache.hadoop.io.retry.RetryPolicy-java.util.Map-">retryOtherThanRemoteException</a></span>(<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;defaultPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&gt;,<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&gt;&nbsp;exceptionToPolicyMap)</code>
<div class="block">A retry policy for exceptions other than RemoteException.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.ipc">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a> in org.apache.hadoop.ipc</h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in org.apache.hadoop.ipc with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine2.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">RpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/RpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>
<div class="block">Construct a client-side proxy object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">WritableRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/WritableRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Construct a client-side proxy object that implements the named protocol,
talking to a server at the named address.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine2.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">RpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/RpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>
<div class="block">Construct a client-side proxy object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">WritableRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/WritableRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Construct a client-side proxy object that implements the named protocol,
talking to a server at the named address.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in org.apache.hadoop.ipc with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.Invoker.html#Invoker-java.lang.Class-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">Invoker</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;protocol,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.Invoker.html#Invoker-java.lang.Class-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">Invoker</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;protocol,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../overview-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/hadoop/io/retry/class-use/RetryPolicy.html" target="_top">Frames</a></li>
<li><a href="RetryPolicy.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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 &#169; 2008&#x2013;2021 <a href="https://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>