Packages

c

atmos.dsl

RetryPolicyExtensions

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RetryPolicyExtensions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RetryPolicyExtensions(self: RetryPolicy)

    self

    The retry policy to add the extension methods to.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. 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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 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.

  14. val self: RetryPolicy
  15. 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.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped