Enum ExponentialBackoffRetryOptions.JitterMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Decorrelated
      Backoff is taken randomly from the interval between the base backoff interval and a scaling (greater than 1) of the current backoff value
      Default
      Maps to Full
      Full
      Choose an actual backoff interval between [0, MaxCurrentBackoff] where MaxCurrentBackoff is the standard exponential backoff value
      None
      Do not apply any jitter or randomization to the backoff interval
    • Method Detail

      • values

        public static ExponentialBackoffRetryOptions.JitterMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ExponentialBackoffRetryOptions.JitterMode c : ExponentialBackoffRetryOptions.JitterMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExponentialBackoffRetryOptions.JitterMode valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null