Interface IRuntimeCacheProvider
An abstract class for implementing a runtime cache provider
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public interface IRuntimeCacheProvider : ICacheProvider
Methods
GetCacheItem(String, Func<Object>, Nullable<TimeSpan>, Boolean, CacheItemPriority, CacheItemRemovedCallback, String[])
Declaration
object GetCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
Parameters
Type |
Name |
Description |
System.String |
cacheKey |
|
System.Func<System.Object> |
getCacheItem |
|
System.Nullable<System.TimeSpan> |
timeout |
|
System.Boolean |
isSliding |
|
System.Web.Caching.CacheItemPriority |
priority |
|
System.Web.Caching.CacheItemRemovedCallback |
removedCallback |
|
System.String[] |
dependentFiles |
|
Returns
Type |
Description |
System.Object |
|
InsertCacheItem(String, Func<Object>, Nullable<TimeSpan>, Boolean, CacheItemPriority, CacheItemRemovedCallback, String[])
Declaration
void InsertCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
Parameters
Type |
Name |
Description |
System.String |
cacheKey |
|
System.Func<System.Object> |
getCacheItem |
|
System.Nullable<System.TimeSpan> |
timeout |
|
System.Boolean |
isSliding |
|
System.Web.Caching.CacheItemPriority |
priority |
|
System.Web.Caching.CacheItemRemovedCallback |
removedCallback |
|
System.String[] |
dependentFiles |
|