ClusterHelper Class |
Namespace: Couchbase
The ClusterHelper type exposes the following members.
Name | Description | |
---|---|---|
ClusterHelper | Initializes a new instance of the ClusterHelper class |
Name | Description | |
---|---|---|
Initialized |
True if the ClusterHelper has been initialized. Calling
Close will reset this value to false.
|
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) | ||
GetBucketAsync(String) | ||
GetBucketAsync(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.
| |
Initialize(ICouchbaseClientDefinition) |
Ctor for creating Cluster instance.
| |
Initialize(ClientConfiguration, IAuthenticator) |
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.) |