This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Cache.put with Timespan doesnt evicy teh cache entry.sudheerk84 Jan 21, 2011 7:22 AM (in response to sudheerk84)Looks liek teh issue coudl be with the size() method i use. Reading this - http://community.jboss.org/wiki/UsingtheCacheAPI#The_Cache_interface i found that the size may not give teh accurate size even though my cache is a local instance. 
- 
        2. Cache.put with Timespan doesnt evicy teh cache entry.mircea.markus Jan 21, 2011 1:09 PM (in response to sudheerk84)yep. Reading the actual value after expiration time(in your case 3millis) should return null. 
- 
        3. Cache.put with Timespan doesnt evicy teh cache entry.sudheerk84 Jan 24, 2011 4:35 AM (in response to mircea.markus)Yes Markus . I did try that it works fine. Thank you. I was writing a wrapper to the exact cache implementation and have decided not to give methods like size(), getKeys() etc which may not work in a distributed env, 
- 
        4. Cache.put with Timespan doesnt evicy teh cache entry.mircea.markus Jan 24, 2011 6:17 AM (in response to sudheerk84)
 
    