using System; using System.Runtime.Caching; using System.Text; using System.Web.Caching; using CacheItemPriority = System.Web.Caching.CacheItemPriority; namespace Umbraco.Core.Cache { /// /// An abstract class for implementing a runtime cache provider /// /// /// public interface IRuntimeCacheProvider : ICacheProvider { object GetCacheItem( string cacheKey, Func getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null); void InsertCacheItem( string cacheKey, Func getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null); } }