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