trait ClusterBase extends AnyRef
Represents a connection to a Couchbase cluster.
These can be created through the functions in the companion object.
- Self Type
- Cluster
- Since
1.0.0
- Alphabetic
- By Inheritance
- ClusterBase
- 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
- val async: AsyncCluster
Access an asynchronous version of this API.
- def authenticator(authenticator: Authenticator): Try[Unit]
Sets the authenticator used by the client.
Sets the authenticator used by the client.
Use this method to update a client certificate or JSON Web Token (JWT) before it expires.
The new authenticator must be of the same class as the existing authenticator.
If the new authenticator is a JwtAuthenticator, the new credential is immediately applied to all existing server connections.
CAVEAT: For all other types of authenticators, the new credential takes effect at an unspecified time in the future. Existing connections might continue to use the old credential indefinitely, while newly created connections are authenticated with the new credential. Consequently, changing to a credential with different privileges is strongly discouraged.
- authenticator
The authenticator bearing the updated user credential.
- def bucket(bucketName: String): Bucket
Opens and returns a Couchbase bucket resource that exists on this cluster.
Opens and returns a Couchbase bucket resource that exists on this cluster.
- bucketName
the name of the bucket to open
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def env: ClusterEnvironment
The environment used to create this 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
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val transactions: Transactions
- 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)