Class RetryAttempt

java.lang.Object
com.influxdb.client.internal.RetryAttempt

public final class RetryAttempt extends Object
RetryConfiguration.
Author:
Jakub Bednar (29/09/2020 14:19)
  • Method Details

    • setJitterRandomSupplier

      public static void setJitterRandomSupplier(@Nullable @Nullable Supplier<Double> supplier)
      Sets the specific jitter random supplier.
      Parameters:
      supplier - the hook supplier to set, null allowed
    • setRetryRandomSupplier

      public static void setRetryRandomSupplier(@Nullable @Nullable Supplier<Double> supplier)
      Sets the specific retry random supplier.
      Parameters:
      supplier - the hook supplier to set, null allowed