spring-framework / org.springframework.util.backoff / FixedBackOff / <init>

<init>

FixedBackOff()

Create an instance with an interval of {@value #DEFAULT_INTERVAL} ms and an unlimited number of attempts.

FixedBackOff(interval: Long, maxAttempts: Long)

Create an instance.

Parameters

interval - the interval between two attempts

maxAttempts - the maximum number of attempts