Companion

object Companion

Functions

Link copied to clipboard
fun of(name: String): EvictionPolicyType

Properties

Link copied to clipboard
val FULL: EvictionPolicyType

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

Link copied to clipboard
val NO_EVICTION: EvictionPolicyType

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.

Link copied to clipboard
val NOT_RECENTLY_USED: EvictionPolicyType

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

Link copied to clipboard
val VALUE_ONLY: EvictionPolicyType

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