case class Liveness(readTimeout: Duration, writeTimeout: Duration, keepAlive: Option[Boolean]) extends Product with Serializable
$param the liveness of a Transport
. These properties dictate the
lifecycle of a Transport
and ensure that it remains relevant.
- readTimeout
A maximum duration a listener is allowed to read a request.
- writeTimeout
A maximum duration a listener is allowed to write a response.
- keepAlive
An option indicating if the keepAlive is on or off. If None, the implementation default is used.
- Alphabetic
- By Inheritance
- Liveness
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Liveness(readTimeout: Duration, writeTimeout: Duration, keepAlive: Option[Boolean])
- readTimeout
A maximum duration a listener is allowed to read a request.
- writeTimeout
A maximum duration a listener is allowed to write a response.
- keepAlive
An option indicating if the keepAlive is on or off. If None, the implementation default is used.
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
- val keepAlive: Option[Boolean]
- def mk(): (Liveness, Param[Liveness])
- 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 readTimeout: Duration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- val writeTimeout: Duration