Class FixedDelayWithJitter
java.lang.Object
software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithJitter
- All Implemented Interfaces:
BackoffStrategy
Strategy that waits for a random period of time between 0ms and 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
-
FixedDelayWithJitter
-
-
Method Details
-
computeDelay
Description copied from interface:BackoffStrategy
Compute the amount of time to wait before the provided attempt number is executed.- Specified by:
computeDelay
in interfaceBackoffStrategy
- Parameters:
attempt
- The attempt to compute the delay for, starting at one.
-
toString
-