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

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Oct 21 08:46:54 EDT 2010


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

Manik Surtani commented on ISPN-694:
------------------------------------

@Trustin I would then defer this task.  Getting a cache store to return the entries purged is very expensive in some cases (e.g., the CloudCacheStore) which will result in remote calls to a cloud storage provider for each entry, plus deserialization, etc etc.  So in general, -1 for this notification to be emitted via CacheStore.purgeExpired().  But that leaves us with incomplete/inconsistent notifications for expired entries.  So again, -1 to this feature request/patch for now ... at least until there is a more workable solution proposed.

> 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