Share via


Database.EvictionPolicy Property

Definition

Gets or sets redis eviction policy - default is VolatileLRU. Possible values include: 'AllKeysLFU', 'AllKeysLRU', 'AllKeysRandom', 'VolatileLRU', 'VolatileLFU', 'VolatileTTL', 'VolatileRandom', 'NoEviction'

[Newtonsoft.Json.JsonProperty(PropertyName="properties.evictionPolicy")]
public string EvictionPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.evictionPolicy")>]
member this.EvictionPolicy : string with get, set
Public Property EvictionPolicy As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to