HeartbeatConfig

final case class HeartbeatConfig(interval: Duration, timeout: Duration)

If a connection stays idle for that duration (no reads), the driver sends a dummy message on it to make sure it's still alive. If not, the connection is trashed and replaced.

Value parameters:
interval

The heartbeat interval

timeout

How long the driver waits for the response to a heartbeat. If this timeout fires, the heartbeat is considered failed.

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