Package akka.javasdk.workflow
Class Workflow.RecoverStrategy.MaxRetries
Object
akka.javasdk.workflow.Workflow.RecoverStrategy.MaxRetries
- Enclosing class:
Workflow.RecoverStrategy<T>
Retry strategy without failover configuration
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfailoverTo
(String stepName) Once max retries is exceeded, transition to a given step name.<T> Workflow.RecoverStrategy
<T> failoverTo
(String stepName, T input) Once max retries is exceeded, transition to a given step name with the input parameter.int
-
Field Details
-
maxRetries
public final int maxRetries
-
-
Constructor Details
-
MaxRetries
public MaxRetries(int maxRetries)
-
-
Method Details
-
failoverTo
Once max retries is exceeded, transition to a given step name. -
failoverTo
Once max retries is exceeded, transition to a given step name with the input parameter. -
getMaxRetries
public int getMaxRetries()
-