A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class CacheConfiguration

Configuration element which contains cache enabled and reset values.

Inheritance
System.Object
CacheConfiguration
Namespace: Mediachase.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CacheConfiguration : ConfigurationElement

Constructors

CacheConfiguration()

Initializes a new instance of the CacheConfiguration class.

Declaration
public CacheConfiguration()

Properties

CampaignCollectionTimeout

Gets or sets the campaign collection timeout.

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

The campaign collection timeout.

ExpressionCollectionTimeout

Gets or sets the expression collection timeout.

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

The expression 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

true if this instance is enabled; otherwise, false.

PolicyCollectionTimeout

Gets or sets the policy collection timeout.

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

The policy collection timeout.

PromotionCollectionTimeout

Gets or sets the promotion collection timeout.

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

The promotion collection timeout.

SegmentCollectionTimeout

Gets or sets the segment collection timeout.

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

The segment 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.