The IObjectCacheTKey, TValue generic type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Clear |
Method that will empty the cache and free up all memory allocated.
(Inherited from IObjectCacheBase.) |
![]() | Clear(TKey) |
Remove object from the hash including statistics
|
![]() | GetHash |
Returns the hash value of the object with specified key
|
![]() | GetOrInsert |
Gets and returns the object if it exists in the cache otherwise the supplied createMethod is used to
get the item from the repository
|
![]() | GetOrInsertWithHash |
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
|
![]() | GetStatistics |
Returns statistic information for a item in the cache
|
![]() | Refresh |
Removes all items from cache that is newer in the repository
|
See Also