Uses of Record Class
io.axoniq.framework.workflow.dsl.api.retry.RetryPolicy
Packages that use RetryPolicy
Package
Description
Retry policy configuration for workflow execute steps, including backoff strategies and retry callbacks.
Base Java DSL for defining workflow steps, providing the core primitives to execute work, wait for events, modify the
workflow payload, sleep, fail, and cancel a workflow.
Internal runtime contracts for workflow execution, command dispatch, configuration, and event publication.
-
Uses of RetryPolicy in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return RetryPolicyModifier and TypeMethodDescriptionExecuteStepDefinition.retryPolicy()Returns the value of theretryPolicyrecord component.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type RetryPolicyModifier and TypeMethodDescriptionExecuteStepDefinition.retryPolicy(RetryPolicy retryPolicy) Returns a copy of this definition with the provided retry policy.Constructors in io.axoniq.framework.workflow.dsl.api with parameters of type RetryPolicyModifierConstructorDescriptionExecuteStepDefinition(PrimitiveMetadata primitiveMetadata, Map<String, @Nullable Object> inputPayload, PayloadProcessor action, PayloadMapping payloadMapping, Timing timing, RetryPolicy retryPolicy) Creates an instance of aExecuteStepDefinitionrecord class. -
Uses of RetryPolicy in io.axoniq.framework.workflow.dsl.api.retry
Fields in io.axoniq.framework.workflow.dsl.api.retry declared as RetryPolicyModifier and TypeFieldDescriptionstatic final RetryPolicyRetryPolicy.NONEConstant retry policy that disables retries entirely.Methods in io.axoniq.framework.workflow.dsl.api.retry that return RetryPolicyModifier and TypeMethodDescriptionstatic RetryPolicyRetryPolicy.maxRetries(int maxRetries) Creates a retry policy with the provided retry count and no-op retry handling.RetryPolicy.onRetry(RetryHandler handler) Returns a copy of this retry policy with the provided retry handler.RetryPolicy.retryWhile(Predicate<RetryContext> predicate) Returns a copy of this retry policy with the provided retry predicate.RetryPolicy.withBackoff(BackoffStrategy strategy) Returns a copy of this retry policy with the provided backoff strategy. -
Uses of RetryPolicy in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base that return RetryPolicyModifier and TypeMethodDescriptionBaseWorkflowContext.defaultRetryPolicy()Returns the retry policy currently applied to newly created execute step definitions.Methods in io.axoniq.framework.workflow.dsl.base with parameters of type RetryPolicyModifier and TypeMethodDescriptionvoidBaseWorkflowContext.setDefaultRetryPolicy(RetryPolicy defaultRetryPolicy) Sets the retry policy applied to newly created execute step definitions unless a customizer overrides it. -
Uses of RetryPolicy in io.axoniq.framework.workflow.runtime.api.execution.context
Methods in io.axoniq.framework.workflow.runtime.api.execution.context that return RetryPolicyModifier and TypeMethodDescriptiondefault RetryPolicyExecutePrimitive.ExecuteCommand.retryPolicy()Returns retry policy for the action.PrimitiveCommands.WorkflowStepResultExecuteCommand.retryPolicy()Returns the value of theretryPolicyrecord component.Constructors in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type RetryPolicyModifierConstructorDescriptionWorkflowStepResultExecuteCommand(String stepName, Map<String, @Nullable Object> local, PayloadProcessor action, PayloadReducer parameterMapping, PayloadReducer resultMapping, Duration timeout, EventNameCustomizer eventNameCustomizer, RetryPolicy retryPolicy) Creates an instance of aWorkflowStepResultExecuteCommandrecord class.