Share via


EvictionPolicy Struct

Definition

Redis eviction policy - default is VolatileLRU.

public readonly struct EvictionPolicy : IEquatable<Azure.ResourceManager.RedisEnterpriseCache.Models.EvictionPolicy>
type EvictionPolicy = struct
Public Structure EvictionPolicy
Implements IEquatable(Of EvictionPolicy)
Inheritance
EvictionPolicy
Implements

Constructors

EvictionPolicy(String)

Initializes a new instance of EvictionPolicy.

Properties

AllKeysLFU

AllKeysLFU.

AllKeysLRU

AllKeysLRU.

AllKeysRandom

AllKeysRandom.

NoEviction

NoEviction.

VolatileLFU

VolatileLFU.

VolatileLRU

VolatileLRU.

VolatileRandom

VolatileRandom.

VolatileTTL

VolatileTTL.

Methods

Equals(EvictionPolicy)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(EvictionPolicy, EvictionPolicy)

Determines if two EvictionPolicy values are the same.

Implicit(String to EvictionPolicy)

Converts a string to a EvictionPolicy.

Inequality(EvictionPolicy, EvictionPolicy)

Determines if two EvictionPolicy values are not the same.

Applies to