November Happy Hour will be moved to Thursday December 5th.

Class DefaultCacheProvider

Inheritance
System.Object
DefaultCacheProvider
Namespace: EPiServer.Data.Cache
Assembly: EPiServer.Data.Cache.dll
Version: 12.0.3
Syntax
public class DefaultCacheProvider : CacheProvider

Constructors

DefaultCacheProvider()

Declaration
public DefaultCacheProvider()

DefaultCacheProvider(IObjectInstanceCache)

Declaration
public DefaultCacheProvider(IObjectInstanceCache cacheInstance)
Parameters
Type Name Description
IObjectInstanceCache cacheInstance

DefaultCacheProvider(ISynchronizedObjectInstanceCache)

Declaration
public DefaultCacheProvider(ISynchronizedObjectInstanceCache cacheInstance)
Parameters
Type Name Description
ISynchronizedObjectInstanceCache cacheInstance

Properties

CacheInstance

Declaration
protected ISynchronizedObjectInstanceCache CacheInstance { get; set; }
Property Value
Type Description
ISynchronizedObjectInstanceCache

ExternalCacheHandler

Declaration
protected override IExternalCacheHandler ExternalCacheHandler { get; }
Property Value
Type Description
IExternalCacheHandler
Overrides

InstanceCache

Declaration
protected IObjectInstanceCache InstanceCache { get; set; }
Property Value
Type Description
IObjectInstanceCache

Methods

ClearAllCore()

Declaration
protected override void ClearAllCore()
Overrides

ClearStoreCore(String)

Declaration
protected override void ClearStoreCore(string storeName)
Parameters
Type Name Description
System.String storeName
Overrides

GetCore(String)

Declaration
protected override CacheItem GetCore(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
CacheItem
Overrides

Initialize(String, NameValueCollection)

Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type Name Description
System.String name
System.Collections.Specialized.NameValueCollection config
Overrides

InsertCore(String, CacheItem)

Declaration
protected override void InsertCore(string key, CacheItem value)
Parameters
Type Name Description
System.String key
CacheItem value
Overrides

RemoveCore(String)

Declaration
protected override void RemoveCore(string key)
Parameters
Type Name Description
System.String key
Overrides

Extension Methods