Class FixedDelayWithoutJitter
java.lang.Object
software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithoutJitter
- All Implemented Interfaces:
BackoffStrategy
@SdkInternalApi
public final class FixedDelayWithoutJitter
extends Object
implements BackoffStrategy
Strategy that waits for a period of time equal to the provided delay.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeDelay(int attempt) Compute the amount of time to wait before the provided attempt number is executed.toString()
-
Constructor Details
-
FixedDelayWithoutJitter
-
-
Method Details
-
computeDelay
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.
-
toString
-