- ICacheManagerFactory
ICacheManagerFactory
Namespace: Shared.Abstractions
Assembly: SharedLib
Cache manager factory for retrieving individual cachesMethods
GetCacheIfExists(String) | Retreives a cache by name if it exists. |
GetCache(String) | Retreives a cache by name if it exists. |
CacheExists(String) | Determines whether a cache exists or not |
CreateCache(String, TimeSpan) | Creates an instance of CacheManager Maximum age will not be reset, Items can be cleared. |
CreateCache(String, TimeSpan, Boolean, Boolean) | Creates an instance of CacheManager |
RemoveCache(String) | Removes a cache, by name if it exists. |
ClearAllCaches() | Forces a clean up of all caches, removing all items. This will not clear any cache manager instance where the AllowClearAll flag is set to false. |
CleanAllCaches() | Forces a clean up of all caches, removing older items that have expired |