Class Immediately
- java.lang.Object
-
- software.amazon.awssdk.retries.api.internal.backoff.Immediately
-
- All Implemented Interfaces:
BackoffStrategy
public final class Immediately extends Object implements BackoffStrategy
Strategy that do not back off: retry immediately.
-
-
Constructor Summary
Constructors Constructor Description Immediately()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationcomputeDelay(int attempt)Compute the amount of time to wait before the provided attempt number is executed.StringtoString()
-
-
-
Method Detail
-
computeDelay
public Duration computeDelay(int attempt)
Description copied from interface:BackoffStrategyCompute the amount of time to wait before the provided attempt number is executed.- Specified by:
computeDelayin interfaceBackoffStrategy- Parameters:
attempt- The attempt to compute the delay for, starting at one.
-
-