interface EvictionPolicy (View source)

Constants

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.