Class CacheItemAttributes
CacheItemAttributes contains the information about the cache attributes.
Inheritance
System.Object
CacheItemAttributes
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class CacheItemAttributes
Properties
Name | Description |
---|---|
AbsoluteExpiration | Gets/Sets absolute expiration. You can add an item to the cache with absolute expiration by specifying the exact date and time at which the item should be invalidated. When this time is elapsed, the item will be removed from the cache. |
Dependency | The dependency/dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this property contains a null reference (Nothing in Visual Basic). |
ResyncRequired | Gets/Sets the flag which indicates whether item should be reloaded on expiration if ReadThru provider is specified. |