Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Enum EvictionPolicyType

Namespace: Couchbase.Management.Buckets
Assembly: Couchbase.NetClient.dll
Syntax
public enum EvictionPolicyType

Fields

Name Description
FullEviction

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

NoEviction

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

NotRecentlyUsed

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

ValueOnly

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

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.