IObjectCacheTKey, TValue Methods

Scanjour Workflow4 Reference Manual

The IObjectCacheTKey, TValue generic type exposes the following members.

Methods

  NameDescription
Public methodClear
Method that will empty the cache and free up all memory allocated.
(Inherited from IObjectCacheBase.)
Public methodClear(Uri, TKey)
Remove object from the hash including statistics
Public methodGetHash
Returns the hash value of the object with specified key
Public methodGetOrInsert
Gets and returns the object if it exists in the cache otherwise the supplied createMethod is used to get the item from the repository
Public methodGetOrInsertChangedSince
Gets and returns the object if it exists in the cache - and is newer than the date provied in changedSince argument - otherwise the supplied createMethod is used to get the item from the repository
Public methodGetOrInsertWithHash
Gets and returns the hashvalue and object if it exists in the cache otherwise the supplied createMethod is used to get the item from the repository
Public methodGetStatistics
Returns statistic information for a item in the cache
Public methodRefresh
Removes all items from cache that is newer in the repository
Top
See Also

Reference