Package akka.javasdk.evaluation
Class DurableEvaluator.Settings
Object
akka.javasdk.evaluation.DurableEvaluator.Settings
- Enclosing class:
DurableEvaluator<S>
Settings for a durable evaluator. Unset values fall back to the runtime defaults.
Failures are always terminal: when a step exhausts its retries, or the evaluation timeout expires, a failed evaluation is recorded and the instance is cleaned up.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DurableEvaluator.Settingsdefaults()Settings with all values falling back to the runtime defaults.withDefaultStepTimeout(Duration timeout) Default timeout for each step of the evaluation.withEvaluationTimeout(Duration timeout) Maximum duration of the entire evaluation.withMaxStepRetries(int maxRetries) Number of retries for a failed step.
-
Method Details
-
defaults
Settings with all values falling back to the runtime defaults. -
withEvaluationTimeout
Maximum duration of the entire evaluation. When it expires, a failed evaluation is recorded and the instance is cleaned up. -
withDefaultStepTimeout
Default timeout for each step of the evaluation. -
withMaxStepRetries
Number of retries for a failed step. Once retries are exhausted, a failed evaluation is recorded and the instance is cleaned up. -
evaluationTimeout
-
defaultStepTimeout
-
maxStepRetries
-