Click or drag to resize

ClusterHelper Class

A helper object for working with a Cluster instance.
Inheritance Hierarchy
SystemObject
  CouchbaseClusterHelper

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.7.4-rev-0

The ClusterHelper type exposes the following members.

Constructors
  NameDescription
Public methodClusterHelper
Initializes a new instance of the ClusterHelper class
Top
Properties
  NameDescription
Public propertyStatic memberInitialized
True if the ClusterHelper has been initialized. Calling Close will reset this value to false.
Top
Methods
  NameDescription
Public methodStatic memberClose
Disposes the current Cluster instance and cleans up resources.
Public methodStatic memberCount
Returns the number of IBucket instances internally cached by the ClusterHelper.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGet
Returns a Singleton instance of the Cluster class.
Public methodStatic memberGetBucket(String)
Opens or gets an IBucket instance from the ICluster that this ClusterHelper is wrapping. The IBucket will be cached and subsequent requests for a IBucket of the same name will return the cached instance.
Public methodStatic memberGetBucket(String, String)
Opens or gets an IBucket instance from the ICluster that this ClusterHelper is wrapping. The IBucket will be cached and subsequent requests for a IBucket of the same name will return the cached instance.
Public methodStatic memberGetBucketAsync(String)
Opens or gets an IBucket instance from the ICluster that this ClusterHelper is wrapping. The IBucket will be cached and subsequent requests for a IBucket of the same name will return the cached instance.
Public methodStatic memberGetBucketAsync(String, String)
Opens or gets an IBucket instance from the ICluster that this ClusterHelper is wrapping. The IBucket will be cached and subsequent requests for a IBucket of the same name will return the cached instance.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberInitialize
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]
Public methodStatic memberInitialize(String)
Ctor for creating Cluster instance.
Public methodStatic memberInitialize(ClientConfiguration)
Creates a Cluster instance.
Public methodStatic memberInitialize(ICouchbaseClientDefinition)
Ctor for creating Cluster instance.
Public methodStatic memberInitialize(ClientConfiguration, IAuthenticator)
Creates a Cluster instance.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberRemoveBucket
Public methodToString (Inherited from Object.)
Top
Remarks
Creates a singleton instance of a Cluster object.
Remarks
See Also