[infinispan-issues] [JBoss JIRA] (ISPN-8331) CacheEntryExpiredEvent.getValue() is always null when entry expired from cache store

Paul Ferraro (JIRA) issues at jboss.org
Tue Sep 26 06:52:01 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-8331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468496#comment-13468496 ] 

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)


More information about the infinispan-issues mailing list