final case class CancelGracePeriod(timeout: Tunable[Duration]) extends Product with Serializable
A class eligible for configuring the cancellation grace period of the dispatcher. When a request is interrupted, that the dispatcher will attempt to wait for the request completion before closing the connection. If the request completes before the grace period expires, the connection will be reused. If the request doesn't complete before the grace period expires, the connection will be closed.
- timeout
A cancellation grace period duration. Note: The default value for this setting is zero, meaning that immediately after request interruption the connection is closed and the request completes. Increasing this value can reduce the connection churn resulting from request interrupts at a cost of longer wait for the request to be completed.
- Alphabetic
- By Inheritance
- CancelGracePeriod
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CancelGracePeriod(timeout: Duration)
- new CancelGracePeriod(timeout: Tunable[Duration])
- timeout
A cancellation grace period duration. Note: The default value for this setting is zero, meaning that immediately after request interruption the connection is closed and the request completes. Increasing this value can reduce the connection churn resulting from request interrupts at a cost of longer wait for the request to be completed.
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 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mk(): (CancelGracePeriod, Param[CancelGracePeriod])
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeout: Tunable[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()