NettyConfig

final case class NettyConfig(daemon: Boolean, ioGroup: GroupConfig, adminGroup: GroupConfig, timer: TimerConfig)

Options related to the Netty event loop groups used internally by the driver.

Value parameters:
adminGroup

The event loop group used for admin tasks not related to request I/O (handle cluster events, refresh metadata, schedule reconnections, etc.) By default, threads in this group are named after the session name, "-admin-" and an incrementing counter, for example "s0-admin-0".

daemon

Whether the threads created by the driver should be daemon threads. This will apply to the threads in io-group, admin-group, and the timer thread.

ioGroup

The event loop group used for I/O operations (reading and writing to Cassandra nodes). By default, threads in this group are named after the session name, "-io-" and an incrementing counter, for example "s0-io-0".

timer

The timer used for scheduling request timeouts and speculative executions By default, this thread is named after the session name and "-timer-0", for example "s0-timer-0".

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product