public interface TimedRetryAlgorithmSame as TimedRetryAlgorithmWithContext, but without methods that accept a RetryingContext. Use TimedRetryAlgorithmWithContext instead of this interface when possible.
Methods
createFirstAttempt()
public abstract TimedAttemptSettings createFirstAttempt()Same as TimedRetryAlgorithmWithContext#createFirstAttempt(RetryingContext), but without a RetryingContext.
Use TimedRetryAlgorithmWithContext#createFirstAttempt(RetryingContext) instead of this method when possible.
| Type | Description |
| TimedAttemptSettings |
createNextAttempt(TimedAttemptSettings prevSettings)
public abstract TimedAttemptSettings createNextAttempt(TimedAttemptSettings prevSettings)Same as TimedRetryAlgorithmWithContext#createNextAttempt(RetryingContext, TimedAttemptSettings), but without a RetryingContext.
Use TimedRetryAlgorithmWithContext#createNextAttempt(RetryingContext, TimedAttemptSettings) instead of this method when possible.
| Name | Description |
| prevSettings | TimedAttemptSettings |
| Type | Description |
| TimedAttemptSettings |
shouldRetry(TimedAttemptSettings nextAttemptSettings)
public abstract boolean shouldRetry(TimedAttemptSettings nextAttemptSettings)Same as TimedRetryAlgorithmWithContext#shouldRetry(RetryingContext, TimedAttemptSettings), but without a RetryingContext.
Use TimedRetryAlgorithmWithContext#shouldRetry(RetryingContext, TimedAttemptSettings) instead of this method when possible.
| Name | Description |
| nextAttemptSettings | TimedAttemptSettings |
| Type | Description |
| boolean |
| Type | Description |
| CancellationException |