你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EvictionPolicy Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Redis eviction policy - default is VolatileLRU
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicyTypeConverter))]
public struct EvictionPolicy : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicy>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicyTypeConverter))>]
type EvictionPolicy = struct
interface IArgumentCompleter
Public Structure EvictionPolicy
Implements IArgumentCompleter, IEquatable(Of EvictionPolicy)
- Inheritance
-
EvictionPolicy
- Attributes
- Implements
Fields
AllKeysLfu | |
AllKeysLru | |
AllKeysRandom | |
NoEviction | |
VolatileLfu | |
VolatileLru | |
VolatileRandom | |
VolatileTtl |
Methods
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(EvictionPolicy) |
Compares values of enum type EvictionPolicy |
Equals(Object) |
Compares values of enum type EvictionPolicy (override for Object) |
GetHashCode() |
Returns hashCode for enum EvictionPolicy |
ToString() |
Returns string representation for EvictionPolicy |
Operators
Equality(EvictionPolicy, EvictionPolicy) |
Overriding == operator for enum EvictionPolicy |
Implicit(EvictionPolicy to String) |
Implicit operator to convert EvictionPolicy to string |
Implicit(String to EvictionPolicy) |
Implicit operator to convert string to EvictionPolicy |
Inequality(EvictionPolicy, EvictionPolicy) |
Overriding != operator for enum EvictionPolicy |