The client interface to a Couchbase Server Cluster.
Inheritance Hierarchy
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
The Cluster type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Cluster |
Ctor for creating Cluster instance using the default settings.
| |
Cluster(String) |
Ctor for creating Cluster instance using an App.Config or Web.config.
| |
Cluster(ClientConfiguration) |
Ctor for creating Cluster instance with a custom ClientConfiguration configuration.
|
Methods
Name | Description | |
---|---|---|
CloseBucket |
Closes and releases all resources associated with a Couchbase bucket.
| |
CreateManager |
Creates a IClusterManager object that uses the current ICluster configuration settings.
| |
Dispose |
Closes and releases all internal resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OpenBucket |
Opens the default bucket associated with a Couchbase Cluster.
| |
OpenBucket(String) |
Creates a connection to a non-SASL Couchbase bucket.
| |
OpenBucket(String, String) |
Creates a connection to a specific SASL authenticated Couchbase Bucket.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Configuration |
The current client configuration being used by the Cluster object.
Set this by passing in a ClientConfiguration object into [!:Initialize(ClientConfiguration)] or by
providing a CouchbaseClientSection in your App.config or Web.config and calling [!:Initialize(string)] | |
Info |
Returns an object representing cluster status information.
|
See Also