4 Replies Latest reply on Jul 19, 2010 3:42 AM by galder.zamarreno

    Expiration does not work - what is he problem?

    michal_szymanski

      When  I put ne element in cache I set expiration to 1s

       

         tokenCache.put('abc', token, 1, TimeUnit.SECONDS); 

       

      I've cheked in jconsole what are values after few seconds and evn after few minutes values of 'NumberOfEntries' did not change. I do not know where is funtionalty responsible for expiration but under JConsole I cannot find any Thread realted to infinispan.

      We are usiing Infinispan 4.1 under Tomcat+Axis2.