Skip to main content

CacheCleanerSettings(TimeSpan, TimeSpan, TimeSpan, TimeSpan) Constructor

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

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v23.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