Packages

object Cluster

Functions to allow creating a Cluster, which represents a connection to a Couchbase cluster.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cluster
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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

    Connect to a Couchbase cluster with a custom Set of com.couchbase.client.scala.env.SeedNode.

    Connect to a Couchbase cluster with a custom Set of com.couchbase.client.scala.env.SeedNode.

    Note that during opening of resources, all errors will be deferred until the first attempted operation.

    seedNodes

    known nodes from the Couchbase cluster to use for bootstrapping.

    options

    custom options used when connecting to the cluster.

    returns

    a Cluster representing a connection to the cluster

  7. def connect(connectionString: String, options: ClusterOptions): Try[Cluster]

    Connect to a Couchbase cluster with custom Authenticator.

    Connect to a Couchbase cluster with custom Authenticator.

    Note that during opening of resources, all errors will be deferred until the first attempted operation.

    connectionString

    connection string used to locate the Couchbase cluster.

    options

    custom options used when connecting to the cluster.

    returns

    a Cluster representing a connection to the cluster

  8. def connect(connectionString: String, username: String, password: String): Try[Cluster]

    Connect to a Couchbase cluster with a username and a password as credentials.

    Connect to a Couchbase cluster with a username and a password as credentials.

    Note that during opening of resources, all errors will be deferred until the first attempted operation.

    connectionString

    connection string used to locate the Couchbase cluster.

    username

    the name of a user with appropriate permissions on the cluster.

    password

    the password of a user with appropriate permissions on the cluster.

    returns

    a Cluster representing a connection to the cluster

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. 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 AnyRef

Inherited from Any

Ungrouped