The configuration setttings for a Bucket.
Inheritance Hierarchy
Namespace: Couchbase.Configuration.ClientAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
The BucketConfiguration type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BucketConfiguration |
Default CTOR for localhost.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetEndPoint |
Gets a random IPEndPoint from the Servers list.
| |
GetEndPoints | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateOperationLifespanDefault |
Conditionally change the DefaultOperationLifespan property value, if and only if it wasn't already changed
from its default value.
Remarks Calling this method doesn't count as a changed from default value. That is, calling it twice will return true both times. |
Fields
Properties
Name | Description | |
---|---|---|
BucketName |
The name of the Bucket to connect to.
| |
DefaultOperationLifespan |
The maximum time allowed for an operation to live, in milliseconds, for this specific bucket.
Remarks Default value is 2500 (2.5 seconds) | |
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.
| |
Password |
The password to use if it's a SASL authenticated Bucket.
| |
PoolConfiguration |
The PoolConfiguration used to create the IConnectionPool.
| |
Port |
The Memcached port to use.
| |
Servers |
A list of IP's to bootstrap off of.
| |
Username |
The username for connecting to a Bucket.
| |
UseSsl |
Set to true to enable Secure Socket Layer (SSL) encryption of all traffic between the client and the server.
|
Remarks
The default setting use 127.0.0.1 and port 11210.
See Also