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
Eviction runs in the caller's thread, but expiration doesn't. They should be removed eventually.