I have an app where Infinispan cache is used as an uderlying source for a realtime blotter. Entries in the cache/blotter are added and removed by the app and by the cache itself (removed) when when they expire (except the immortal ones). I am using write-through and the cache is exact copy of the cache store. Everything works fine apart from a missing feature. A way of Infinispan notifying the app when the entries get expired so that the app can update the blotter.
If you're reading everything through the cache API and not directly from the database, Infinispan makes sure that expired entries never reach you, i.e. you're on the safe side. Isn't this your use case?
am aware that Infinispan team don't want to implement this feature
Your request kind of make sense to me, was there any discussion you had on this topic with someone from ISPN?
First point answer is: YES. But I need to be notified when entries expire.
Second point answer is: NO. I don't know who/what ISPN is.
Markus, is the Infinispan team looking into implementing this fature? If so what are the timelines?
Otherwise what would the best way to achive the same outcome with currently available features of the product?