Class ExponentialBackoffComputer
- java.lang.Object
-
- com.evolveum.midpoint.util.backoff.RetryLimitedBackoffComputer
-
- com.evolveum.midpoint.util.backoff.ExponentialBackoffComputer
-
- All Implemented Interfaces:
BackoffComputer
public class ExponentialBackoffComputer extends RetryLimitedBackoffComputer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.util.backoff.BackoffComputer
BackoffComputer.NoMoreRetriesException
-
-
Constructor Summary
Constructors Constructor Description ExponentialBackoffComputer(int maxRetries, long baseDelayInterval, int exponentialThreshold, Long delayIntervalLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
computeDelayWithinLimits(int retryNumber)
-
Methods inherited from class com.evolveum.midpoint.util.backoff.RetryLimitedBackoffComputer
computeDelay, getMaxRetries
-
-
-
-
Constructor Detail
-
ExponentialBackoffComputer
public ExponentialBackoffComputer(int maxRetries, long baseDelayInterval, int exponentialThreshold, Long delayIntervalLimit)
-
-
Method Detail
-
computeDelayWithinLimits
public long computeDelayWithinLimits(int retryNumber)
- Specified by:
computeDelayWithinLimits
in classRetryLimitedBackoffComputer
-
-