-
1. Re: Expiration Event - value is null for entries in file store
william.burns Sep 9, 2019 10:39 AM (in response to gabboflabbo)Unfortunately, yes, this is expected behavior. For many of our stores it is much more costly to produce the value than just the key. Even the original design for expiration of stores doesn't contain a way to expose the value. infinispan/AdvancedCacheWriter.java at master · infinispan/infinispan · GitHub
I added a new interface a while back that a store can implement that allows this to work, providing value for expiration, however this is not implemented by all of our major stores. infinispan/AdvancedCacheExpirationWriter.java at master · infinispan/infinispan · GitHub
So to get this working, you can extend one of our supplied stores and implement the additional interface (which has the one method) or even send a PR to upstream that has change or you can log a JIRA