It is possible, yes, but it will never be very accurate since entries are only tested for
whether they are expired in one of several ways:
1. A user thread asks for the entry and it has expired. It will then be removed.
2. The entry is passivated/overflowed to disk and it has expired. It will again be
removed.
3. An eviction maintenance thread kicks in and detects that it has expired. It will
again be removed.
So even if a notification is generated, it will not be generated at the time the entry
expired, but rather at the time Infinispan realises the entry has expired (which may be
later).
Also, what is the purpose of this? It does add quite a bit of overhead.
Cheers
Manik
On 18 Jun 2010, at 18:07, kapil nayar wrote:
Hi,
I don't see the notification for cache entry expired.
Is it on the roadmap / possible to support?
Thanks,
Kapil Nayar
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org