Class RetryLimitedBackoffComputer
java.lang.Object
com.evolveum.midpoint.util.backoff.RetryLimitedBackoffComputer
- All Implemented Interfaces:
BackoffComputer
- Direct Known Subclasses:
ExponentialBackoffComputer
,LinearBackoffComputer
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.util.backoff.BackoffComputer
BackoffComputer.NoMoreRetriesException
-
Method Summary
Modifier and TypeMethodDescriptionlong
computeDelay
(int retryNumber) protected abstract long
computeDelayWithinLimits
(int retryNumber) int
-
Method Details
-
getMaxRetries
public int getMaxRetries() -
computeDelay
- Specified by:
computeDelay
in interfaceBackoffComputer
- Parameters:
retryNumber
- starts at 1- Throws:
BackoffComputer.NoMoreRetriesException
-
computeDelayWithinLimits
protected abstract long computeDelayWithinLimits(int retryNumber)
-