HADOOP-15275. Incorrect javadoc for return type of RetryPolicy#shouldRetry
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 55d04a6db1
)
This commit is contained in:
parent
f0c70a3494
commit
749abde043
|
@ -89,9 +89,10 @@ public interface RetryPolicy {
|
||||||
* {@link Idempotent} or {@link AtMostOnce} and so can reasonably be
|
* {@link Idempotent} or {@link AtMostOnce} and so can reasonably be
|
||||||
* retried on failover when we don't know if the previous attempt
|
* retried on failover when we don't know if the previous attempt
|
||||||
* reached the server or not
|
* reached the server or not
|
||||||
* @return <code>true</code> if the method should be retried,
|
* @return {@link RetryAction} with {@code RetryDecision.FAIL} if the method
|
||||||
* <code>false</code> if the method should not be retried but
|
* should not be retried, {@code RetryDecision.RETRY} if the method
|
||||||
* shouldn't fail with an exception (only for void methods)
|
* should be retried or {@code RetryDecision.FAILOVER_AND_RETRY}
|
||||||
|
* if failover has to be performed before retry.
|
||||||
* @throws Exception The re-thrown exception <code>e</code> indicating that
|
* @throws Exception The re-thrown exception <code>e</code> indicating that
|
||||||
* the method failed and should not be retried further
|
* the method failed and should not be retried further
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue