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. 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. 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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. 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

  8. 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

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. 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

  13. 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

  14. 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

  15. 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

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. 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

  21. 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

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. 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

  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. 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
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped