Skip to main content

StorageCleanerSettings(TimeSpan, TimeSpan, TimeSpan, TimeSpan, TimeSpan) Constructor

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

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public StorageCleanerSettings(
    TimeSpan dueTime,
    TimeSpan period,
    TimeSpan reportTimeToLive,
    TimeSpan documentTimeToLive,
    TimeSpan exportedDocumentTimeToLive
)

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. This time is measured from the the last access time.

documentTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of the PRNX document in the cache. This time is measured from the the last access time. If there is no cached copy, an exception occurs.

exportedDocumentTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of the exported document in the cache. This time is measured from the the last access time. This setting is in effect only for asynchronous exporting or printing when the exported documents use File Storage or Azure Environment.

See Also