Package software.amazon.awssdk.crt.io
Enum ExponentialBackoffRetryOptions.JitterMode
java.lang.Object
java.lang.Enum<ExponentialBackoffRetryOptions.JitterMode>
software.amazon.awssdk.crt.io.ExponentialBackoffRetryOptions.JitterMode
- All Implemented Interfaces:
Serializable
,Comparable<ExponentialBackoffRetryOptions.JitterMode>
- Enclosing class:
- ExponentialBackoffRetryOptions
public static enum ExponentialBackoffRetryOptions.JitterMode
extends Enum<ExponentialBackoffRetryOptions.JitterMode>
What kind of jitter or randomization to apply to the backoff time interval
https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBackoff is taken randomly from the interval between the base backoff interval and a scaling (greater than 1) of the current backoff valueMaps to FullChoose an actual backoff interval between [0, MaxCurrentBackoff] where MaxCurrentBackoff is the standard exponential backoff valueDo not apply any jitter or randomization to the backoff interval -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Default
Maps to Full -
None
Do not apply any jitter or randomization to the backoff interval -
Full
Choose an actual backoff interval between [0, MaxCurrentBackoff] where MaxCurrentBackoff is the standard exponential backoff value
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-