Represents the configuration of a Cluster object. The Cluster object
will use this class to construct it's internals.
Inheritance Hierarchy
Namespace: Couchbase.Configuration.ClientAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.2.0 (2.0.2.0)
Syntax
The ClientConfiguration type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClientConfiguration | Initializes a new instance of the ClientConfiguration class | |
ClientConfiguration(CouchbaseClientSection) |
For synchronization with App.config or Web.configs.
|
Methods
Name | Description | |
---|---|---|
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
ConfigLock |
Properties
Name | Description | |
---|---|---|
ApiPort |
Overrides the default and sets the Views REST API to use a custom port.
| |
BucketConfigs |
A map of BucketConfigurations and their names.
| |
BufferSize |
The size of each buffer to allocate per TCP connection for sending and recieving Memcached operations
| |
DefaultConnectionLimit |
Gets or sets the maximum number of concurrent connections allowed by a ServicePoint object used for making View and N1QL requests.
| |
DeserializationSettings |
The outgoing serializer settings for the JSON serializer.
| |
DirectPort |
Overrides the default and sets the direct port to use for Key/Value operations using the Binary Memcached protocol.
| |
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.
| |
MaxServicePointIdleTime |
Gets or sets the maximum idle time of a ServicePoint object used for making View and N1QL requests.
| |
MaxViewRetries |
The upper limit for the number of times a View request that has failed will be retried.
| |
MgmtPort |
Overrides the default and sets the Couchbase Management REST API to use a custom port.
| |
ObserveInterval |
Gets or Sets the interval between each observe attempt.
| |
ObserveTimeout |
Gets or Sets the max time an observe operation will take before timing out.
| |
PoolConfiguration |
The configuration used for creating the IConnectionPool for each IBucket.
| |
SerializationSettings |
The incoming serializer settings for the JSON serializer.
| |
Servers |
A list of hosts used to bootstrap from.
| |
SslPort |
Overrides the default and sets the SSL port to use for Key/Value operations using the Binary Memcached protocol.
| |
Timer |
A factory for creating IOperationTimer's.
| |
UseSsl |
Set to true to use Secure Socket Layers (SSL) to encrypt traffic between the client and Couchbase server.
| |
ViewHardTimeout |
The maximum amount of time that a View will request take before timing out. Note this includes time for retries, etc.
| |
ViewRequestTimeout |
Sets the timeout for each HTTP View request.
|
See Also