Try our conversational search powered by Generative AI!

Class DefaultCacheProvider

Inheritance
System.Object
DefaultCacheProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Cache
Assembly: EPiServer.Data.Cache.dll
Version: 11.20.7
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
[Obsolete("Use overload that takes IObjectInstanceCache")]
public DefaultCacheProvider(ISynchronizedObjectInstanceCache cacheInstance)
Parameters
Type Name Description
ISynchronizedObjectInstanceCache cacheInstance

Properties

CacheInstance

Declaration
[Obsolete("Use property InstanceCache instead")]
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