JBoss Community Archive (Read Only)

Infinispan 6.0

Why isn't there a notification for the expiration of a cache entry?

Infinispan does not guarantee that an eviction will occur immediately on timeout, but instead uses a number of mechanisms to perform eviction:

As the eviction is only guaranteed to happen some time later than the eviction timeout has elapsed, it has been decided that it is less surprising to not provide a callback than to provide a callback at this later point.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 09:41:24 UTC, last content change 2011-07-18 16:52:00 UTC.