HADOOP-15275. Incorrect javadoc for return type of RetryPolicy#shouldRetry

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 55d04a6db10d0e58cfe0ff82fa646bb6ba57aaac)
(cherry picked from commit 45ec3e18e33bd93a26b24a33c95d13afbe0a313d)
This commit is contained in:
Nanda kumar 2018-03-01 19:02:24 +09:00 committed by Akira Ajisaka
parent 717295e464
commit 2599b97697
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -89,9 +89,10 @@ public enum RetryDecision {
* {@link Idempotent} or {@link AtMostOnce} and so can reasonably be
* retried on failover when we don't know if the previous attempt
* reached the server or not
* @return <code>true</code> if the method should be retried,
* <code>false</code> if the method should not be retried but
* shouldn't fail with an exception (only for void methods)
* @return {@link RetryAction} with {@code RetryDecision.FAIL} if the method
* should not be retried, {@code RetryDecision.RETRY} if the method
* 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
* the method failed and should not be retried further
*/