Class EventCacheItem
This is a stripped down version of CacheItem Contains basic information of an item present in the cache Will be provided in QueryDataNotificationCallback or Alachisoft.NCache.Client.CacheItemRemovedCallback but only when the event is registered against Metadata or DataWithMetadata
Inheritance
System.Object
EventCacheItem
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class EventCacheItem : ICloneable
Properties
Name | Description |
---|---|
CacheItemPriority | CacheItemPriority of the item present in the cache |
CacheItemVersion | Item version of the item |
EntryType | Entry type of the item. |
Group | Group of the item |
ResyncOptions | ResyncOptions contain information if items are to be ReSynced at expiry and readthrough provider name when item will be resynced at expiry |
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. |