object AsyncCluster
Functions to allow creating an AsyncCluster
, which represents a connection to a Couchbase cluster.
- Alphabetic
- By Inheritance
- AsyncCluster
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def connect(seedNodes: Set[SeedNode], options: ClusterOptions): Try[AsyncCluster]
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
an AsyncCluster representing a connection to the cluster
- def connect(connectionString: String, options: ClusterOptions): Try[AsyncCluster]
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
an AsyncCluster representing a connection to the cluster
- def connect(connectionString: String, username: String, password: String): Try[AsyncCluster]
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
an AsyncCluster representing a connection to the cluster
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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]) @native()
- 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
- Deprecated