Click or drag to resize
PoolConfiguration Class
Represents a object used to construct the internal IConnectionPool object for a IBucket instance.
Inheritance Hierarchy
SystemObject
  System.ConfigurationConfigurationElement
    Couchbase.Configuration.ClientPoolConfiguration

Namespace: Couchbase.Configuration.Client
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class PoolConfiguration : ConfigurationElement

The PoolConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodPoolConfiguration
Initializes a new instance of the PoolConfiguration class
Public methodPoolConfiguration(Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the PoolConfiguration class
Top
Methods
  NameDescription
Public methodEquals
Compares the current ConfigurationElement instance to the specified object.
(Inherited from ConfigurationElement.)
Public methodGetHashCode
Gets a unique value representing the current ConfigurationElement instance.
(Inherited from ConfigurationElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsReadOnly
Gets a value indicating whether the ConfigurationElement object is read-only.
(Inherited from ConfigurationElement.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCurrentConfiguration
Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.
(Inherited from ConfigurationElement.)
Public propertyElementInformation
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Public propertyLockAllAttributesExcept
Gets the collection of locked attributes.
(Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockAttributes
Gets the collection of locked attributes
(Inherited from ConfigurationElement.)
Public propertyLockElements
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockItem
Gets or sets a value indicating whether the element is locked.
(Inherited from ConfigurationElement.)
Public propertyMaxSize
The maximum number of connections to create.
Public propertyMinSize
The minimum number of connection to create.
Public propertyOperationTimeout
The amount of time to wait for a pending operation to complete before timing out.
Public propertyRecieveTimeout Obsolete.
Public propertyShutdownTimeout
Wait up to the ShutdownTimeout to send or recieve data before closing the IConnection.
Public propertyUseSsl
Set to true to enable Secure Socket Layer (SSL) encryption of all traffic between the client and the server.
Public propertyWaitTimeout
The amount of time a thread will wait for a IConnection once the MaxSize of the pool has been reached.
Top
Remarks
Default configuration: MaxSize = 2; MinSize = 1; WaitTimeout = 2500; ReceiveTimeout = 2500; ShutdownTimeout = 10000; OperationTimeout = 2500;
See Also