final case class HttpOperationPolicy(maxParallelRequestCount: Int, hostOverride: Option[String], retryPolicies: List[HttpRetryPolicy], circuitBreakerPolicy: Option[RetryPolicy], timeout: zio.Duration) extends Product with Serializable
Specifies the behavior for calling operations on a given host
- maxParallelRequestCount
The maximum number of parallel requests to this host
- hostOverride
Overrides the host with a custom one
- retryPolicies
Retry policies for different failure conditions
- circuitBreakerPolicy
Circuit breaker reset policy. If none, no circuit breaker will be used
- timeout
Timeout for the requests
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpOperationPolicy
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new HttpOperationPolicy(maxParallelRequestCount: Int, hostOverride: Option[String], retryPolicies: List[HttpRetryPolicy], circuitBreakerPolicy: Option[RetryPolicy], timeout: zio.Duration)
- maxParallelRequestCount
The maximum number of parallel requests to this host
- hostOverride
Overrides the host with a custom one
- retryPolicies
Retry policies for different failure conditions
- circuitBreakerPolicy
Circuit breaker reset policy. If none, no circuit breaker will be used
- timeout
Timeout for the requests
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 circuitBreakerPolicy: Option[RetryPolicy]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostOverride: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxParallelRequestCount: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val retryPolicies: List[HttpRetryPolicy]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeout: zio.Duration
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()