Interface BackoffComputer
-
- All Known Implementing Classes:
ExponentialBackoffComputer
,LinearBackoffComputer
,RetryLimitedBackoffComputer
public interface BackoffComputer
- Author:
- mederly
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BackoffComputer.NoMoreRetriesException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
computeDelay(int retryNumber)
-
-
-
Method Detail
-
computeDelay
long computeDelay(int retryNumber) throws BackoffComputer.NoMoreRetriesException
- Parameters:
retryNumber
- starts at 1- Throws:
BackoffComputer.NoMoreRetriesException
-
-