|
115 | 115 | String multiplierExpression() default ""; |
116 | 116 |
|
117 | 117 | /** |
118 | | - * In the exponential case ({@link #multiplier()} > 0) set this to true to have the |
119 | | - * backoff delays randomized with jitter, so that the maximum delay is multiplier |
120 | | - * times the previous delay and the distribution is uniform between the two values. |
| 118 | + * In the exponential case ({@link #multiplier()} > 0 and not equal to 1.0) set |
| 119 | + * this to true to have the backoff delays randomized with jitter, so that the maximum |
| 120 | + * delay is multiplier times the previous delay and the distribution is uniform |
| 121 | + * between the two values. |
121 | 122 | * @return the flag to signal randomization is required (default false) |
122 | 123 | */ |
123 | 124 | boolean random() default false; |
124 | 125 |
|
125 | 126 | /** |
126 | | - * Evaluates to a value. In the exponential case ({@link #multiplier()} > 0) set |
127 | | - * this to true to have the backoff delays randomized, so that the maximum delay is |
128 | | - * multiplier times the previous delay and the distribution is uniform between the two |
129 | | - * values. Use {@code #{...}} for one-time evaluation during initialization, omit the |
130 | | - * delimiters for evaluation at runtime. |
| 127 | + * Evaluates to a value. In the exponential case ({@link #multiplier()} > 0 and not |
| 128 | + * equal to 1.0) set this to true to have the backoff delays randomized, so that the |
| 129 | + * maximum delay is multiplier times the previous delay and the distribution is |
| 130 | + * uniform between the two values. Use {@code #{...}} for one-time evaluation during |
| 131 | + * initialization, omit the delimiters for evaluation at runtime. |
131 | 132 | * @return the flag to signal randomization is required (default false) |
132 | 133 | */ |
133 | 134 | String randomExpression() default ""; |
|
0 commit comments