Class NullCacheProvider
Null Cache Provider for Dynamic Data Store. Should be used when caching isn't required
Implements
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.dll
Version: 11.20.7Syntax
public class NullCacheProvider : CacheProvider, IExternalCacheHandler
Constructors
NullCacheProvider()
Declaration
public NullCacheProvider()
Properties
ExternalCacheHandler
Declaration
protected override IExternalCacheHandler ExternalCacheHandler { get; }
Property Value
Type | Description |
---|---|
IExternalCacheHandler |
Overrides
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
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
Send(CacheChangedEventArgs)
Declaration
public void Send(CacheChangedEventArgs eventData)
Parameters
Type | Name | Description |
---|---|---|
CacheChangedEventArgs | eventData |
Events
CacheChanged
Declaration
public event EventHandler<CacheChangedEventArgs> CacheChanged
Event Type
Type | Description |
---|---|
System.EventHandler<CacheChangedEventArgs> |