NCache 4.6 - Online Documentation

Cache Data Expiration

 
Clean interval is the periodic interval after which the expired items are removed from the cache.  By default, expiration Clean-Up interval is 15 seconds. However, it is changeable. It can be changed in following way:
 
Using NCache Manager
 
·     Click on the cache name in Cache Explorer to open cache settings.
 
·     Go to the Policies tab.
 
·     You can choose any default expiration policy, and change its invalidation time accordingly.
 
 
·     Change the Clean Interval as per your needs.
 
 
·     Right click the cache in Cache Explorer and select Apply Configuration option.
 
 
This feature is also Hot Applicable.
 
 
 
Through Config.ncconf
 
Clean interval of a cache can also be specified through Config.ncconf as follows.
 
<cache-config name="mypartitionedcache" inproc="False" config-id="1" last-modified="6/20/2010 3:50:34 PM">
  <eviction-policy enabled="True" default-priority="normal" policy="priority" eviction-ratio="0.25"/>
    <cleanup interval="15sec"/>
</cache-config>
 
 
See Also