Class BucketSettings
Namespace: Couchbase.Management.Buckets
Assembly: Couchbase.NetClient.dll
Syntax
public class BucketSettings : object
Properties
| Improve this Doc View SourceBucketType
The BucketType type to be created.
Declaration
public BucketType BucketType { get; set; }
Property Value
Type | Description |
---|---|
BucketType |
CompressionMode
The CompressionMode to use.
Declaration
public CompressionMode? CompressionMode { get; set; }
Property Value
Type | Description |
---|---|
Nullable<CompressionMode> |
ConflictResolutionType
The type of conflict resolution to use. Note: Only use this with CreateBucketAsync().
Declaration
public ConflictResolutionType? ConflictResolutionType { get; set; }
Property Value
Type | Description |
---|---|
Nullable<ConflictResolutionType> |
DurabilityMinimumLevel
Returns the minimum durability level set for the bucket.
Declaration
public DurabilityLevel DurabilityMinimumLevel { get; set; }
Property Value
Type | Description |
---|---|
DurabilityLevel |
Remarks
Note that if the bucket does not support it, and by default, it is set to None.
EjectionMethod
Declaration
public EvictionPolicyType? EjectionMethod { get; set; }
Property Value
Type | Description |
---|---|
Nullable<EvictionPolicyType> |
EvictionPolicy
The EvictionPolicy to use.
Declaration
public EvictionPolicyType? EvictionPolicy { get; set; }
Property Value
Type | Description |
---|---|
Nullable<EvictionPolicyType> |
FlushEnabled
Enables flushing on the bucket.
Declaration
public bool FlushEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HistoryRetentionBytes
The maximum size, in bytes, of the change history that is written to disk for all collections in this bucket.
Declaration
public ulong? HistoryRetentionBytes { get; set; }
Property Value
Type | Description |
---|---|
Nullable<UInt64> |
HistoryRetentionCollectionDefault
Whether to enable history retention on collections by default.
Declaration
public bool? HistoryRetentionCollectionDefault { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
HistoryRetentionDuration
The maximum duration of history each vBucket should aim to retain on disk.
Declaration
public TimeSpan? HistoryRetentionDuration { get; set; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
MaxTtl
The maximum Time-To-Live (TTL) for new documents in the Bucket. 0 : Documents do not expire.
Declaration
public int MaxTtl { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Name
The bucket name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
NumReplicas
The number of servers that a document will be replicated to.
Declaration
public int NumReplicas { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
RamQuotaMB
The amount of RAM to allocate for the bucket.
Declaration
public long RamQuotaMB { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
ReplicaIndexes
Whether or not to replicate indexes across the cluster.
Declaration
public bool ReplicaIndexes { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
StorageBackend
The type of storage to use with the bucket. This is only specified for "couchbase" buckets.
Declaration
public StorageBackend? StorageBackend { get; set; }
Property Value
Type | Description |
---|---|
Nullable<StorageBackend> |