With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class CacheConfiguration

Config settings which define where caching is enabled and timeouts related to it.

Inheritance
System.Object
CacheConfiguration
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("Use CatalogOptions instead.")]
public class CacheConfiguration : ConfigurationElement

Constructors

CacheConfiguration()

Initializes a new instance of the CacheConfiguration class.

Declaration
public CacheConfiguration()

Properties

CatalogCollectionTimeout

Configuration attribute which determines when the CatalogCollection values are automatically refreshed in memory (in seconds).

Declaration
public TimeSpan CatalogCollectionTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The catalog collection timeout.

CatalogEntryTimeout

Configuration attribute which determines when the CatalogEntry value is automatically refreshed in memory (in seconds).

Declaration
public TimeSpan CatalogEntryTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The catalog entry timeout.

CatalogNodeTimeout

Configuration attribute which determines when the CatalogNode value is automatically refreshed in memory (in seconds).

Declaration
public TimeSpan CatalogNodeTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The catalog node timeout.

CatalogSchemaTimeout

Configuration attribute which determines when the CatalogSchema value is automatically refreshed in memory (in seconds).

Declaration
public TimeSpan CatalogSchemaTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The catalog schema timeout.

IsEnabled

Attribute determines whether in-memory caching is enabled or not.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is enabled; otherwise, false.

Methods

IsReadOnly()

Gets a value indicating whether the System.Configuration.ConfigurationElement object is read-only.

Declaration
public override bool IsReadOnly()
Returns
Type Description
System.Boolean

true if the System.Configuration.ConfigurationElement object is read-only; otherwise, false.