case class TimeoutConfig(kvTimeout: Option[Duration] = None, kvDurableTimeout: Option[Duration] = None, managementTimeout: Option[Duration] = None, queryTimeout: Option[Duration] = None, viewTimeout: Option[Duration] = None, searchTimeout: Option[Duration] = None, analyticsTimeout: Option[Duration] = None, connectTimeout: Option[Duration] = None, disconnectTimeout: Option[Duration] = None, kvScanTimeout: Option[Duration] = None) extends Product with Serializable

Configures all default timeouts.

kvTimeout

the default timeout to use for key-value operations

managementTimeout

the default timeout to use for management operations

queryTimeout

the default timeout to use for query operations

viewTimeout

the default timeout to use for view operations

searchTimeout

the default timeout to use for search operations

analyticsTimeout

the default timeout to use for analytics operations

connectTimeout

the default timeout to use for connection operations

disconnectTimeout

the default timeout to use for disconnection operations

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeoutConfig
  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 TimeoutConfig(kvTimeout: Option[Duration] = None, kvDurableTimeout: Option[Duration] = None, managementTimeout: Option[Duration] = None, queryTimeout: Option[Duration] = None, viewTimeout: Option[Duration] = None, searchTimeout: Option[Duration] = None, analyticsTimeout: Option[Duration] = None, connectTimeout: Option[Duration] = None, disconnectTimeout: Option[Duration] = None, kvScanTimeout: Option[Duration] = None)

    kvTimeout

    the default timeout to use for key-value operations

    managementTimeout

    the default timeout to use for management operations

    queryTimeout

    the default timeout to use for query operations

    viewTimeout

    the default timeout to use for view operations

    searchTimeout

    the default timeout to use for search operations

    analyticsTimeout

    the default timeout to use for analytics operations

    connectTimeout

    the default timeout to use for connection operations

    disconnectTimeout

    the default timeout to use for disconnection operations

Value Members

  1. def analyticsTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for analytics operations.

    Sets the timeout to use for analytics operations.

    The default is 75 seconds.

    returns

    this, for chaining

  2. def connectTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for connection operations.

    Sets the timeout to use for connection operations.

    The default is 10 seconds.

    returns

    this, for chaining

  3. def disconnectTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for disconnection operations.

    Sets the timeout to use for disconnection operations.

    The default is 10 seconds.

    returns

    this, for chaining

  4. def kvDurableTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for persist-level key-value operations.

    Sets the timeout to use for persist-level key-value operations.

    This includes any with com.couchbase.client.scala.durability.Durability.MajorityAndPersistToActive or com.couchbase.client.scala.durability.Durability.PersistToMajority or com.couchbase.client.scala.durability.Durability.ClientVerified with persistTo set.

    The default is 10 seconds.

    returns

    this, for chaining

  5. def kvScanTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for key-value range scan operations.

    Sets the timeout to use for key-value range scan operations.

    The default is 75 seconds.

    returns

    this, for chaining

  6. def kvTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for key-value operations.

    Sets the timeout to use for key-value operations.

    The default is 2.5 seconds.

    returns

    this, for chaining

  7. def managementTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for management operations.

    Sets the timeout to use for management operations.

    The default is 75 seconds.

    returns

    this, for chaining

  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. def queryTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for query operations.

    Sets the timeout to use for query operations.

    The default is 75 seconds.

    returns

    this, for chaining

  10. def searchTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for search operations.

    Sets the timeout to use for search operations.

    The default is 75 seconds.

    returns

    this, for chaining

  11. def viewTimeout(value: Duration): TimeoutConfig

    Sets the timeout to use for view operations.

    Sets the timeout to use for view operations.

    The default is 75 seconds.

    returns

    this, for chaining