Class RetryStrategies

java.lang.Object
com.hazelcast.jet.retry.RetryStrategies

public final class RetryStrategies extends Object
Collection of factory methods for creating the most frequently used RetryStrategies.
Since:
Jet 4.3
  • Method Details

    • never

      public static RetryStrategy never()
      Create a strategy which will not retry a failed action.
    • indefinitely

      public static RetryStrategy indefinitely(long intervalMillis)
      Create a strategy which will retry failed actions indefinitely and will wait for a fixed amount of time between any two subsequent attempts.
    • custom

      public static RetryStrategies.Builder custom()
      Create a builder which can be used for setting up an arbitrarily complex strategy.