final case class AdvancedConfig(connection: ConnectionConfig = AdvancedConfig.Default.connection, reconnectOnInit: Boolean = AdvancedConfig.Default.reconnectOnInit, reconnectionPolicy: ReconnectionPolicyConfig = AdvancedConfig.Default.reconnectionPolicy, retryPolicy: RetryPolicyConfig = AdvancedConfig.Default.retryPolicy, speculativeExecutionPolicy: SpeculativeExecutionPolicyConfig = AdvancedConfig.Default.speculativeExecutionPolicy, authProvider: Option[AuthProviderConfig] = AdvancedConfig.Default.authProvider, timestampGenerator: TimestampGeneratorConfig = AdvancedConfig.Default.timestampGenerator, requestTracker: RequestTrackerConfig = AdvancedConfig.Default.requestTracker, throttler: ThrottlerConfig = AdvancedConfig.Default.throttler, nodeStateListener: NodeStateListenerConfig = AdvancedConfig.Default.nodeStateListener, schemaChangeListener: SchemaChangeListenerConfig = AdvancedConfig.Default.schemaChangeListener, addressTranslator: AddressTranslatorConfig = AdvancedConfig.Default.addressTranslator, resolveContactPoints: Boolean = AdvancedConfig.Default.resolveContactPoints, protocol: ProtocolConfig = AdvancedConfig.Default.protocol, request: AdvancedRequestConfig = AdvancedConfig.Default.request, metrics: MetricsConfig = AdvancedConfig.Default.metrics, heartbeat: HeartbeatConfig = AdvancedConfig.Default.heartbeat, socket: SocketConfig = AdvancedConfig.Default.socket, metadata: MetadataConfig = AdvancedConfig.Default.metadata, controlConnection: ControlConnectionConfig = AdvancedConfig.Default.controlConnection, preparedStatements: PreparedStatementsConfig = AdvancedConfig.Default.preparedStatements, netty: NettyConfig = AdvancedConfig.Default.netty, coalescer: CoalescerConfig = AdvancedConfig.Default.coalescer) extends Product with Serializable

Advanced datastax driver configuration

connection

Configures query connection.

reconnectOnInit

Whether to schedule reconnection attempts if all contact points are unreachable on the first initialization attempt. If this is true, the driver will retry according to the reconnection policy. The SessionBuilder.build() call -- or the future returned by SessionBuilder.buildAsync() -- won't complete until a contact point has been reached. If this is false and no contact points are available, the driver will fail.

reconnectionPolicy

The policy that controls how often the driver tries to re-establish connections to down nodes.

retryPolicy

The policy that controls if the driver retries requests that have failed on one node.

speculativeExecutionPolicy

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

authProvider

if None no authentication will occur.

timestampGenerator

The generator that assigns a microsecond timestamp to each request.

requestTracker

A session-wide component that tracks the outcome of requests. By default com.datastax.oss.driver.internal.core.trackerNoopRequestTracker is used.

throttler

A session-wide component that controls the rate at which requests are executed. By default PassThroughRequestThrottler is used.

nodeStateListener

A session-wide component that listens for node state changes. By default com.datastax.oss.driver.internal.core.metadata.NoopNodeStateListener is used.

schemaChangeListener

A session-wide component that listens for node state changes. By default com.datastax.oss.driver.internal.core.metadata.schema.NoopSchemaChangeListener is used.

addressTranslator

The address translator to use to convert the addresses sent by Cassandra nodes into ones that the driver uses to connect. By default com.datastax.oss.driver.internal.core.addresstranslation.PassThroughAddressTranslator is used.

resolveContactPoints

Whether to resolve the addresses passed to Basic.contactPoints. If this is true, addresses are created with InetSocketAddress(String, int): the host name will be resolved the first time, and the driver will use the resolved IP address for all subsequent connection attempts. If this is false, addresses are created with InetSocketAddress.createUnresolved(): the host name will be resolved again every time the driver opens a new connection. This is useful for containerized environments where DNS records are more likely to change over time (note that the JVM and OS have their own DNS caching mechanisms, so you might need additional configuration beyond the driver).

protocol

The native protocol to use which defines the format of the binary messages between driver and Cassandra.

request

Request configuration.

metrics

Metrics configuration. Disabled by default.

heartbeat

Heartbeat configuration to check if node is alive.

socket

Socket configuration.

metadata

Metadata about the Cassandra cluster.

controlConnection

Configures dedicated administrative connection.

preparedStatements

Prepared statements configuration.

netty

Netty configuration which is used internally by driver.

coalescer

The component that coalesces writes on the connections.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdvancedConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AdvancedConfig(connection: ConnectionConfig = AdvancedConfig.Default.connection, reconnectOnInit: Boolean = AdvancedConfig.Default.reconnectOnInit, reconnectionPolicy: ReconnectionPolicyConfig = AdvancedConfig.Default.reconnectionPolicy, retryPolicy: RetryPolicyConfig = AdvancedConfig.Default.retryPolicy, speculativeExecutionPolicy: SpeculativeExecutionPolicyConfig = AdvancedConfig.Default.speculativeExecutionPolicy, authProvider: Option[AuthProviderConfig] = AdvancedConfig.Default.authProvider, timestampGenerator: TimestampGeneratorConfig = AdvancedConfig.Default.timestampGenerator, requestTracker: RequestTrackerConfig = AdvancedConfig.Default.requestTracker, throttler: ThrottlerConfig = AdvancedConfig.Default.throttler, nodeStateListener: NodeStateListenerConfig = AdvancedConfig.Default.nodeStateListener, schemaChangeListener: SchemaChangeListenerConfig = AdvancedConfig.Default.schemaChangeListener, addressTranslator: AddressTranslatorConfig = AdvancedConfig.Default.addressTranslator, resolveContactPoints: Boolean = AdvancedConfig.Default.resolveContactPoints, protocol: ProtocolConfig = AdvancedConfig.Default.protocol, request: AdvancedRequestConfig = AdvancedConfig.Default.request, metrics: MetricsConfig = AdvancedConfig.Default.metrics, heartbeat: HeartbeatConfig = AdvancedConfig.Default.heartbeat, socket: SocketConfig = AdvancedConfig.Default.socket, metadata: MetadataConfig = AdvancedConfig.Default.metadata, controlConnection: ControlConnectionConfig = AdvancedConfig.Default.controlConnection, preparedStatements: PreparedStatementsConfig = AdvancedConfig.Default.preparedStatements, netty: NettyConfig = AdvancedConfig.Default.netty, coalescer: CoalescerConfig = AdvancedConfig.Default.coalescer)

    connection

    Configures query connection.

    reconnectOnInit

    Whether to schedule reconnection attempts if all contact points are unreachable on the first initialization attempt. If this is true, the driver will retry according to the reconnection policy. The SessionBuilder.build() call -- or the future returned by SessionBuilder.buildAsync() -- won't complete until a contact point has been reached. If this is false and no contact points are available, the driver will fail.

    reconnectionPolicy

    The policy that controls how often the driver tries to re-establish connections to down nodes.

    retryPolicy

    The policy that controls if the driver retries requests that have failed on one node.

    speculativeExecutionPolicy

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

    authProvider

    if None no authentication will occur.

    timestampGenerator

    The generator that assigns a microsecond timestamp to each request.

    requestTracker

    A session-wide component that tracks the outcome of requests. By default com.datastax.oss.driver.internal.core.trackerNoopRequestTracker is used.

    throttler

    A session-wide component that controls the rate at which requests are executed. By default PassThroughRequestThrottler is used.

    nodeStateListener

    A session-wide component that listens for node state changes. By default com.datastax.oss.driver.internal.core.metadata.NoopNodeStateListener is used.

    schemaChangeListener

    A session-wide component that listens for node state changes. By default com.datastax.oss.driver.internal.core.metadata.schema.NoopSchemaChangeListener is used.

    addressTranslator

    The address translator to use to convert the addresses sent by Cassandra nodes into ones that the driver uses to connect. By default com.datastax.oss.driver.internal.core.addresstranslation.PassThroughAddressTranslator is used.

    resolveContactPoints

    Whether to resolve the addresses passed to Basic.contactPoints. If this is true, addresses are created with InetSocketAddress(String, int): the host name will be resolved the first time, and the driver will use the resolved IP address for all subsequent connection attempts. If this is false, addresses are created with InetSocketAddress.createUnresolved(): the host name will be resolved again every time the driver opens a new connection. This is useful for containerized environments where DNS records are more likely to change over time (note that the JVM and OS have their own DNS caching mechanisms, so you might need additional configuration beyond the driver).

    protocol

    The native protocol to use which defines the format of the binary messages between driver and Cassandra.

    request

    Request configuration.

    metrics

    Metrics configuration. Disabled by default.

    heartbeat

    Heartbeat configuration to check if node is alive.

    socket

    Socket configuration.

    metadata

    Metadata about the Cassandra cluster.

    controlConnection

    Configures dedicated administrative connection.

    preparedStatements

    Prepared statements configuration.

    netty

    Netty configuration which is used internally by driver.

    coalescer

    The component that coalesces writes on the connections.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val addressTranslator: AddressTranslatorConfig
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val authProvider: Option[AuthProviderConfig]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. val coalescer: CoalescerConfig
  9. val connection: ConnectionConfig
  10. val controlConnection: ControlConnectionConfig
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. val heartbeat: HeartbeatConfig
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val metadata: MetadataConfig
  16. val metrics: MetricsConfig
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val netty: NettyConfig
  19. val nodeStateListener: NodeStateListenerConfig
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. val preparedStatements: PreparedStatementsConfig
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val protocol: ProtocolConfig
  25. val reconnectOnInit: Boolean
  26. val reconnectionPolicy: ReconnectionPolicyConfig
  27. val request: AdvancedRequestConfig
  28. val requestTracker: RequestTrackerConfig
  29. val resolveContactPoints: Boolean
  30. val retryPolicy: RetryPolicyConfig
  31. val schemaChangeListener: SchemaChangeListenerConfig
  32. val socket: SocketConfig
  33. val speculativeExecutionPolicy: SpeculativeExecutionPolicyConfig
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val throttler: ThrottlerConfig
  36. val timestampGenerator: TimestampGeneratorConfig
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped