@@ -96,15 +96,16 @@ public boolean allowsRetries() {
9696 * @see RetryPolicyBuilder#abortOn(List)
9797 * @see RetryPolicyBuilder#abortOn(CheckedPredicate)
9898 * @see RetryPolicyBuilder#abortIf(CheckedBiPredicate)
99- * @see RetryPolicyBuilder#abortIf(CheckedPredicate)
100- * @see RetryPolicyBuilder#abortWhen(Object)
99+ * @see RetryPolicyBuilder#abortIf(CheckedPredicate)
100+ * @see RetryPolicyBuilder#abortWhen(Object)
101101 */
102102 public List <CheckedBiPredicate <R , Throwable >> getAbortConditions () {
103103 return abortConditions ;
104104 }
105105
106106 /**
107- * Returns the delay between retries. Defaults to {@link Duration#ZERO}.
107+ * Returns the delay between retries, else {@link Duration#ZERO} if delays have not been configured. If backoff
108+ * delays are configured, this value will represent the initial delay.
108109 *
109110 * @see RetryPolicyBuilder#withDelay(Duration)
110111 * @see RetryPolicyBuilder#withBackoff(Duration, Duration, double)
@@ -117,7 +118,7 @@ public Duration getDelay() {
117118 }
118119
119120 /**
120- * Returns the min delay between retries.
121+ * Returns the min random delay between retries, else {@code null} if random delays have not been configured .
121122 *
122123 * @see RetryPolicyBuilder#withDelay(Duration, Duration)
123124 * @see RetryPolicyBuilder#withDelay(long, long, ChronoUnit)
@@ -127,7 +128,7 @@ public Duration getDelayMin() {
127128 }
128129
129130 /**
130- * Returns the max delay between retries.
131+ * Returns the max random delay between retries, else {@code null} if random delays have not been configured .
131132 *
132133 * @see RetryPolicyBuilder#withDelay(Duration, Duration)
133134 * @see RetryPolicyBuilder#withDelay(long, long, ChronoUnit)
@@ -176,7 +177,7 @@ public int getMaxAttempts() {
176177 }
177178
178179 /**
179- * Returns the max delay between backoff retries.
180+ * Returns the max delay between backoff retries, else {@code null} if backoff delays have not been configured .
180181 *
181182 * @see RetryPolicyBuilder#withBackoff(Duration, Duration)
182183 * @see RetryPolicyBuilder#withBackoff(Duration, Duration, double)
0 commit comments