final case class SocketConfig(tcpNoDelay: Boolean, keepAlive: Option[Boolean], reuseAddress: Option[Boolean], lingerInterval: Option[Int], receiveBufferSize: Option[Int], sendBufferSize: Option[Int]) extends Product with Serializable
Socket configuration.
- tcpNoDelay
Whether or not to disable the Nagle algorithm. By default, this option is set to true (Nagle disabled), because the driver has its own internal message coalescing algorithm.
- keepAlive
All other socket options are unset by default. The actual value depends on the underlying Netty transport.
- reuseAddress
Whether or not to allow address reuse.
- lingerInterval
Sets the linger interval. If the value is zero or greater, then it represents a timeout value, in seconds; if the value is negative, it means that this option is disabled.
- receiveBufferSize
Sets a hint to the size of the underlying buffers for incoming network I/O.
- sendBufferSize
Sets a hint to the size of the underlying buffers for outgoing network I/O.
- Alphabetic
- By Inheritance
- SocketConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SocketConfig(tcpNoDelay: Boolean, keepAlive: Option[Boolean], reuseAddress: Option[Boolean], lingerInterval: Option[Int], receiveBufferSize: Option[Int], sendBufferSize: Option[Int])
- tcpNoDelay
Whether or not to disable the Nagle algorithm. By default, this option is set to true (Nagle disabled), because the driver has its own internal message coalescing algorithm.
- keepAlive
All other socket options are unset by default. The actual value depends on the underlying Netty transport.
- reuseAddress
Whether or not to allow address reuse.
- lingerInterval
Sets the linger interval. If the value is zero or greater, then it represents a timeout value, in seconds; if the value is negative, it means that this option is disabled.
- receiveBufferSize
Sets a hint to the size of the underlying buffers for incoming network I/O.
- sendBufferSize
Sets a hint to the size of the underlying buffers for outgoing network I/O.
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]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepAlive: Option[Boolean]
- val lingerInterval: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val receiveBufferSize: Option[Int]
- val reuseAddress: Option[Boolean]
- val sendBufferSize: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tcpNoDelay: Boolean
- 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])