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 TypeMethodDescriptionlongcomputeDelay(int retryNumber) protected abstract longcomputeDelayWithinLimits(int retryNumber) int
-
Method Details
-
getMaxRetries
public int getMaxRetries() -
computeDelay
- Specified by:
computeDelayin interfaceBackoffComputer- Parameters:
retryNumber- starts at 1- Throws:
BackoffComputer.NoMoreRetriesException
-
computeDelayWithinLimits
protected abstract long computeDelayWithinLimits(int retryNumber)
-