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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)