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 Link icon

    • maxRetries Link icon

      public final int maxRetries
  • Constructor Details Link icon

    • MaxRetries Link icon

      public MaxRetries(int maxRetries)
  • Method Details Link icon

    • failoverTo Link icon

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

      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 Link icon

      public int getMaxRetries()