Table of Contents

Class ClearCacheItemsWebFarmTask

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

Web farm task used to clear cache items.

public class ClearCacheItemsWebFarmTask : WebFarmTaskBase
Inheritance
object
ClearCacheItemsWebFarmTask
Inherited Members
Extension Methods

Constructors

ClearCacheItemsWebFarmTask()

public ClearCacheItemsWebFarmTask()

Properties

IsCaseSensitive

Get or sets a value that indicates whether cache prefix key is case sensitive.

public bool IsCaseSensitive { get; set; }

Property Value

bool

KeyPrefix

Gets or sets prefix of all identifiers of caches to be flushed.

public string KeyPrefix { get; set; }

Property Value

string

Methods

ExecuteTask()

Processes the web farm task by invoking the ClearCache(string, bool, bool) method while passing it current class' properties as its parameters.

public override void ExecuteTask()