final class Builder extends AnyRef
Build a new retry policy.
Linear Supertypes
Ordering
- Alphabetic
 - By Inheritance
 
Inherited
- Builder
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
Visibility
- Public
 - Protected
 
Instance Constructors
-  new Builder()
 
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
 
 -  def build: RetryPolicy
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   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()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   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 withInitTimeout(initTimeout: Duration): Builder
Set initial timeout.
Set initial timeout.
- initTimeout
 initial timeout
- returns
 this builder
 -    def withMaxAttempts(maxAttempts: Int): Builder
Set max number of retry attempts.
Set max number of retry attempts.
- maxAttempts
 max number of retry attempts
- returns
 this builder
 -    def withOverallTimeout(overallTimeout: Duration): Builder
Set overall timeout.
Set overall timeout.
- overallTimeout
 overall timeout
- returns
 this builder
 -    def withRequestTimeout(requestTimeout: Duration): Builder
Set request timeout.
Set request timeout.
- requestTimeout
 request timeout
- returns
 this builder
 -    def withRetriableHttpErrors(retriableHttpErrors: Set[Int]): Builder
Set http retriable errors.
Set http retriable errors.
- retriableHttpErrors
 http retriable errors
- returns
 this builder
 -    def withRetryStrategy(retryStrategy: RetryStrategyType): Builder
Set retry strategy.
Set retry strategy.
- retryStrategy
 retry strategy
- returns
 this builder
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)