Class ExponentialBackoffStrategy.Builder

java.lang.Object
com.ultikits.ultitools.websocket.ExponentialBackoffStrategy.Builder
Enclosing class:
ExponentialBackoffStrategy

@Deprecated(since="6.3.1", forRemoval=true) public static class ExponentialBackoffStrategy.Builder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
There is no replacement, as for ExponentialBackoffStrategy. Removed in 6.4.0.
Builder for ExponentialBackoffStrategy.
Scheduled removal version:
6.4.0
  • Field Details

    • initialDelay

      private long initialDelay
      Deprecated, for removal: This API element is subject to removal in a future version.
    • maxDelay

      private long maxDelay
      Deprecated, for removal: This API element is subject to removal in a future version.
    • multiplier

      private double multiplier
      Deprecated, for removal: This API element is subject to removal in a future version.
    • maxAttempts

      private int maxAttempts
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • Builder

      public Builder()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • initialDelay

      public ExponentialBackoffStrategy.Builder initialDelay(long initialDelay)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • maxDelay

      public ExponentialBackoffStrategy.Builder maxDelay(long maxDelay)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • multiplier

      public ExponentialBackoffStrategy.Builder multiplier(double multiplier)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • maxAttempts

      public ExponentialBackoffStrategy.Builder maxAttempts(int maxAttempts)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • build

      Deprecated, for removal: This API element is subject to removal in a future version.