EventCacheItem

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 CacheItemRemovedCallback but only when the event is registered against EventDataFilter.Metadata or EventDataFilter.DataWithMetadata


Constructor

# new EventCacheItem()

initialize instance of EventCacheItem

Methods

# getCacheItemPriority()

Get CacheItemPriority of the item present in the cache

Returns:

CacheItemPriority

# getCacheItemVersion()

Item version of the item

Returns:

CacheItemVersion

# getGroup()

Group of the item

Returns:

Group

# getResyncExpiredItems()

If items are to be ReSynced at expiry

# getResyncOptions()

ResyncOptions contain information if items are to be ReSynced at expiry and readthrough provider name when item will be resynced at expiry

Returns:

ResyncOptions

# getValue()

Will contain the value present in the cache but only if the event was registered against EventDataFilter.Metadata or EventDataFilter.DataWithMetadata otherwise it will be null