NCache 4.4 - Online Documentation

Expiration Clean Up Interval

 
Clean interval is the periodic interval after which the expired items are removed from the cache. By default, its value is 15 sec. You can change the it by one of following two ways.
 
Using NCache Manager
 
  • Click on the cache name in Cache Explorer to open cache settings
  • Go to the Policies tab.
  • Change the Clean Interval as per your needs.
 
 
  • Right click the cache in Cache Explorer and select Apply Configuration option.
 
 
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