Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CacheCleanerSettings(TimeSpan, TimeSpan, TimeSpan, TimeSpan) Constructor

In This Article

Initializes a new instance of the CacheCleanerSettings class with the specified settings.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

#Declaration

public CacheCleanerSettings(
    TimeSpan dueTime,
    TimeSpan period,
    TimeSpan reportTimeToLive,
    TimeSpan documentTimeToLive
)

#Parameters

Name Type Description
dueTime TimeSpan

A TimeSpan structure, specifying the delay between the application start-up and the start of cache cleaning services.

period TimeSpan

A TimeSpan structure, specifying the interval at which all cached resources (reports, documents, exported documents) are checked for expiration.

reportTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of a report (REPX template) in the cache. The time is measured from the the last access time. If the cache contains no REPX, it is retrieved from the storage.

documentTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of the PRNX document in the cache. The time is measured from the the last access time. The cache attempts to retrieve the document from the swap file if the document is not stored in memory. If there is no cached copy, an exception occurs.

See Also