ActionQos

data class ActionQos(val maxAttempts: Int = 5, val backoffMillis: Long = 10000, val backoffMultiplier: Double = 5.0, val backoffMaxInterval: Long = 60000, val propertyPrefix: String = "", val idempotent: Boolean = false, val delayPolicy: DelayPolicy = DelayPolicy.Inherit) : RetryProperties

Quality of service requirements for an action

Constructors

Link copied to clipboard
constructor(maxAttempts: Int = 5, backoffMillis: Long = 10000, backoffMultiplier: Double = 5.0, backoffMaxInterval: Long = 60000, propertyPrefix: String = "", idempotent: Boolean = false, delayPolicy: DelayPolicy = DelayPolicy.Inherit)

Properties

Link copied to clipboard
open override val backoffMaxInterval: Long = 60000
Link copied to clipboard
open override val backoffMillis: Long = 10000
Link copied to clipboard
open override val backoffMultiplier: Double = 5.0
Link copied to clipboard
Link copied to clipboard
val idempotent: Boolean = false
Link copied to clipboard
open override val maxAttempts: Int = 5
Link copied to clipboard
open override val propertyPrefix: String

Prefix when field values are assigned via configuration.

Link copied to clipboard
open val retryPolicy: <Error class: unknown class>

Functions

Link copied to clipboard
open fun coreRetryTemplate(name: String): <Error class: unknown class>

Spring Framework 7 template, as taken by the Spring AI 2.0 model builders. Filters on the same LlmRetryDecision as retryTemplate and reports through the same LlmRetryLogger: with no predicate core.retry replays every throwable, including a malformed request or a bad API key, and with no listener it does so without a word.

Link copied to clipboard
open override fun retryTemplate(name: String): <Error class: unknown class>