Packages

final case class ZRetryOptions extends Product with Serializable

Represents temporal retry options

See also

RetryOptions

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val backoffCoefficient: Option[Double]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val doNotRetry: Seq[String]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. val initialInterval: Option[zio.Duration]
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val maximumAttempts: Option[Int]
  13. val maximumInterval: Option[zio.Duration]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toJava: RetryOptions
  20. def toString(): String
    Definition Classes
    ZRetryOptions → AnyRef → Any
  21. def transformJavaOptions(f: (Builder) => Builder): ZRetryOptions

    Allows to specify options directly on the java SDK's RetryOptions.

    Allows to specify options directly on the java SDK's RetryOptions. Use it in case an appropriate withXXX method is missing

    Note

    the options specified via this method take precedence over those specified via other methods.

  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. def withBackoffCoefficient(backoffCoefficient: Double): ZRetryOptions

    Coefficient used to calculate the next retry interval.

    Coefficient used to calculate the next retry interval. The next retry interval is previous interval multiplied by this coefficient. Must be 1 or larger. Default is 2.0.

  26. def withDoNotRetry(types: String*): ZRetryOptions

    List of application failures types to not retry.

    List of application failures types to not retry.

    See also

    RetryOptions.Builder#setDoNotRetry

  27. def withInitialInterval(interval: zio.Duration): ZRetryOptions

    Interval of the first retry.

    Interval of the first retry. If coefficient is 1.0 then it is used for all retries. Required.

  28. def withMaximumAttempts(attempts: Int): ZRetryOptions

    When exceeded the amount of attempts, stop.

    When exceeded the amount of attempts, stop. Even if expiration time is not reached. Default is unlimited.

  29. def withMaximumInterval(maximumInterval: zio.Duration): ZRetryOptions

    Maximum interval between retries.

    Maximum interval between retries. Exponential backoff leads to interval increase. This value is the cap of the increase. Default is 100x of initial interval. Can't be less than initialInterval

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped