←Select platform

CheckPolicies Method

Summary

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

Syntax
C#
VB
C++
Java
public virtual void CheckPolicies() 
Public Overridable Sub CheckPolicies() 
public:  
   virtual void CheckPolicies() 
public void checkPolicies() 
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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