Skip to content

Commit

Permalink
spring-projectsGH-427: Fix randomExpression javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
aftabshk committed May 3, 2024
1 parent 7c478d1 commit 471de0b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
*
* @author Dave Syer
* @author Gary Russell
* @author Aftab Shaikh
* @since 1.1
*
*/
Expand Down Expand Up @@ -130,7 +131,10 @@
* this to true to have the backoff delays randomized, so that the maximum delay is
* multiplier times the previous delay and the distribution is uniform between the two
* values. Use {@code #{...}} for one-time evaluation during initialization, omit the
* delimiters for evaluation at runtime.
* delimiters for evaluation at runtime. This expression is evaluated at configuration
* phase. If it returns true and ({@link #multiplier()} > 1.0) then
* {@link org.springframework.retry.backoff.ExponentialRandomBackOffPolicy} is created
* else {@link org.springframework.retry.backoff.ExponentialBackOffPolicy} is created
* @return the flag to signal randomization is required (default false)
*/
String randomExpression() default "";
Expand Down

0 comments on commit 471de0b

Please sign in to comment.