com.softinio.verdict4s.algebra.RetryPolicy
See theRetryPolicy companion class
object RetryPolicy
The default policy, a policy that never retries, and a validated constructor for your own.
Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
RetryPolicy.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
def apply(maxRetries: Int = ..., backoffInitial: FiniteDuration = ..., backoffMax: FiniteDuration = ..., jitter: Double = ..., retryableStatuses: SortedSet[Int] = ..., respectRetryAfter: Boolean = ..., totalTimeout: FiniteDuration = ...): ValidatedNec[Validation, RetryPolicy]
Build a policy, reporting every bad field at once.
Build a policy, reporting every bad field at once.
Attributes
Turn a Retry-After given as an HTTP date into a delay.
Turn a Retry-After given as an HTTP date into a delay.
Clamped at zero, because clock skew between client and server can otherwise produce a negative wait.
Attributes
Concrete fields
The settings the official SDKs use.
The settings the official SDKs use.
Attributes
Do not retry at all.
Do not retry at all.
Attributes
Givens
In this article