[infinispan-issues] [JBoss JIRA] Commented: (ISPN-694) Create Expiration Notification

Trustin Lee (JIRA) jira-events at lists.jboss.org
Thu Oct 21 08:11:54 EDT 2010


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

Trustin Lee commented on ISPN-694:
----------------------------------

The patch doesn't seem to notify the entries purged by CacheStore.purgeExpired().  Is it intended or just missed out?  If the entries purged by CacheStore.purgeExpired() should also be notified, it will also require a change in CacheStore API, which means this issue needs to be resolved in 5.0.

By the way, Instead of adding CacheNotifier parameter to purgeExpired(), I'd modify it to return the set of purged entries (i.e. Set<InternalCacheEntry>).

> Create Expiration Notification
> ------------------------------
>
>                 Key: ISPN-694
>                 URL: https://jira.jboss.org/browse/ISPN-694
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Eviction
>         Environment: any
>            Reporter: Edouard Boily
>            Assignee: Trustin Lee
>             Fix For: 4.2.0.BETA1, 4.2.0.Final
>
>         Attachments: 01.patch
>
>
> Create a CacheEntryExpired notification and make EvictionManager send this notification when a cache entry is evicted because it is expired.
> Also mage sure the cache entry value is sent over in the event.
> CacheEntryEvicted notification should also send the entry value in the event.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list