Companion
object Companion
Properties
Functions
Link copied to clipboard
The budget retry gives; null when it is absent or gives nothing.
The budget of a handler annotated function in a processor annotated processor: the handler's settings, each one it does not give being the processor's. Null when neither gives any.
fun of(maxAttempts: Int = 0, initialBackoff: String = "", maxBackoff: String = "", timeout: String = "", multiplier: Double = 0.0): HandlerRetry?
The budget of the @Retry settings given: a maxAttempts of 0 and blank durations are not given; durations are Kotlin's (500ms, 1m 30s) or ISO-8601 (PT2S). Null when none is given.
fun of(maxAttempts: Int, initialBackoff: String, maxBackoff: String, timeout: String, recoverable: List<Class<out Throwable>>, unrecoverable: List<Class<out Throwable>>, multiplier: Double = 0.0, systemic: List<Class<out Throwable>> = emptyList()): HandlerRetry?
The budget of the @Retry settings given, as of without the exception classes, and the classes of @Retry(recoverable, unrecoverable, systemic): an empty list is not given.