Class Workflow.RecoverStrategy.MaxRetries

Object
akka.javasdk.workflow.Workflow.RecoverStrategy.MaxRetries
Enclosing class:
Workflow.RecoverStrategy<T>

public static class Workflow.RecoverStrategy.MaxRetries extends Object
Retry strategy without failover configuration
  • Field Details

    • maxRetries

      public final int maxRetries
  • Constructor Details

    • MaxRetries

      public MaxRetries(int maxRetries)
  • Method Details

    • failoverTo

      public Workflow.RecoverStrategy<?> failoverTo(String stepName)
      Once max retries is exceeded, transition to a given step name.
    • failoverTo

      public <T> Workflow.RecoverStrategy<T> failoverTo(String stepName, T input)
      Once max retries is exceeded, transition to a given step name with the input parameter.
    • getMaxRetries

      public int getMaxRetries()