Browse Source

Polish Javadoc for FixedBackOff

pull/35030/head
Sam Brannen 6 months ago
parent
commit
fcdd439ad0
  1. 10
      spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java

10
spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java

@ -42,15 +42,17 @@ public class FixedBackOff implements BackOff {
/** /**
* Create an instance with an interval of {@value #DEFAULT_INTERVAL} * Create an instance with an interval of {@value #DEFAULT_INTERVAL} ms and
* ms and an unlimited number of attempts. * an unlimited number of attempts.
* @see #setInterval(long)
* @see #setMaxAttempts(long)
*/ */
public FixedBackOff() { public FixedBackOff() {
} }
/** /**
* Create an instance. * Create an instance with the supplied interval and maximum number of attempts.
* @param interval the interval between two attempts * @param interval the interval between two attempts in milliseconds
* @param maxAttempts the maximum number of attempts * @param maxAttempts the maximum number of attempts
*/ */
public FixedBackOff(long interval, long maxAttempts) { public FixedBackOff(long interval, long maxAttempts) {

Loading…
Cancel
Save