wvlet.airframe.control.Retry$.RetryContext
case class RetryContext(context: Option[Any], lastError: Throwable, retryCount: Int, maxRetry: Int, retryWaitStrategy: RetryPolicy, nextWaitMillis: Int, baseWaitMillis: Int, extraWaitMillis: Int, resultClassifier: Any => ResultClass, errorClassifier: Throwable => Failed, beforeRetryAction: RetryContext => Any) Attributes
- Graph
- Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Update the retry context, including retry count, last error, next wait time, etc.
Update the retry context, including retry count, last error, next wait time, etc.
Attributes
- Returns:
the next retry context
Clear the default beforeRetry action
Clear the default beforeRetry action
Attributes
Add a partial function that accepts exceptions that need to be retried.
Add a partial function that accepts exceptions that need to be retried.
Attributes
Set a detailed error handler upon Exception. If the given exception is not retryable, just rethrow the
exception. Otherwise, consume the exception.
Set a detailed error handler upon Exception. If the given exception is not retryable, just rethrow the
exception. Otherwise, consume the exception.
Attributes
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product