SpeculativeExecutionPolicyConfig

final case class SpeculativeExecutionPolicyConfig(`class`: String, maxExecutions: Option[Int], delay: Option[Duration])

The policy that controls if the driver preemptively tries other nodes if a node takes too long to respond.

Value parameters:
class

The class of the policy. If it is not qualified, the driver assumes that it resides in the package com.datastax.oss.driver.internal.core.specex.

delay

The delay between each execution. 0 is allowed, and will result in all executions being sent simultaneously when the request starts.

maxExecutions

The maximum number of executions (including the initial, non-speculative execution). This must be at least one.

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