Couchbase C++ SDK 1.0.1 (rev. 58d46d7)
Loading...
Searching...
No Matches
couchbase::management::cluster Namespace Reference

Classes

struct  bucket_settings
 

Enumerations

enum class  bucket_type { unknown , couchbase , memcached , ephemeral }
 
enum class  bucket_compression { unknown , off , active , passive }
 
enum class  bucket_eviction_policy {
  unknown , full , value_only , no_eviction ,
  not_recently_used
}
 
enum class  bucket_conflict_resolution { unknown , timestamp , sequence_number , custom }
 
enum class  bucket_storage_backend { unknown , couchstore , magma }
 

Enumeration Type Documentation

◆ bucket_compression

enum class bucket_compression
strong
Enumerator
unknown 
off 
active 
passive 

◆ bucket_conflict_resolution

enum class bucket_conflict_resolution
strong
Enumerator
unknown 
timestamp 

Use timestamp conflict resolution.

Timestamp-based conflict resolution (often referred to as Last Write Wins, or LWW) uses the document timestamp (stored in the CAS) to resolve conflicts. The timestamps associated with the most recent updates of source and target documents are compared. The document whose update has the more recent timestamp prevails.

sequence_number 

Use sequence number conflict resolution.

Conflicts can be resolved by referring to documents' sequence numbers. Sequence numbers are maintained per document, and are incremented on every document-update. The sequence numbers of source and target documents are compared; and the document with the higher sequence number prevails.

custom 

VOLATILE: This API is subject to change at any time.

In Couchbase Server 7.1, this feature is only available in "developer-preview" mode. See the UI XDCR settings.

◆ bucket_eviction_policy

enum class bucket_eviction_policy
strong
Enumerator
unknown 
full 

During ejection, everything (including key, metadata, and value) will be ejected.

Full Ejection reduces the memory overhead requirement, at the cost of performance.

This value is only valid for buckets of type COUCHBASE.

value_only 

During ejection, only the value will be ejected (key and metadata will remain in memory).

Value Ejection needs more system memory, but provides better performance than Full Ejection.

This value is only valid for buckets of type COUCHBASE.

no_eviction 

Couchbase Server keeps all data until explicitly deleted, but will reject any new data if you reach the quota (dedicated memory) you set for your bucket.

This value is only valid for buckets of type EPHEMERAL.

not_recently_used 

When the memory quota is reached, Couchbase Server ejects data that has not been used recently.

This value is only valid for buckets of type EPHEMERAL.

◆ bucket_storage_backend

enum class bucket_storage_backend
strong
Enumerator
unknown 
couchstore 
magma 

◆ bucket_type

enum class bucket_type
strong
Enumerator
unknown 
couchbase 
memcached 
ephemeral