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
- Alphabetic
- By Inheritance
- TimeoutConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- 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
- 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