Packages

c

com.couchbase.client.scala.env

TimeoutConfig

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) 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, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeoutConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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)

    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( ... )
  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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. 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

    Annotations
    @Volatile()
  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()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. 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

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

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

  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped