Class RetryLimitedBackoffComputer
- java.lang.Object
 - 
- com.evolveum.midpoint.util.backoff.RetryLimitedBackoffComputer
 
 
- 
- All Implemented Interfaces:
 BackoffComputer
- Direct Known Subclasses:
 ExponentialBackoffComputer,LinearBackoffComputer
public abstract class RetryLimitedBackoffComputer extends Object implements BackoffComputer
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.evolveum.midpoint.util.backoff.BackoffComputer
BackoffComputer.NoMoreRetriesException 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longcomputeDelay(int retryNumber)protected abstract longcomputeDelayWithinLimits(int retryNumber)intgetMaxRetries() 
 - 
 
- 
- 
Method Detail
- 
getMaxRetries
public int getMaxRetries()
 
- 
computeDelay
public long computeDelay(int retryNumber) throws BackoffComputer.NoMoreRetriesException- Specified by:
 computeDelayin interfaceBackoffComputer- Parameters:
 retryNumber- starts at 1- Throws:
 BackoffComputer.NoMoreRetriesException
 
- 
computeDelayWithinLimits
protected abstract long computeDelayWithinLimits(int retryNumber)
 
 - 
 
 -