Allows the Client Configuration to be set through an App.config or a Web.config.
Inheritance Hierarchy
System Object
System.Configuration ConfigurationElement
System.Configuration ConfigurationSection
Couchbase.Configuration.Client.Providers CouchbaseClientSection
Namespace: Couchbase.Configuration.Client.ProvidersSystem.Configuration ConfigurationElement
System.Configuration ConfigurationSection
Couchbase.Configuration.Client.Providers CouchbaseClientSection
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
The CouchbaseClientSection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CouchbaseClientSection | Initializes a new instance of the CouchbaseClientSection class |
Methods
Name | Description | |
---|---|---|
Equals | Compares the current ConfigurationElement instance to the specified object. (Inherited from ConfigurationElement.) | |
GetHashCode | Gets a unique value representing the current ConfigurationElement instance. (Inherited from ConfigurationElement.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsReadOnly | Gets a value indicating whether the ConfigurationElement object is read-only. (Inherited from ConfigurationElement.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ApiPort |
Overrides the default and sets the Views REST API to use a custom port.
| |
Buckets |
Allows specific configurations of Bucket's to be defined, overriding the parent's settings.
| |
CurrentConfiguration | Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to. (Inherited from ConfigurationElement.) | |
DirectPort |
Overrides the default and sets the direct port to use for Key/Value operations using the Binary Memcached protocol.
| |
ElementInformation | Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Inherited from ConfigurationElement.) | |
EnableConfigHeartBeat |
Enables configuration "heartbeat" checks.
| |
EnableOperationTiming |
Writes the elasped time for an operation to the log appender. Disabled by default.
| |
Expect100Continue |
Gets or sets a Boolean value that determines whether 100-Continue behavior is used.
| |
HeartbeatConfigInterval |
Sets the interval for configuration "heartbeat" checks, which check for changes in the configuration that are otherwise undetected by the client.
| |
HttpsApiPort |
Overrides the default and sets the Couchbase Views REST API to use a custom SSL port.
| |
HttpsMgmtPort |
Overrides the default and sets the Couchbase Management REST API to use a custom SSL port.
| |
LockAllAttributesExcept | Gets the collection of locked attributes. (Inherited from ConfigurationElement.) | |
LockAllElementsExcept | Gets the collection of locked elements. (Inherited from ConfigurationElement.) | |
LockAttributes | Gets the collection of locked attributes (Inherited from ConfigurationElement.) | |
LockElements | Gets the collection of locked elements. (Inherited from ConfigurationElement.) | |
LockItem | Gets or sets a value indicating whether the element is locked. (Inherited from ConfigurationElement.) | |
MaxViewRetries |
The maximum number of times the client will retry a View operation if it has failed for a retriable reason.
| |
MgmtPort |
Overrides the default and sets the Couchbase Management REST API to use a custom port.
| |
ObserveInterval |
Gets or Sets the max time an observe operation will take before timing out.
| |
ObserveTimeout |
Gets or Sets the interval between each observe attempt.
| |
OperationLifespan |
Gets or sets an uint value that determines the maximum lifespan of an operation before it is abandonned.
| |
SectionInformation | Gets a SectionInformation object that contains the non-customizable information and functionality of the ConfigurationSection object. (Inherited from ConfigurationSection.) | |
Servers |
Sets the Couchbase Server's list of bootstrap URI's. The client will use the list to connect to initially connect to the cluster.
| |
SslPort |
Overrides the default and sets the SSL port to use for Key/Value operations using the Binary Memcached protocol.
| |
UseSsl |
Set to true to use Secure Socket Layers (SSL) to encrypt traffic between the client and Couchbase server.
| |
ViewHardTimeout |
The maximum number of times the client will retry a View operation if it has failed for a retriable reason.
| |
ViewRequestTimeout |
Sets the timeout for each HTTP View request.
|
See Also