Interface IServiceCacheStorage<TKey, TCachedObject>
- Namespace
- Dynamicweb.Caching
- Assembly
- Dynamicweb.Core.dll
Implements cache storage wrapper designed to isolate the cache logic from the service it is used in.
Type Parameters
TKeyCacheKey unique accross cacheobjects in the storage
TCachedObjectObject cached by the storage
Properties
Cache
The service cache.
Property Value
- Service
Cache <TKey, TCachedObject>
Info
Information about the object cache
Property Value
- See Also
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
- See Also
ClearCache(IEnumerable<TKey>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keysIEnumerable<TKey>Keys to reset
- See Also
ClearCache(TKey)
Resets the specified key to the default value for objects stored in the object cache
Parameters
keyTKeyKey to reset
- See Also
SetCacheType<TObjectCache>()
Changes the storage container
Type Parameters
TObjectCache
- See Also