case class Options(noDelay: Boolean, reuseAddr: Boolean, reusePort: Boolean) extends Product with Serializable
$param the options (i.e., socket options) of a Transport
.
- noDelay
enables or disables
TCP_NODELAY
(Nagle's algorithm) option on a transport socket (noDelay = true
means disabled). Default istrue
(disabled).- reuseAddr
enables or disables
SO_REUSEADDR
option on a transport socket. Default istrue
.- reusePort
enables or disables
SO_REUSEPORT
option on a transport socket (Linux 3.9+ only). This option is only available when using finagle-netty4 and native epoll support is enabled. Default isfalse
.
- Alphabetic
- By Inheritance
- Options
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Options(noDelay: Boolean, reuseAddr: Boolean)
- new Options(noDelay: Boolean, reuseAddr: Boolean, reusePort: Boolean)
- noDelay
enables or disables
TCP_NODELAY
(Nagle's algorithm) option on a transport socket (noDelay = true
means disabled). Default istrue
(disabled).- reuseAddr
enables or disables
SO_REUSEADDR
option on a transport socket. Default istrue
.- reusePort
enables or disables
SO_REUSEPORT
option on a transport socket (Linux 3.9+ only). This option is only available when using finagle-netty4 and native epoll support is enabled. Default isfalse
.
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(): (Options, Param[Options])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noDelay: Boolean
- 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 reuseAddr: Boolean
- val reusePort: Boolean
- 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()