Represents a object used to construct the internal IConnectionPool object for a IBucket instance.

System.Object
System.Configuration.ConfigurationElement
Couchbase.Configuration.Client.PoolConfiguration
Namespace: Couchbase.Configuration.ClientSystem.Configuration.ConfigurationElement
Couchbase.Configuration.Client.PoolConfiguration
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)

The PoolConfiguration type exposes the following members.

Name | Description | |
---|---|---|
![]() | PoolConfiguration(ClientConfiguration) | Initializes a new instance of the PoolConfiguration class |
![]() | PoolConfiguration(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, ClientConfiguration) | Initializes a new instance of the PoolConfiguration class |

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.) |

Name | Description | |
---|---|---|
![]() ![]() | DefaultSendTimeout |

Name | Description | |
---|---|---|
![]() | BufferSize |
The size of each buffer to allocate per TCP connection for sending and recieving Memcached operations
|
![]() | ClientConfiguration |
References the top level ClientConfiguration object.
|
![]() | ConnectTimeout |
The amount time allotted for the client to establish a TCP connection with a server before failing
|
![]() | 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.) |
![]() | ElementInformation | Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Inherited from ConfigurationElement.) |
![]() | EnableOperationTiming |
Writes the elasped time for an operation to the log appender Disabled by default.
|
![]() | 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.) |
![]() | MaxAcquireIterationCount |
The maximum number of iterations that a thread will wait for an available connection before throwing a ConnectionUnavailableException.
|
![]() | MaxSize |
The maximum number of connections to create.
|
![]() | MinSize |
The minimum number of connection to create.
|
![]() | OperationTimeout |
The amount of time to wait for a pending operation to complete before timing out.
|
![]() | RecieveTimeout | Obsolete. |
![]() | SendTimeout |
Cancels a pending operation if it does not complete in the time given and marks the connection as dead.
|
![]() | ShutdownTimeout |
Wait up to the ShutdownTimeout to send or recieve data before closing the IConnection.
|
![]() | UseSsl |
Set to true to enable Secure Socket Layer (SSL) encryption of all traffic between the client and the server.
|
![]() | WaitTimeout |
The amount of time a thread will wait for a IConnection once the MaxSize of the pool has been reached.
|

Default configuration:
MaxSize = 2;
MinSize = 1;
WaitTimeout = 2500;
ReceiveTimeout = 2500;
ShutdownTimeout = 10000;
OperationTimeout = 2500;
MaxConnectionAcquireCount = 5;
SendTimeout = 15000;
ConnectTimeout = 10000;
