←Select platform

CacheItemPolicy Class

Summary

Defines the expiration details of a cache entry.

Syntax
C#
C++/CLI
Java
Python
public class CacheItemPolicy 
public ref class CacheItemPolicy 
public class CacheItemPolicy 
class CacheItemPolicy: 
Remarks

The CacheItemPolicy instance contains the expiration details of a cache entry. When the cache object retrieves a cache entry, the policy is checked and if the expiration details is met, the entry is deleted from the cache.

The default constructor of CacheItemPolicy creates a policy that does not expire (maximum value).

CacheItemPolicy supports two types of expiration:

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.