Class EventCacheItem
This is a stripped down version of CacheItem
Contains basic information of an item present in the cache
Will be provided in
Inheritance
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class EventCacheItem : ICloneable
Properties
| Name | Description |
|---|---|
| CacheItemPriority | This property gets the CacheItemPriority of the item present in the cache. |
| CacheItemVersion | This property gets the ItemVersion of the item. |
| EntryType | This property gets the EntryType of the item. |
| Group | Group of the item. |
| ResyncOptions | This property is used to define the ResyncOptions that contains information whether the items are to be ReSynced at expiry. It also specifies the Read Through Provider name. |
Methods
| Name | Description |
|---|---|
| Clone() | Clones the event cache item instance. |
| GetValue<T>() | Will return the value present in the cache, but only if the event was registered against Metadata or DataWithMetadata, otherwise it will be null. |