diff --git a/src/main/java/org/springframework/retry/backoff/ExponentialBackOffPolicy.java b/src/main/java/org/springframework/retry/backoff/ExponentialBackOffPolicy.java index 30234ea..3baa4ac 100644 --- a/src/main/java/org/springframework/retry/backoff/ExponentialBackOffPolicy.java +++ b/src/main/java/org/springframework/retry/backoff/ExponentialBackOffPolicy.java @@ -24,7 +24,7 @@ import org.springframework.util.ClassUtils; /** * Implementation of {@link BackOffPolicy} that increases the back off period for each - * retry attempt in a given set using the {@link Math#exp(double) exponential} function. + * retry attempt in a given set up to a limit. * * This implementation is thread-safe and suitable for concurrent access. Modifications to * the configuration do not affect any retry sets that are already in progress. @@ -61,7 +61,7 @@ public class ExponentialBackOffPolicy implements SleepingBackOffPolicyexp(backOffContext.expSeed)'. + * Pause for the current backoff interval. */ @Override public void backOff(BackOffContext backOffContext) throws BackOffInterruptedException { @@ -192,8 +191,8 @@ public class ExponentialBackOffPolicy implements SleepingBackOffPolicy