1 Reply Latest reply on Feb 2, 2011 9:15 AM by Mircea Markus

    expiration policy

    itay hindy Newbie

      Hi,

       

      I have the next configuration for my cache:

          <namedCache name="chat_cache">

              <jmxStatistics enabled="true"/> 

              <expiration lifespan="60000" maxIdle="60000"/>  

              <invocationBatching enabled="true"/>

              <clustering mode="replication">

                  <async />

              </clustering>

          </namedCache>

       

      When I look at the cache statistics at the JMX i c that entries are not deleted even that they configure fo 60 seconds. Are those entries deleted in lazy way?

      The reason it is a problem is that I am getting an event notification when entry added to cache and I handle it, so I will never read those entries. When will those entries be deleted?

       

      Thanks in advance