Class AbstractWorkflow.RecoverStrategy.MaxRetries

Object
kalix.javasdk.workflow.AbstractWorkflow.RecoverStrategy.MaxRetries
Enclosing class:
AbstractWorkflow.RecoverStrategy<T>

public static class AbstractWorkflow.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 AbstractWorkflow.RecoverStrategy<?> failoverTo(String stepName)
      Once max retries is exceeded, transition to a given step name.
    • failoverTo

      public <T> AbstractWorkflow.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()