A helper object for working with a Cluster instance.

Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)

The ClusterHelper type exposes the following members.

Name | Description | |
---|---|---|
![]() | ClusterHelper() |
Ctor for creating Cluster instance.
|
![]() | ClusterHelper(ClientConfiguration) |
Ctor for creating Cluster instance.
|

Name | Description | |
---|---|---|
![]() ![]() | Close |
Disposes the current Cluster instance and cleans up resources.
|
![]() ![]() | Count |
Returns the number of IBucket instances internally cached by the ClusterHelper.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | Get |
Returns a Singleton instance of the Cluster class.
|
![]() ![]() | GetBucket(String) | |
![]() ![]() | GetBucket(String, String) | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Initialize() |
Creates a Cluster instance using the default configuration. This is overload is suitable
for development only as it will use localhost (127.0.0.1) and the default Couchbase REST
and Memcached ports.
[!:http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#network-ports] |
![]() ![]() | Initialize(String) |
Ctor for creating Cluster instance.
|
![]() ![]() | Initialize(ClientConfiguration) |
Creates a Cluster instance.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | RemoveBucket | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Creates a singleton instance of a Cluster object.

Call Initialize() before calling Get() to get the instance.
