Hi,
I got a problem with eviction. I added to xml file eviction policy attribute.
It looks like this
<!-- Name of the eviction policy class. -->
org.jboss.cache.eviction.LRUPolicy
<!-- Specific eviction policy configurations. This is LRU -->
5
<!-- Cache wide /COM/BusinessOrder-->
5000
3
Now I'm running a test where I've put an object in TreeCache then put Thread.sleep(10000) - 10 seconds and now trying to get it from TreeCache. I'm expecting that it's not there because 10 >5 but I'm wrong.
It's still in the cache. What I'm doing wrong.
Please could you advice me.
Thanks,
David