←Select platform

CheckPolicies Method

Summary

Checks the policy of all items in the cache and purge any item that has been expired.

Syntax
C#
C++/CLI
Java
Python
public virtual void CheckPolicies() 
public:  
   virtual void CheckPolicies() 
public void checkPolicies() 
def CheckPolicies(self): 
Remarks

Since cache items that are not used will stay on disk, it is preferable to create a process for purging expired policies manually. This can be done by calling CheckPolicies which will check the whole cache and delete any items that are expired.

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.