Package kalix.javasdk.workflow
Class AbstractWorkflow.RecoverStrategy.MaxRetries
Object
kalix.javasdk.workflow.AbstractWorkflow.RecoverStrategy.MaxRetries
- Enclosing class:
- AbstractWorkflow.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.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()
-