BucketConfiguration ClassCouchbase .NET SDK 2.0
The configuration setttings for a Bucket.
Inheritance Hierarchy
System Object
  Couchbase.Configuration.Client BucketConfiguration

Namespace: Couchbase.Configuration.Client
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public sealed class BucketConfiguration

The BucketConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodBucketConfiguration
Default CTOR for localhost.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEndPoint
Gets a random IPEndPoint from the Servers list.
Public methodGetEndPoints
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateOperationLifespanDefault
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.
Top
Fields
  NameDescription
Public fieldStatic memberSslPort
Top
Properties
  NameDescription
Public propertyBucketName
The name of the Bucket to connect to.
Public propertyDefaultOperationLifespan
The maximum time allowed for an operation to live, in milliseconds, for this specific bucket.
Remarks
Default value is 2500 (2.5 seconds)
Public propertyObserveInterval
Gets or Sets the interval between each observe attempt.
Public propertyObserveTimeout
Gets or Sets the max time an observe operation will take before timing out.
Public propertyPassword
The password to use if it's a SASL authenticated Bucket.
Public propertyPoolConfiguration
The PoolConfiguration used to create the IConnectionPool.
Public propertyPort
The Memcached port to use.
Public propertyServers
A list of IP's to bootstrap off of.
Public propertyUsername
The username for connecting to a Bucket.
Public propertyUseSsl
Set to true to enable Secure Socket Layer (SSL) encryption of all traffic between the client and the server.
Top
Remarks
The default setting use 127.0.0.1 and port 11210.
See Also