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.Orders
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("Use the option class for the order system instead. Will remain at least until July 2021.")]
public class CacheConfiguration : ConfigurationElement

Constructors

CacheConfiguration()

Initializes a new instance of the CacheConfiguration class.

Declaration
public CacheConfiguration()

Properties

CountryCollectionTimeout

Gets or sets the country collection timeout.

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

The country collection timeout.

IsEnabled

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

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

JurisdictionCollectionTimeout

Gets or sets the jurisdiction collection timeout.

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

The jurisdiction collection timeout.

PaymentCollectionTimeout

Gets or sets the payment collection timeout.

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

The payment collection timeout.

PickListCollectionTimeout

Gets or sets the pick list collection timeout.

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

The pick list collection timeout.

ShippingCollectionTimeout

Gets or sets the shipping collection timeout.

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

The shipping collection timeout.

StatusCollectionTimeout

Gets or sets the status collection timeout.

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

The status collection timeout.

TaxCollectionTimeout

Gets or sets the tax collection timeout.

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

The tax collection timeout.

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.