Uses of Interface
io.axoniq.framework.workflow.dsl.api.retry.BackoffStrategy
Packages that use BackoffStrategy
Package
Description
Retry policy configuration for workflow execute steps, including backoff strategies and retry callbacks.
-
Uses of BackoffStrategy in io.axoniq.framework.workflow.dsl.api.retry
Fields in io.axoniq.framework.workflow.dsl.api.retry declared as BackoffStrategyModifier and TypeFieldDescriptionstatic final BackoffStrategyBackoffStrategy.NONEBackoff strategy that applies no delay between retry attempts.Methods in io.axoniq.framework.workflow.dsl.api.retry that return BackoffStrategyModifier and TypeMethodDescriptionRetryPolicy.backoffStrategy()Returns the value of thebackoffStrategyrecord component.static BackoffStrategyBackoffStrategy.exponential(Duration base, Duration max) Exponential backoff:min(base * 2^(attempt-1), max), clamped tomaxat large attempt counts so the factor/multiply can never overflow, go negative, or wrap.static BackoffStrategyFixed delay between every retry attempt.static BackoffStrategyLinear backoff:baseDelay * attempt.Methods in io.axoniq.framework.workflow.dsl.api.retry with parameters of type BackoffStrategyModifier and TypeMethodDescriptionRetryPolicy.withBackoff(BackoffStrategy strategy) Returns a copy of this retry policy with the provided backoff strategy.Constructors in io.axoniq.framework.workflow.dsl.api.retry with parameters of type BackoffStrategyModifierConstructorDescriptionRetryPolicy(int maxRetries, RetryHandler onRetryHandler, BackoffStrategy backoffStrategy) Creates a retry policy with explicit retry count, retry hook, and backoff strategy.RetryPolicy(int maxRetries, RetryHandler onRetryHandler, BackoffStrategy backoffStrategy, Predicate<RetryContext> retryPredicate) Creates an instance of aRetryPolicyrecord class.