final case class ZRetryOptions extends Product with Serializable
Represents temporal retry options
- See also
 RetryOptions
- Alphabetic
 - By Inheritance
 
- ZRetryOptions
 - Serializable
 - Product
 - Equals
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -  val backoffCoefficient: Option[Double]
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -  val doNotRetry: Seq[String]
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -  val initialInterval: Option[zio.Duration]
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -  val maximumAttempts: Option[Int]
 -  val maximumInterval: Option[zio.Duration]
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -  def toJava: RetryOptions
 -    def toString(): String
- Definition Classes
 - ZRetryOptions → AnyRef → Any
 
 -    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
withXXXmethod is missing- Note
 the options specified via this method take precedence over those specified via other methods.
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -    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.
 -    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
 -    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.
 -    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.
 -    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
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)