| setcacheparameter_cacheevictionpolicy |
Use this method to set the cacheEvictionPolicy determines the threshold for preemptive eviction of cache objects using the LRU (Least Recently Used) algorithm. If set to AGGRESSIVE, eviction is triggered when free cache memory drops to 40%. MODERATE triggers eviction at 25%, and RELAXED triggers eviction at 10%. |
Syntax |
Parameters |
cacheevictionpolicy |
The cacheEvictionPolicy determines the threshold for preemptive eviction of cache objects using the LRU (Least Recently Used) algorithm. If set to AGGRESSIVE, eviction is triggered when free cache memory drops to 40%. MODERATE triggers eviction at 25%, and RELAXED triggers eviction at 10%. Default value = NS_CACHE_EVICTION_POLICY_RELAXED. Possible Values : RELAXED, MODERATE, AGGRESSIVE. |
Return Value |
Returns simpleResult |
See Also |