final case class RetryPolicyExtensions(self: RetryPolicy) extends AnyVal with Product with Serializable
Adds DSL extension methods to the retry policy interface.
- self
The retry policy to add the extension methods to.
- Alphabetic
- By Inheritance
- RetryPolicyExtensions
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RetryPolicyExtensions(self: RetryPolicy)
- self
The retry policy to add the extension methods to.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
alsoMonitorWith(monitor: EventMonitor): atmos.RetryPolicy
Creates a new retry policy by chaining the specified event monitor to the underlying policy's monitor.
Creates a new retry policy by chaining the specified event monitor to the underlying policy's monitor.
- monitor
The monitor to chain to the underlying policy's monitor.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
monitorWith(monitor: EventMonitor): atmos.RetryPolicy
Creates a new retry policy by replacing the underlying policy's monitor.
Creates a new retry policy by replacing the underlying policy's monitor.
- monitor
The monitor to use.
-
def
onError(errors: ErrorClassifier): atmos.RetryPolicy
Creates a new retry policy by replacing the underlying policy's error classifier.
Creates a new retry policy by replacing the underlying policy's error classifier.
- errors
The error classifier to use.
-
def
onResult(results: ResultClassifier): atmos.RetryPolicy
Creates a new retry policy by replacing the underlying policy's result classifier.
Creates a new retry policy by replacing the underlying policy's result classifier.
- results
The result classifier to use.
-
def
orOnError(errors: ErrorClassifier): atmos.RetryPolicy
Creates a new retry policy by chaining the specified error classifier to the underlying policy's classifier.
Creates a new retry policy by chaining the specified error classifier to the underlying policy's classifier.
- errors
The error classifier to chain to the underlying policy's classifier.
-
def
orOnResult(results: ResultClassifier): atmos.RetryPolicy
Creates a new retry policy by chaining the specified result classifier to the underlying policy's classifier.
Creates a new retry policy by chaining the specified result classifier to the underlying policy's classifier.
- results
The result classifier to chain to the underlying policy's classifier.
-
def
retryFor(termination: TerminationPolicy): atmos.RetryPolicy
Creates a new retry policy by replacing the underlying policy's termination policy.
Creates a new retry policy by replacing the underlying policy's termination policy.
- termination
The termination policy to use.
- val self: RetryPolicy
-
def
using(backoff: BackoffPolicy): atmos.RetryPolicy
Creates a new retry policy by replacing the underlying policy's backoff policy.
Creates a new retry policy by replacing the underlying policy's backoff policy.
- backoff
The backoff policy to use.