Cluster ClassCouchbase .NET SDK 2.0
The client interface to a Couchbase Server Cluster.
Inheritance Hierarchy
System Object
  Couchbase Cluster

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public sealed class Cluster : ICluster, 
	IDisposable

The Cluster type exposes the following members.

Constructors
  NameDescription
Public methodCluster 
Ctor for creating Cluster instance using the default settings.
Public methodCluster(String)
Ctor for creating Cluster instance using an App.Config or Web.config.
Public methodCluster(ClientConfiguration)
Ctor for creating Cluster instance with a custom ClientConfiguration configuration.
Top
Methods
  NameDescription
Public methodCloseBucket
Closes and releases all resources associated with a Couchbase bucket.
Public methodCreateManager
Creates a IClusterManager object that uses the current ICluster configuration settings.
Public methodDispose
Closes and releases all internal resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOpenBucket 
Opens the default bucket associated with a Couchbase Cluster.
Public methodOpenBucket(String)
Creates a connection to a non-SASL Couchbase bucket.
Public methodOpenBucket(String, String)
Creates a connection to a specific SASL authenticated Couchbase Bucket.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyConfiguration
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)]
Public propertyInfo
Returns an object representing cluster status information.
Top
See Also