Cluster Class |
Namespace: Couchbase
The Cluster type exposes the following members.
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.
| |
Cluster(ICouchbaseClientDefinition) |
Ctor for creating Cluster instance using an ICouchbaseClientDefinition.
|
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 | Obsolete.
Returns an object representing cluster status information.
|
Name | Description | |
---|---|---|
Authenticate(IAuthenticator) |
Authenticates the specified authenticator.
| |
Authenticate(IClusterCredentials) |
Authenticates the specified credentials.
| |
Authenticate(String, String) |
Authenticate using a username and password.
| |
CloseBucket |
Closes and releases all resources associated with a Couchbase bucket.
| |
CreateManager |
Creates a IClusterManager object that uses the current ICluster configuration settings
and IClusterCredentials for authentication.
| |
CreateManager(String, String) |
Creates a IClusterManager object that uses the current ICluster configuration settings.
| |
Diagnostics |
Creates a diagnostics report from the perspective of the client connected to each of the requeted services.
| |
Diagnostics(String) |
Creates a diagnostics report from the perspective of the client connected to each of the requeted services.
| |
Dispose |
Closes and releases all internal resources.
| |
Equals | (Inherited from Object.) | |
Finalize |
Cleans up any non-reclaimed resources.
(Overrides ObjectFinalize.) | |
GetClusterVersion |
Gets the cluster version using the configured credentials.
| |
GetClusterVersionAsync |
Gets the cluster version using the configured credentials.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsOpen |
Returns a response indicating whether or not the IBucket instance has been opened and this Cluster instance is observing it.
| |
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.
| |
OpenBucketAsync |
Opens the default bucket associated with a Couchbase Cluster.
| |
OpenBucketAsync(String) |
Creates a connection to a non-SASL Couchbase bucket.
| |
OpenBucketAsync(String, String) |
Creates a connection to a specific SASL authenticated Couchbase Bucket.
| |
QueryT(String) |
Executes a N1QL query against the Couchbase Cluster.
| |
QueryT(IQueryRequest) |
Executes a N1QL statement or prepared statement via a IQueryRequest against the Couchbase Cluster.
| |
QueryAsyncT(String) |
Asynchronously executes a N1QL query against the Couchbase Cluster.
| |
QueryAsyncT(IQueryRequest) |
Asynchronously executes a N1QL statement or prepared statement via a IQueryRequest against the Couchbase Cluster.
| |
ToString | (Inherited from Object.) |