6.5. TreeCache MRU eviction policy implementation

6.5. TreeCache MRU eviction policy implementation

TreeCache has implemented a MRU eviction policy, org.jboss.cache.eviction.MRUPolicy, that will control the eviction in based on most recently used algorithm. The most recently used nodes will be the first to evict with this policy. This policy guarantees O(n) = 1 for adds, removals and lookups (visits). It has the following configuration parameters:

Please read the above section for an example.