The relative cost of the object, as expressed by the enumeration.
The cache uses this value when it evicts objects; objects with a lower cost
are removed from the cache before objects with a higher cost.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
public CacheItemPriority Priority { get; set; } |
Visual Basic |
---|
Public Property Priority As CacheItemPriority Get Set |
Visual C++ |
---|
public: property CacheItemPriority Priority { CacheItemPriority get (); void set (CacheItemPriority value); } |
Field Value
The default value is CacheItemPriority.Default.Remarks
This property will be used only when the eviction policy is set to
priority in the configuration.