[
https://issues.jboss.org/browse/ISPN-8331?page=com.atlassian.jira.plugin....
]
Paul Ferraro commented on ISPN-8331:
------------------------------------
[~william.burns] Why not PurgeListener.entryPurged(MarshalledEntry entry)?
That way both values and meta data are exposed, yet unmarshalled lazily.
CacheEntryExpiredEvent.getValue() is always null when entry expired
from cache store
------------------------------------------------------------------------------------
Key: ISPN-8331
URL:
https://issues.jboss.org/browse/ISPN-8331
Project: Infinispan
Issue Type: Enhancement
Components: Expiration
Affects Versions: 9.1.1.Final
Reporter: Paul Ferraro
AdvancedCacheWriter.PurgeListener callback only sends the key of the expired entry.
Proposal:
AdvancedCacheWriter.PurgeListener.entryPurged(MarshalledEntry entry);
This way, we only incur the cost of unmarshalling value/metadata when requested.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)