Documentation

EvictionPolicy

Table of Contents

FULL  = "fullEviction"
During ejection, everything (including key, metadata, and value) will be ejected.
NO_EVICTION  = "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.
NOT_RECENTLY_USED  = "nruEviction"
When the memory quota is reached, Couchbase Server ejects data that has not been used recently.
VALUE_ONLY  = "valueOnly"
During ejection, only the value will be ejected (key and metadata will remain in memory).

Constants

FULL

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

public mixed FULL = "fullEviction"

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

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.

public mixed NO_EVICTION = "noEviction"

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.

public mixed NOT_RECENTLY_USED = "nruEviction"

This value is only valid for buckets of type EPHEMERAL.

VALUE_ONLY

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

public mixed VALUE_ONLY = "valueOnly"

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

This value is only valid for buckets of type COUCHBASE.


        

Search results